
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8499b88
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.0", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 907.968512, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 140, | |
"total": 1.002176672458649, | |
"mean": 0.007158404803276062, | |
"stdev": 0.0002322019430714897, | |
"p50": 0.0070763518810272215, | |
"p90": 0.007282687902450562, | |
"p95": 0.007918489789962768, | |
"p99": 0.008064624919891357, | |
"values": [ | |
0.008255488395690918, | |
0.007997439861297608, | |
0.008054816246032714, | |
0.008065024375915527, | |
0.007953407764434815, | |
0.007935999870300293, | |
0.00791756820678711, | |
0.008064000129699708, | |
0.007294976234436036, | |
0.007126016139984131, | |
0.007120895862579346, | |
0.007121920108795166, | |
0.00707583999633789, | |
0.007077888011932373, | |
0.007095295906066895, | |
0.00709939193725586, | |
0.007076863765716553, | |
0.007070720195770264, | |
0.007146495819091797, | |
0.007126016139984131, | |
0.007103487968444824, | |
0.007063551902770996, | |
0.007085055828094483, | |
0.007077888011932373, | |
0.007080959796905518, | |
0.0070348801612854, | |
0.007065599918365479, | |
0.007108607769012451, | |
0.007077888011932373, | |
0.00710041618347168, | |
0.007068672180175781, | |
0.007063551902770996, | |
0.007067647933959961, | |
0.0070594558715820314, | |
0.007036928176879883, | |
0.0070830078125, | |
0.0070830078125, | |
0.007291903972625732, | |
0.00739737606048584, | |
0.007251967906951904, | |
0.007280640125274658, | |
0.007278592109680176, | |
0.007280640125274658, | |
0.007262207984924316, | |
0.007255040168762207, | |
0.0070860800743103025, | |
0.007085055828094483, | |
0.007054336071014404, | |
0.007067647933959961, | |
0.007070720195770264, | |
0.0070974078178405765, | |
0.007058432102203369, | |
0.007044095993041993, | |
0.007058432102203369, | |
0.007072768211364746, | |
0.0070522880554199216, | |
0.007080959796905518, | |
0.0071188478469848635, | |
0.007061503887176514, | |
0.00704204797744751, | |
0.007077888011932373, | |
0.007070720195770264, | |
0.0070553598403930665, | |
0.0071198720932006835, | |
0.007075808048248291, | |
0.007046144008636474, | |
0.00709830379486084, | |
0.007028736114501953, | |
0.00704307222366333, | |
0.007060480117797851, | |
0.007030784130096435, | |
0.007015423774719238, | |
0.007046144008636474, | |
0.007117824077606201, | |
0.00714035177230835, | |
0.007070720195770264, | |
0.0070553598403930665, | |
0.0074741759300231934, | |
0.00728166389465332, | |
0.0073134078979492185, | |
0.007221248149871826, | |
0.0072540159225463864, | |
0.007214079856872559, | |
0.007251967906951904, | |
0.007216127872467041, | |
0.007165952205657959, | |
0.007046144008636474, | |
0.007024640083312988, | |
0.007045119762420654, | |
0.007103487968444824, | |
0.007070720195770264, | |
0.007071807861328125, | |
0.007046144008636474, | |
0.007098368167877197, | |
0.007095263957977295, | |
0.007014400005340577, | |
0.007057407855987549, | |
0.0070860800743103025, | |
0.007060480117797851, | |
0.0072130560874938965, | |
0.007073791980743408, | |
0.007064576148986816, | |
0.007061503887176514, | |
0.007072768211364746, | |
0.007088128089904785, | |
0.007087103843688965, | |
0.007066624164581299, | |
0.007106560230255127, | |
0.007058432102203369, | |
0.007038976192474365, | |
0.007464992046356201, | |
0.007074816226959229, | |
0.007065599918365479, | |
0.007097343921661377, | |
0.007038976192474365, | |
0.00704307222366333, | |
0.007067647933959961, | |
0.007045119762420654, | |
0.007027711868286133, | |
0.007053311824798584, | |
0.007088191986083984, | |
0.007095295906066895, | |
0.007035967826843262, | |
0.007046144008636474, | |
0.007071743965148926, | |
0.0070594558715820314, | |
0.007049215793609619, | |
0.007030784130096435, | |
0.007044095993041993, | |
0.007073791980743408, | |
0.007073791980743408, | |
0.007023615837097168, | |
0.007038976192474365, | |
0.0070522880554199216, | |
0.007087103843688965, | |
0.007069695949554444, | |
0.007039999961853028, | |
0.007267327785491944, | |
0.007243743896484375, | |
0.007123968124389648 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.69592772154314 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.619212321997074e-08, | |
"ram": 4.709335230275072e-08, | |
"gpu": 1.6702911913043247e-07, | |
"total": 3.0031459465315394e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3329841.4988953248 | |
} | |
} | |
} | |
} |