
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5983a54
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"model": "FacebookAI/roberta-base", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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, | |
"latency": true, | |
"memory": true, | |
"energy": true, | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 904.552448, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 0.998229921340942, | |
"mean": 0.006524378570855832, | |
"stdev": 0.00019073183596723473, | |
"p50": 0.006582272052764892, | |
"p90": 0.0067182593345642095, | |
"p95": 0.006765580940246582, | |
"p99": 0.006855843715667724, | |
"values": [ | |
0.007123968124389648, | |
0.006755328178405762, | |
0.006847487926483154, | |
0.006795263767242431, | |
0.006864895820617676, | |
0.006812672138214112, | |
0.00683513593673706, | |
0.00672764778137207, | |
0.006730751991271973, | |
0.006732800006866455, | |
0.0066641921997070315, | |
0.006687744140625, | |
0.006669312000274658, | |
0.0066344962120056155, | |
0.006631423950195312, | |
0.006638591766357422, | |
0.006556672096252441, | |
0.006615039825439453, | |
0.006668288230895996, | |
0.0066416640281677245, | |
0.006675456047058105, | |
0.0067123198509216305, | |
0.006648831844329834, | |
0.006662144184112549, | |
0.006652927875518798, | |
0.006591487884521485, | |
0.00667852783203125, | |
0.006673408031463623, | |
0.0066979842185974124, | |
0.006662144184112549, | |
0.006665215969085693, | |
0.006608895778656006, | |
0.006612927913665772, | |
0.006657023906707763, | |
0.0066641921997070315, | |
0.006647808074951172, | |
0.006582272052764892, | |
0.00652185583114624, | |
0.006510560035705566, | |
0.006573056221008301, | |
0.0065710082054138185, | |
0.006557695865631104, | |
0.006582272052764892, | |
0.006553599834442139, | |
0.006612991809844971, | |
0.006721536159515381, | |
0.006675456047058105, | |
0.006713344097137451, | |
0.006686719894409179, | |
0.006623231887817383, | |
0.0066713600158691405, | |
0.006606847763061524, | |
0.006642687797546387, | |
0.0066713600158691405, | |
0.00667955207824707, | |
0.006649856090545654, | |
0.00668668794631958, | |
0.006632512092590332, | |
0.0065823040008544925, | |
0.0066304001808166506, | |
0.0066447358131408694, | |
0.006591487884521485, | |
0.00667955207824707, | |
0.006703104019165039, | |
0.006534143924713135, | |
0.006555647850036621, | |
0.006719488143920899, | |
0.0065771517753601075, | |
0.006592512130737305, | |
0.006618112087249756, | |
0.006615039825439453, | |
0.0066375679969787596, | |
0.006696959972381592, | |
0.006675456047058105, | |
0.006687744140625, | |
0.006702079772949219, | |
0.006724607944488525, | |
0.006633471965789795, | |
0.00667852783203125, | |
0.006638559818267822, | |
0.006529024124145508, | |
0.006608895778656006, | |
0.006556672096252441, | |
0.0065484800338745115, | |
0.00643993616104126, | |
0.006302720069885254, | |
0.0065146880149841305, | |
0.0065781760215759275, | |
0.006348800182342529, | |
0.006269951820373535, | |
0.006302720069885254, | |
0.006285312175750732, | |
0.006303743839263916, | |
0.006502399921417237, | |
0.006594528198242187, | |
0.006603775978088379, | |
0.006685696125030518, | |
0.0067348480224609375, | |
0.006837247848510742, | |
0.006780960083007812, | |
0.0066938881874084475, | |
0.006576128005981445, | |
0.0064440321922302245, | |
0.006515711784362793, | |
0.006525951862335205, | |
0.006451200008392334, | |
0.006462463855743408, | |
0.006393856048583985, | |
0.006437888145446777, | |
0.0064737281799316405, | |
0.006377471923828125, | |
0.006437856197357178, | |
0.006220831871032715, | |
0.006261760234832763, | |
0.006248447895050049, | |
0.006238207817077636, | |
0.006293504238128662, | |
0.0062351679801940915, | |
0.00628326416015625, | |
0.006221824169158936, | |
0.0062791681289672855, | |
0.006288383960723877, | |
0.006251520156860352, | |
0.00628326416015625, | |
0.006243328094482422, | |
0.006266880035400391, | |
0.006259712219238281, | |
0.006280191898345947, | |
0.006306816101074219, | |
0.0065771517753601075, | |
0.006425600051879882, | |
0.00622489595413208, | |
0.006278143882751465, | |
0.006284287929534912, | |
0.006253568172454834, | |
0.006303743839263916, | |
0.006260735988616943, | |
0.006312960147857666, | |
0.006206463813781738, | |
0.0062679038047790524, | |
0.00626691198348999, | |
0.0062259202003479, | |
0.006302720069885254, | |
0.006227968215942382, | |
0.006253568172454834, | |
0.0062228479385375976, | |
0.006266880035400391, | |
0.006270976066589356, | |
0.006243328094482422, | |
0.0062679038047790524, | |
0.006221824169158936, | |
0.006266880035400391, | |
0.0062259202003479 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 153.2713022611785 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.461332405606906e-08, | |
"ram": 4.0660893359927287e-08, | |
"gpu": 1.3807649935000146e-07, | |
"total": 2.5335071676599776e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3947097.57590159 | |
} | |
} | |
} | |
} |