IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ec3d936
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1042.702336, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47088.357376, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.13008251953125, | |
"mean": 8.13008251953125, | |
"stdev": 0.0, | |
"p50": 8.13008251953125, | |
"p90": 8.13008251953125, | |
"p95": 8.13008251953125, | |
"p99": 8.13008251953125, | |
"values": [ | |
8.13008251953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1160.17152, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 197721.300992, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 131, | |
"total": 0.9981540052890778, | |
"mean": 0.007619496223580747, | |
"stdev": 0.0014987129447487843, | |
"p50": 0.00725117301940918, | |
"p90": 0.008231008529663086, | |
"p95": 0.008570528030395508, | |
"p99": 0.013577548599243134, | |
"values": [ | |
0.008674206733703614, | |
0.008585087776184082, | |
0.00863228702545166, | |
0.008388928413391113, | |
0.008555968284606934, | |
0.007855490207672119, | |
0.009673563957214356, | |
0.008352448463439941, | |
0.008198848724365234, | |
0.00819900894165039, | |
0.008148929595947266, | |
0.008140448570251466, | |
0.008148129463195802, | |
0.008126529693603515, | |
0.008098690032958985, | |
0.008143649101257325, | |
0.008130049705505371, | |
0.008142210006713868, | |
0.008156929016113281, | |
0.008137248992919921, | |
0.008169729232788086, | |
0.00794556999206543, | |
0.007572772026062012, | |
0.007653251171112061, | |
0.019117847442626953, | |
0.002502070903778076, | |
0.004537423133850097, | |
0.007406373023986817, | |
0.007520771980285644, | |
0.007641410827636719, | |
0.007451811790466309, | |
0.007768290996551514, | |
0.007404771804809571, | |
0.007210692882537842, | |
0.007191173076629639, | |
0.0071705331802368166, | |
0.007206693172454834, | |
0.007269093036651611, | |
0.007257091999053955, | |
0.00720477294921875, | |
0.00725117301940918, | |
0.007231173038482666, | |
0.007245573043823242, | |
0.0072090930938720705, | |
0.007230852127075195, | |
0.007194212913513184, | |
0.007199973106384277, | |
0.007208133220672607, | |
0.007193733215332032, | |
0.007203492164611816, | |
0.007207812786102295, | |
0.007193412780761719, | |
0.007207013130187988, | |
0.007183493137359619, | |
0.007189413070678711, | |
0.007189413070678711, | |
0.007166372776031494, | |
0.007157413005828858, | |
0.007179492950439453, | |
0.007183012962341309, | |
0.007201252937316894, | |
0.007178853034973145, | |
0.007195652961730957, | |
0.007456451892852783, | |
0.0071833329200744625, | |
0.007169413089752197, | |
0.007240932941436767, | |
0.007234693050384522, | |
0.007247491836547852, | |
0.00719437313079834, | |
0.01175307559967041, | |
0.003577265977859497, | |
0.007217732906341553, | |
0.007228932857513428, | |
0.007195493221282959, | |
0.00719661283493042, | |
0.007227492809295654, | |
0.007222853183746338, | |
0.007240293025970459, | |
0.007657890796661377, | |
0.0075023708343505855, | |
0.007371013164520264, | |
0.007421412944793701, | |
0.007295972824096679, | |
0.007194532871246338, | |
0.007201413154602051, | |
0.007189892768859864, | |
0.00719661283493042, | |
0.0072372531890869144, | |
0.007241252899169922, | |
0.007268931865692139, | |
0.007191812992095948, | |
0.007215972900390625, | |
0.0072017331123352055, | |
0.007241093158721924, | |
0.007220293045043945, | |
0.007195652961730957, | |
0.007194532871246338, | |
0.007211331844329834, | |
0.007233413219451904, | |
0.00722333288192749, | |
0.007239013195037842, | |
0.00727405309677124, | |
0.007221733093261719, | |
0.007164933204650879, | |
0.007212613105773926, | |
0.00790077018737793, | |
0.008210688591003419, | |
0.008428447723388672, | |
0.008164289474487305, | |
0.008144289970397948, | |
0.00817068862915039, | |
0.008068609237670898, | |
0.007605251789093018, | |
0.007897570133209228, | |
0.014359465599060059, | |
0.003393907070159912, | |
0.008394687652587891, | |
0.008245569229125976, | |
0.008175168991088867, | |
0.008231008529663086, | |
0.008179489135742188, | |
0.008170848846435546, | |
0.008151490211486817, | |
0.007807809829711914, | |
0.007572132110595703, | |
0.00760557222366333, | |
0.007517251968383789, | |
0.007340132236480713, | |
0.007251011848449707, | |
0.007270533084869385 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.24227254096002 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |