IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
752abda
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": 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": "error", | |
"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.33.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": 1389.109248, | |
"max_global_vram": 11.145216, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.75903271484375, | |
"mean": 7.75903271484375, | |
"stdev": 0.0, | |
"p50": 7.75903271484375, | |
"p90": 7.75903271484375, | |
"p95": 7.75903271484375, | |
"p99": 7.75903271484375, | |
"values": [ | |
7.75903271484375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1514.917888, | |
"max_global_vram": 11.149312, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 0.9949127125740053, | |
"mean": 0.008088721240439066, | |
"stdev": 0.00043408992441727116, | |
"p50": 0.007873094081878662, | |
"p90": 0.008848355102539063, | |
"p95": 0.008872802543640135, | |
"p99": 0.00891848575592041, | |
"values": [ | |
0.008542692184448242, | |
0.008315652847290038, | |
0.008163812637329102, | |
0.008611010551452638, | |
0.008234692573547362, | |
0.008172133445739745, | |
0.00811469268798828, | |
0.00808253288269043, | |
0.008071332931518556, | |
0.007990533828735352, | |
0.007913894176483154, | |
0.007922853946685791, | |
0.00791853380203247, | |
0.007877254009246826, | |
0.007904454231262207, | |
0.00791469383239746, | |
0.007924613952636718, | |
0.0078820538520813, | |
0.007952293872833253, | |
0.007915174007415772, | |
0.007896933078765869, | |
0.00790925407409668, | |
0.00798237419128418, | |
0.00805389404296875, | |
0.008050373077392578, | |
0.008026212692260741, | |
0.007968133926391601, | |
0.007934693813323974, | |
0.01092284393310547, | |
0.008631011962890626, | |
0.00828989315032959, | |
0.008307332038879395, | |
0.008849571228027344, | |
0.008843490600585938, | |
0.008862050056457519, | |
0.008865891456604004, | |
0.008873570442199706, | |
0.008922850608825684, | |
0.008892930984497071, | |
0.008887649536132813, | |
0.008855010986328125, | |
0.008903010368347168, | |
0.00858205223083496, | |
0.008314533233642578, | |
0.00804381275177002, | |
0.007860774040222169, | |
0.007877893924713135, | |
0.007860774040222169, | |
0.007839014053344726, | |
0.007850214958190918, | |
0.007824934005737305, | |
0.007840933799743653, | |
0.00785517406463623, | |
0.007863014221191407, | |
0.007859653949737548, | |
0.007902853965759278, | |
0.007860454082489013, | |
0.007873894214630127, | |
0.007851974010467529, | |
0.007838533878326417, | |
0.007873094081878662, | |
0.007865893840789794, | |
0.007844933986663818, | |
0.007844453811645507, | |
0.007861093997955322, | |
0.007855494022369385, | |
0.007845253944396972, | |
0.007834854125976563, | |
0.008394051551818847, | |
0.008207972526550294, | |
0.00832893180847168, | |
0.007927494049072266, | |
0.007837093830108643, | |
0.007835494041442872, | |
0.00784973382949829, | |
0.007825095176696778, | |
0.00786621379852295, | |
0.007846854209899902, | |
0.007857093811035156, | |
0.007832454204559327, | |
0.007818213939666748, | |
0.007808773994445801, | |
0.007834854125976563, | |
0.007815494060516357, | |
0.007824453830718994, | |
0.007817093849182128, | |
0.007833573818206787, | |
0.007813253879547118, | |
0.007829894065856933, | |
0.007843334197998047, | |
0.00784653377532959, | |
0.007830214023590088, | |
0.007829894065856933, | |
0.007825414180755615, | |
0.007810853958129883, | |
0.007853894233703614, | |
0.007839815139770508, | |
0.007838213920593261, | |
0.007796453952789307, | |
0.007827653884887695, | |
0.007825573921203614, | |
0.007785254955291748, | |
0.007803335189819336, | |
0.007830214977264405, | |
0.007829575061798096, | |
0.007829093933105468, | |
0.007807013988494873, | |
0.007810054779052734, | |
0.0078025350570678715, | |
0.00784861421585083, | |
0.007817254066467286, | |
0.007829093933105468, | |
0.00785085391998291, | |
0.00785629415512085, | |
0.008366691589355468, | |
0.008855010986328125, | |
0.008859490394592285, | |
0.008322532653808595, | |
0.008437891960144044, | |
0.008773091316223145, | |
0.008886690139770509, | |
0.00871933078765869, | |
0.008241413116455078 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 123.62893593125219 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |