
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2b8ead7
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.289728, | |
"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.167424, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993536 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 0.9992823338508603, | |
"mean": 0.006661882225672404, | |
"stdev": 0.00011260178199085482, | |
"p50": 0.00662988805770874, | |
"p90": 0.006783209466934204, | |
"p95": 0.006866124868392945, | |
"p99": 0.0069996646404266345, | |
"values": [ | |
0.0070553598403930665, | |
0.006874112129211426, | |
0.006867968082427979, | |
0.006900735855102539, | |
0.006880256175994873, | |
0.006855679988861084, | |
0.006849535942077637, | |
0.00682700777053833, | |
0.0068321280479431154, | |
0.006752255916595459, | |
0.006778880119323731, | |
0.007559167861938477, | |
0.006863872051239014, | |
0.006654975891113281, | |
0.006713344097137451, | |
0.006657023906707763, | |
0.006621183872222901, | |
0.006644703865051269, | |
0.006669312000274658, | |
0.006941696166992187, | |
0.006669312000274658, | |
0.0067123198509216305, | |
0.0067358717918396, | |
0.006681600093841553, | |
0.006631423950195312, | |
0.006624256134033203, | |
0.006622208118438721, | |
0.006616064071655273, | |
0.006635519981384277, | |
0.0066119680404663084, | |
0.006614016056060791, | |
0.006645760059356689, | |
0.006616064071655273, | |
0.006618112087249756, | |
0.006732800006866455, | |
0.006642687797546387, | |
0.0066007041931152345, | |
0.006744063854217529, | |
0.006623231887817383, | |
0.00662937593460083, | |
0.0067010560035705566, | |
0.006602752208709717, | |
0.006626304149627686, | |
0.006631423950195312, | |
0.006598656177520752, | |
0.00658739185333252, | |
0.006645760059356689, | |
0.006529024124145508, | |
0.006534143924713135, | |
0.006612991809844971, | |
0.006706175804138184, | |
0.006773727893829346, | |
0.006661119937896728, | |
0.0065771517753601075, | |
0.0066416640281677245, | |
0.006628352165222168, | |
0.006586304187774658, | |
0.006584320068359375, | |
0.006676479816436768, | |
0.006620160102844238, | |
0.006606847763061524, | |
0.00658022403717041, | |
0.006622208118438721, | |
0.006594560146331787, | |
0.006628352165222168, | |
0.006608831882476807, | |
0.006707200050354004, | |
0.0066078720092773435, | |
0.006616064071655273, | |
0.006781983852386475, | |
0.006666240215301514, | |
0.006589439868927002, | |
0.006632448196411133, | |
0.006609920024871826, | |
0.0066406397819519045, | |
0.006606847763061524, | |
0.006606847763061524, | |
0.0066304001808166506, | |
0.006608895778656006, | |
0.006625279903411865, | |
0.0066826238632202144, | |
0.006647808074951172, | |
0.006652927875518798, | |
0.006627327919006347, | |
0.006650879859924317, | |
0.006653952121734619, | |
0.006642687797546387, | |
0.006618112087249756, | |
0.006603712081909179, | |
0.006602752208709717, | |
0.006686719894409179, | |
0.006562816143035889, | |
0.00658739185333252, | |
0.006575104236602783, | |
0.006700096130371094, | |
0.00659555196762085, | |
0.006659071922302246, | |
0.006608895778656006, | |
0.006614016056060791, | |
0.006653952121734619, | |
0.006638591766357422, | |
0.00676966381072998, | |
0.006650879859924317, | |
0.00662937593460083, | |
0.006653952121734619, | |
0.006609920024871826, | |
0.006589439868927002, | |
0.0066744318008422855, | |
0.006663167953491211, | |
0.0065771517753601075, | |
0.006668288230895996, | |
0.006806528091430664, | |
0.006662144184112549, | |
0.00662937593460083, | |
0.006654975891113281, | |
0.006595583915710449, | |
0.006633471965789795, | |
0.006597631931304931, | |
0.006595583915710449, | |
0.006627327919006347, | |
0.0066375679969787596, | |
0.006599679946899414, | |
0.006606847763061524, | |
0.006592512130737305, | |
0.006590464115142822, | |
0.006603775978088379, | |
0.006617087841033936, | |
0.006589439868927002, | |
0.006635519981384277, | |
0.0066416640281677245, | |
0.006592512130737305, | |
0.0066119680404663084, | |
0.0066007041931152345, | |
0.006920191764831543, | |
0.006643712043762207, | |
0.006617087841033936, | |
0.006606847763061524, | |
0.006588319778442383, | |
0.006606847763061524, | |
0.0066344962120056155, | |
0.0066304001808166506, | |
0.0066334400177001955, | |
0.006605823993682861, | |
0.00679423999786377, | |
0.006636544227600098, | |
0.006574079990386963, | |
0.006593535900115967, | |
0.006649856090545654, | |
0.00658022403717041, | |
0.006590432167053223 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 150.10772723456049 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.900949499026392e-08, | |
"ram": 4.306881514576784e-08, | |
"gpu": 1.381733997218572e-07, | |
"total": 2.6025170985788897e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3842433.928853156 | |
} | |
} | |
} | |
} |