IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
36033e8 verified
raw
history blame
10.7 kB
{
"config": {
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+rocm6.1",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"model": "FacebookAI/roberta-base",
"processor": "FacebookAI/roberta-base",
"device": "cuda",
"device_ids": "4",
"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": "warn",
"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]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"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": 1388.060672,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.374592
},
"latency": {
"unit": "s",
"count": 1,
"total": 10.5855478515625,
"mean": 10.5855478515625,
"stdev": 0.0,
"p50": 10.5855478515625,
"p90": 10.5855478515625,
"p95": 10.5855478515625,
"p99": 10.5855478515625,
"values": [
10.5855478515625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1517.735936,
"max_global_vram": 68702.69952,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.4432
},
"latency": {
"unit": "s",
"count": 115,
"total": 1.0000426321029665,
"mean": 0.00869602288785188,
"stdev": 0.0007176029213401771,
"p50": 0.008611010551452638,
"p90": 0.008837728881835937,
"p95": 0.008944529628753662,
"p99": 0.00939737615585327,
"values": [
0.008838048934936523,
0.00868908977508545,
0.008853889465332032,
0.0087495698928833,
0.008975329399108887,
0.008725890159606934,
0.008778529167175293,
0.008762849807739257,
0.008837248802185059,
0.009398048400878906,
0.0093932466506958,
0.008693889617919922,
0.008655969619750976,
0.008646050453186034,
0.008640769958496095,
0.008660289764404297,
0.00859165096282959,
0.008552290916442872,
0.008573410034179687,
0.008498371124267578,
0.008571809768676757,
0.008536291122436524,
0.008566690444946288,
0.01595018482208252,
0.006864935874938965,
0.008561250686645507,
0.008521410942077636,
0.008538371086120605,
0.008543971061706544,
0.008517410278320313,
0.008546530723571777,
0.008633729934692382,
0.008549249649047852,
0.008715649604797364,
0.008628769874572754,
0.008580930709838867,
0.008577091217041016,
0.008584449768066407,
0.008534050941467286,
0.008519170761108398,
0.00856013011932373,
0.008522050857543945,
0.008562689781188964,
0.008643969535827637,
0.008668450355529786,
0.008742690086364746,
0.00859628963470459,
0.008644769668579102,
0.008629891395568847,
0.008611010551452638,
0.008607970237731934,
0.008631970405578613,
0.00854269027709961,
0.008582210540771485,
0.008821728706359864,
0.008685090065002442,
0.00866493034362793,
0.008690850257873535,
0.008754850387573242,
0.008698369979858398,
0.008619171142578125,
0.008652290344238282,
0.0087542085647583,
0.008983809471130371,
0.009020769119262695,
0.00888460922241211,
0.008775489807128906,
0.008788768768310546,
0.008859490394592285,
0.008849729537963867,
0.00874573040008545,
0.008931329727172851,
0.008781888961791991,
0.008757410049438476,
0.008781089782714843,
0.008718850135803223,
0.008809089660644531,
0.008797088623046874,
0.008635170936584472,
0.008666050910949708,
0.008587970733642578,
0.008517250061035157,
0.00851629066467285,
0.008535810470581055,
0.008470531463623046,
0.008491650581359863,
0.008496451377868652,
0.008452771186828613,
0.008526049613952636,
0.008438370704650878,
0.008439170837402343,
0.008457891464233399,
0.00847533130645752,
0.008485891342163087,
0.008743969917297364,
0.008791970252990724,
0.00866989040374756,
0.008669249534606934,
0.008643329620361328,
0.008550531387329101,
0.00858413028717041,
0.008511330604553223,
0.008484930992126464,
0.008469250679016114,
0.008580129623413086,
0.008507810592651367,
0.008546851158142089,
0.008551010131835938,
0.008522690773010254,
0.008553250312805176,
0.008508610725402831,
0.008534210205078125,
0.008470370292663574,
0.008543490409851074,
0.008483171463012695
]
},
"throughput": {
"unit": "samples/s",
"value": 114.99509751716204
},
"energy": null,
"efficiency": null
}
}
}