
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6107cd9
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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": "0", | |
"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": 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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": "1.22.0", | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 803.024896, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.372544 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
8.01625 | |
], | |
"count": 1, | |
"total": 8.01625, | |
"mean": 8.01625, | |
"p50": 8.01625, | |
"p90": 8.01625, | |
"p95": 8.01625, | |
"p99": 8.01625, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.718196654929974e-07, | |
"ram": 4.5901883382660706e-07, | |
"gpu": 1.651945765734908e-06, | |
"total": 2.982784265054512e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1099.644928, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007646207809448242, | |
0.007516191959381103, | |
0.007424032211303711, | |
0.0078438401222229, | |
0.007967743873596191, | |
0.0076984319686889645, | |
0.007762944221496582, | |
0.007753727912902832, | |
0.007824384212493896, | |
0.007781280040740967, | |
0.007804927825927735, | |
0.0076943359375, | |
0.007607295989990235, | |
0.007663616180419922, | |
0.007702527999877929, | |
0.007670783996582031, | |
0.00778547191619873, | |
0.00781004810333252, | |
0.0076943359375, | |
0.00738809585571289, | |
0.0074670081138610836, | |
0.0074291200637817386, | |
0.007392255783081054, | |
0.00743833589553833, | |
0.007482367992401123, | |
0.007452672004699707, | |
0.007415808200836181, | |
0.007983104228973388, | |
0.007814144134521485, | |
0.007935999870300293, | |
0.007938047885894776, | |
0.007790592193603516, | |
0.007795711994171142, | |
0.007631872177124023, | |
0.007597152233123779, | |
0.00762063980102539, | |
0.008020992279052735, | |
0.007840767860412597, | |
0.007634943962097168, | |
0.007656288146972656, | |
0.007619487762451172, | |
0.007607295989990235, | |
0.00773529577255249, | |
0.00785100793838501, | |
0.007693312168121338, | |
0.007379968166351319, | |
0.007384064197540283, | |
0.007493631839752197, | |
0.007477248191833496, | |
0.00745472002029419, | |
0.007409664154052734, | |
0.00742195177078247, | |
0.0073768959045410155, | |
0.007416831970214844, | |
0.007398399829864502, | |
0.007547904014587403, | |
0.007817215919494629, | |
0.007773183822631836, | |
0.007588863849639893, | |
0.007473152160644531, | |
0.007456768035888672, | |
0.007642111778259277, | |
0.0073400321006774905, | |
0.007345151901245117, | |
0.007472127914428711, | |
0.0073175358772277835, | |
0.007605247974395752, | |
0.0075970559120178225, | |
0.007560192108154297, | |
0.007622655868530274, | |
0.007772160053253174, | |
0.007469056129455566, | |
0.007393280029296875, | |
0.007401504039764404, | |
0.00744652795791626, | |
0.007412799835205078, | |
0.007515135765075683, | |
0.007491583824157715, | |
0.007404543876647949, | |
0.007322624206542969, | |
0.007395328044891358, | |
0.007412735939025879, | |
0.007368703842163086, | |
0.007366687774658203, | |
0.007391232013702393, | |
0.007243775844573975, | |
0.007261087894439697, | |
0.007325695991516113, | |
0.007295936107635498, | |
0.0073431038856506346, | |
0.0072979841232299805, | |
0.007308288097381592, | |
0.007235583782196045, | |
0.007302144050598145, | |
0.007309311866760254, | |
0.007362559795379638, | |
0.007400447845458984, | |
0.007310336112976074, | |
0.007303103923797607, | |
0.007332863807678222, | |
0.007375872135162354, | |
0.007352320194244385, | |
0.007337984085083008, | |
0.007333888053894043, | |
0.007386112213134765, | |
0.007371776103973389, | |
0.007376832008361816, | |
0.0074024639129638675, | |
0.007294976234436036, | |
0.007362656116485596, | |
0.00724889612197876, | |
0.007359488010406494, | |
0.0074650559425354, | |
0.007605247974395752, | |
0.007725088119506836, | |
0.007290880203247071, | |
0.007308191776275634, | |
0.0072550721168518064, | |
0.007304192066192627, | |
0.007279615879058838, | |
0.007263232231140137, | |
0.007299071788787842, | |
0.007325695991516113, | |
0.007268352031707764, | |
0.007334911823272705, | |
0.007296895980834961, | |
0.007305215835571289, | |
0.007349247932434082, | |
0.007337984085083008, | |
0.007270400047302246, | |
0.007355391979217529, | |
0.007292928218841553, | |
0.007315455913543701 | |
], | |
"count": 133, | |
"total": 0.9969045433998107, | |
"mean": 0.007495522882705344, | |
"p50": 0.007416831970214844, | |
"p90": 0.007794688034057617, | |
"p95": 0.007841996765136718, | |
"p99": 0.007978188915252685, | |
"stdev": 0.0001953802249105643, | |
"stdev_": 2.60662568800065 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.4129740711394 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.365541073975855e-08, | |
"ram": 4.571517253998218e-08, | |
"gpu": 1.5770552522416165e-07, | |
"total": 2.8707610850390235e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3483396.8079458154 | |
} | |
} | |
} | |
} |