
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fc5fd1a
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", | |
"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": 909.422592, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 1.0012953577041628, | |
"mean": 0.007585570891698201, | |
"stdev": 0.0002841699305591639, | |
"p50": 0.007668224096298217, | |
"p90": 0.007862374210357665, | |
"p95": 0.007943614244461059, | |
"p99": 0.008483696947097778, | |
"values": [ | |
0.008058879852294922, | |
0.007662720203399658, | |
0.008749055862426757, | |
0.007955423831939697, | |
0.007969791889190675, | |
0.007962624073028564, | |
0.007933951854705811, | |
0.007725056171417236, | |
0.007747583866119385, | |
0.00778547191619873, | |
0.0077578239440917966, | |
0.007767039775848389, | |
0.00773632001876831, | |
0.007711743831634522, | |
0.007616511821746826, | |
0.007279615879058838, | |
0.007471039772033692, | |
0.0078438401222229, | |
0.007753632068634033, | |
0.007814144134521485, | |
0.00774451208114624, | |
0.0077506561279296875, | |
0.007791584014892578, | |
0.007796671867370606, | |
0.007739424228668213, | |
0.007844863891601562, | |
0.007780352115631104, | |
0.007775231838226319, | |
0.007806975841522217, | |
0.0078919677734375, | |
0.007772160053253174, | |
0.007751679897308349, | |
0.007585792064666748, | |
0.007580671787261963, | |
0.00758681583404541, | |
0.007619487762451172, | |
0.007662591934204102, | |
0.007726079940795898, | |
0.007706624031066894, | |
0.007929823875427245, | |
0.007787519931793213, | |
0.00774348783493042, | |
0.007778304100036621, | |
0.007745535850524903, | |
0.007701504230499268, | |
0.007716864109039307, | |
0.007666687965393066, | |
0.007730175971984863, | |
0.007704512119293213, | |
0.007787519931793213, | |
0.007742464065551758, | |
0.007729152202606201, | |
0.007678976058959961, | |
0.007883776187896728, | |
0.007874559879302979, | |
0.007684095859527588, | |
0.007669760227203369, | |
0.007840767860412597, | |
0.007777279853820801, | |
0.007767039775848389, | |
0.0077506561279296875, | |
0.007710720062255859, | |
0.00773529577255249, | |
0.007905248165130616, | |
0.007841792106628418, | |
0.008134655952453614, | |
0.008640512466430664, | |
0.007764992237091065, | |
0.00779366397857666, | |
0.007708672046661377, | |
0.007721951961517334, | |
0.007712768077850342, | |
0.007646143913269043, | |
0.007484416007995606, | |
0.007401472091674805, | |
0.007643136024475097, | |
0.007558144092559814, | |
0.007370751857757568, | |
0.007357439994812012, | |
0.007469056129455566, | |
0.00749567985534668, | |
0.007700479984283447, | |
0.0075980801582336424, | |
0.007828479766845703, | |
0.007789631843566894, | |
0.007864319801330566, | |
0.007464960098266602, | |
0.007332863807678222, | |
0.007337855815887451, | |
0.007358431816101074, | |
0.007311359882354736, | |
0.007307199954986572, | |
0.007226367950439453, | |
0.007238656044006348, | |
0.007204864025115967, | |
0.007241727828979493, | |
0.007230463981628418, | |
0.0072765440940856935, | |
0.007280640125274658, | |
0.0072765440940856935, | |
0.007222271919250488, | |
0.007259136199951172, | |
0.007227359771728515, | |
0.00719155216217041, | |
0.007201791763305664, | |
0.007277567863464355, | |
0.007245888233184814, | |
0.007255040168762207, | |
0.0072724480628967286, | |
0.007244800090789795, | |
0.00729702377319336, | |
0.007303167819976806, | |
0.007294976234436036, | |
0.007250944137573242, | |
0.0072540159225463864, | |
0.007358463764190673, | |
0.007269375801086426, | |
0.007256063938140869, | |
0.007256063938140869, | |
0.007268352031707764, | |
0.007260159969329834, | |
0.0073471999168395995, | |
0.007288832187652588, | |
0.007258111953735351, | |
0.007357503890991211, | |
0.007308288097381592, | |
0.007288832187652588, | |
0.007291903972625732, | |
0.007279615879058838, | |
0.007169023990631103, | |
0.007181312084197998, | |
0.007185408115386963 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.82923398612223 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.253731799346429e-08, | |
"ram": 4.5120448339730496e-08, | |
"gpu": 1.543037499861105e-07, | |
"total": 2.819615163193053e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3546583.282193579 | |
} | |
} | |
} | |
} |