
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fc86c03
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", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 907.825152, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.039104 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9964640641212459, | |
"mean": 0.00743629898597945, | |
"stdev": 0.0004721987023954908, | |
"p50": 0.007364607810974121, | |
"p90": 0.007626854372024536, | |
"p95": 0.007858073639869689, | |
"p99": 0.009967995014190658, | |
"values": [ | |
0.011006976127624512, | |
0.010377216339111327, | |
0.009137151718139648, | |
0.007746560096740723, | |
0.0076687359809875484, | |
0.0076574721336364745, | |
0.007617536067962646, | |
0.0076308479309082035, | |
0.0081080322265625, | |
0.007275519847869873, | |
0.007077888011932373, | |
0.007107583999633789, | |
0.007046144008636474, | |
0.00709222412109375, | |
0.007062528133392334, | |
0.00709939193725586, | |
0.00709119987487793, | |
0.007093247890472412, | |
0.007072768211364746, | |
0.00704307222366333, | |
0.007015423774719238, | |
0.006973440170288086, | |
0.007103487968444824, | |
0.007045119762420654, | |
0.007136256217956543, | |
0.007041088104248047, | |
0.0073820161819458, | |
0.007327936172485352, | |
0.007310336112976074, | |
0.00728879976272583, | |
0.007324672222137451, | |
0.007294976234436036, | |
0.007291903972625732, | |
0.007308288097381592, | |
0.007302144050598145, | |
0.007268352031707764, | |
0.007294943809509277, | |
0.007324672222137451, | |
0.007408639907836914, | |
0.007352320194244385, | |
0.007394303798675537, | |
0.007357439994812012, | |
0.007788544178009033, | |
0.007409664154052734, | |
0.007431168079376221, | |
0.007363584041595459, | |
0.007413760185241699, | |
0.007445504188537597, | |
0.00744755220413208, | |
0.007475200176239013, | |
0.007402495861053467, | |
0.007363584041595459, | |
0.007364607810974121, | |
0.007395328044891358, | |
0.007400447845458984, | |
0.007393280029296875, | |
0.007351327896118164, | |
0.0073820161819458, | |
0.007373824119567871, | |
0.007373824119567871, | |
0.007386112213134765, | |
0.007387135982513428, | |
0.007371776103973389, | |
0.007383039951324463, | |
0.007387135982513428, | |
0.007378943920135498, | |
0.007987199783325195, | |
0.0073820161819458, | |
0.007334911823272705, | |
0.007636991977691651, | |
0.008459263801574708, | |
0.007747583866119385, | |
0.007561215877532959, | |
0.007278592109680176, | |
0.007296000003814697, | |
0.007414783954620361, | |
0.007349247932434082, | |
0.00738099193572998, | |
0.0074035201072692874, | |
0.007373824119567871, | |
0.0073820161819458, | |
0.00740556812286377, | |
0.007393280029296875, | |
0.007372799873352051, | |
0.007332863807678222, | |
0.007356416225433349, | |
0.007356416225433349, | |
0.007392255783081054, | |
0.007390207767486572, | |
0.007404607772827148, | |
0.007363584041595459, | |
0.007489535808563232, | |
0.00739737606048584, | |
0.007422976016998291, | |
0.007372799873352051, | |
0.007385087966918945, | |
0.007345151901245117, | |
0.007345215797424316, | |
0.007364607810974121, | |
0.007373824119567871, | |
0.007390207767486572, | |
0.007372799873352051, | |
0.007352320194244385, | |
0.007311359882354736, | |
0.007328767776489258, | |
0.007352320194244385, | |
0.00733081579208374, | |
0.007426047801971435, | |
0.00732473611831665, | |
0.007333888053894043, | |
0.007315423965454102, | |
0.007336959838867187, | |
0.007364607810974121, | |
0.007363584041595459, | |
0.007374847888946533, | |
0.007393280029296875, | |
0.007334911823272705, | |
0.007368703842163086, | |
0.007360511779785156, | |
0.008035327911376953, | |
0.007392255783081054, | |
0.007345215797424316, | |
0.007354368209838867, | |
0.007354368209838867, | |
0.007345151901245117, | |
0.007387135982513428, | |
0.007355391979217529, | |
0.007375872135162354, | |
0.007417856216430664, | |
0.0073431038856506346, | |
0.007319551944732666, | |
0.007349247932434082, | |
0.0073400321006774905, | |
0.007331840038299561 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.47549673371395 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.378019192035956e-08, | |
"ram": 4.56621806157452e-08, | |
"gpu": 1.575764171408435e-07, | |
"total": 2.870187896769483e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3484092.4565445418 | |
} | |
} | |
} | |
} |