IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8720d98
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "5", | |
"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": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1032.994816, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 43087.44192, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.56529248046875, | |
"mean": 7.56529248046875, | |
"stdev": 0.0, | |
"p50": 7.56529248046875, | |
"p90": 7.56529248046875, | |
"p95": 7.56529248046875, | |
"p99": 7.56529248046875, | |
"values": [ | |
7.56529248046875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1150.570496, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 182939.971584, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9965392861366271, | |
"mean": 0.007381772489900942, | |
"stdev": 0.0004266711783163913, | |
"p50": 0.0072833352088928225, | |
"p90": 0.007777349185943604, | |
"p95": 0.008137891674041747, | |
"p99": 0.008593951301574705, | |
"values": [ | |
0.007387175083160401, | |
0.007376453876495361, | |
0.007601093769073486, | |
0.0077748532295227055, | |
0.007769573211669922, | |
0.008051332473754882, | |
0.00779597282409668, | |
0.00767181396484375, | |
0.0075868539810180664, | |
0.007576774120330811, | |
0.007502694129943848, | |
0.007506693840026855, | |
0.007488133907318115, | |
0.007471814155578614, | |
0.007460134029388428, | |
0.007393734931945801, | |
0.007408453941345215, | |
0.00741629409790039, | |
0.007407014846801758, | |
0.0074583740234375, | |
0.007464774131774902, | |
0.0074278140068054195, | |
0.007405895233154297, | |
0.00736429500579834, | |
0.007435654163360596, | |
0.007484293937683105, | |
0.007611174106597901, | |
0.0076786928176879885, | |
0.00759869384765625, | |
0.007599654197692871, | |
0.00878125, | |
0.007439174175262451, | |
0.006938216209411621, | |
0.0069118161201477055, | |
0.006947656154632568, | |
0.006912775993347168, | |
0.006930857181549072, | |
0.006925416946411133, | |
0.0069361371994018555, | |
0.006929576873779297, | |
0.006980616092681885, | |
0.006947015762329102, | |
0.006933095932006836, | |
0.006950695991516113, | |
0.006945896148681641, | |
0.006937416076660157, | |
0.006930056095123291, | |
0.006939335823059082, | |
0.0069575757980346676, | |
0.006921895980834961, | |
0.006927175998687744, | |
0.006935815811157226, | |
0.006943336009979248, | |
0.006937096118927002, | |
0.006967175960540772, | |
0.006956456184387207, | |
0.00696397590637207, | |
0.010600443840026855, | |
0.007451333999633789, | |
0.00724861478805542, | |
0.0072642951011657715, | |
0.007255815029144287, | |
0.0072556548118591305, | |
0.0072950139045715335, | |
0.007218695163726806, | |
0.0072361350059509276, | |
0.007240294933319092, | |
0.00729661512374878, | |
0.007243814945220947, | |
0.007294855117797852, | |
0.007305893898010254, | |
0.00729661512374878, | |
0.00728077507019043, | |
0.007295814990997315, | |
0.007250054836273194, | |
0.00727965497970581, | |
0.007255974769592285, | |
0.007259815216064453, | |
0.007309895038604736, | |
0.007230374813079834, | |
0.007274855136871338, | |
0.007274535179138184, | |
0.0072482948303222655, | |
0.007488614082336426, | |
0.007250374794006348, | |
0.007263814926147461, | |
0.007276295185089111, | |
0.007295814990997315, | |
0.007286533832550048, | |
0.007266214847564697, | |
0.007271975040435791, | |
0.0072454152107238766, | |
0.007277094841003418, | |
0.007260934829711914, | |
0.007267495155334472, | |
0.0072794947624206545, | |
0.0072710151672363285, | |
0.007243655204772949, | |
0.007231015205383301, | |
0.0072623748779296875, | |
0.007202374935150147, | |
0.007244935035705566, | |
0.007215495109558105, | |
0.00721853494644165, | |
0.007159016132354736, | |
0.0072058959007263185, | |
0.007249575138092041, | |
0.007631653785705566, | |
0.008177732467651367, | |
0.00816285228729248, | |
0.008208771705627442, | |
0.007648454189300537, | |
0.007952773094177246, | |
0.008141251564025878, | |
0.008230371475219727, | |
0.008136451721191406, | |
0.007779013156890869, | |
0.007781093120574951, | |
0.007515974044799804, | |
0.007788133144378662, | |
0.007639013767242432, | |
0.0076292529106140134, | |
0.0076198139190673825, | |
0.007650534152984619, | |
0.007472614765167237, | |
0.007310214042663574, | |
0.007320135116577148, | |
0.007288135051727295, | |
0.007219494819641114, | |
0.007198854923248291, | |
0.007243175029754639, | |
0.007332133769989014, | |
0.0072833352088928225, | |
0.007273254871368408, | |
0.007303013801574707 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.46881881934286 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |