IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a444227 verified
raw
history blame
10.5 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1384.710144,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.72025439453125,
"mean": 7.72025439453125,
"stdev": 0.0,
"p50": 7.72025439453125,
"p90": 7.72025439453125,
"p95": 7.72025439453125,
"p99": 7.72025439453125,
"values": [
7.72025439453125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1510.25664,
"max_global_vram": 0.0,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.5072
},
"latency": {
"unit": "s",
"count": 121,
"total": 0.9995409755706787,
"mean": 0.008260669219592386,
"stdev": 0.00037755664228431376,
"p50": 0.008145094871520996,
"p90": 0.008546053886413574,
"p95": 0.008649733543395996,
"p99": 0.009198052406311035,
"values": [
0.008545093536376953,
0.008365573883056641,
0.008546053886413574,
0.008647334098815919,
0.00901837158203125,
0.008649733543395996,
0.008639814376831055,
0.008643653869628906,
0.008459814071655273,
0.008419014930725098,
0.008383813858032227,
0.008406214714050293,
0.00835069465637207,
0.008327175140380859,
0.00824045467376709,
0.008106855392456055,
0.008129095077514649,
0.008127495765686036,
0.008187335968017578,
0.008145094871520996,
0.008198214530944823,
0.008251495361328125,
0.008183494567871093,
0.008185415267944337,
0.008207815170288086,
0.008247654914855957,
0.011565725326538085,
0.008312294006347656,
0.00821357536315918,
0.008197895050048828,
0.008309735298156738,
0.008152774810791016,
0.00815965461730957,
0.008135496139526367,
0.008137575149536133,
0.008166854858398437,
0.008166375160217286,
0.008154054641723633,
0.008111335754394532,
0.008105895042419434,
0.008122855186462403,
0.008099016189575195,
0.008162694931030274,
0.008104615211486817,
0.00809709644317627,
0.008079976081848144,
0.008097894668579101,
0.008120615959167481,
0.008170056343078613,
0.008152295112609863,
0.008117895126342773,
0.008127175331115722,
0.00813421630859375,
0.008136775016784668,
0.008176295280456543,
0.008159495353698731,
0.008179015159606933,
0.008101896286010742,
0.008125576019287109,
0.008128774642944337,
0.008081255912780761,
0.008094856262207031,
0.008088134765625,
0.008110376358032226,
0.008112456321716309,
0.008114375114440919,
0.008101736068725586,
0.008118696212768554,
0.008112935066223145,
0.008158855438232422,
0.008136136054992676,
0.008129096031188965,
0.008158855438232422,
0.008120615005493164,
0.008095975875854491,
0.008130375862121581,
0.008114054679870605,
0.008124935150146484,
0.008134856224060058,
0.00819661521911621,
0.008129255294799805,
0.008297574996948243,
0.00834205436706543,
0.008128456115722656,
0.008094855308532715,
0.008146055221557617,
0.00808445644378662,
0.008063976287841796,
0.008102854728698731,
0.008092776298522949,
0.008046534538269043,
0.008044936180114747,
0.008055974960327148,
0.00826701545715332,
0.008296935081481934,
0.008341733932495116,
0.00806173610687256,
0.008066214561462403,
0.008059656143188477,
0.008307015419006348,
0.008125096321105958,
0.008150215148925782,
0.008115015029907226,
0.008079815864562988,
0.008093894958496094,
0.008080615043640136,
0.008118696212768554,
0.008184294700622558,
0.00816989517211914,
0.008299015045166015,
0.008273573875427246,
0.008321894645690917,
0.008097414970397948,
0.00811181640625,
0.00813389492034912,
0.008836133003234863,
0.009183972358703614,
0.009201572418212891,
0.009179812431335449,
0.008590373992919922,
0.008632452964782714
]
},
"throughput": {
"unit": "samples/s",
"value": 121.05556746277077
},
"energy": null,
"efficiency": null
}
}
}