IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
9e3581d
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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1077.956608, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48419.995648, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.27934765625, | |
"mean": 8.27934765625, | |
"stdev": 0.0, | |
"p50": 8.27934765625, | |
"p90": 8.27934765625, | |
"p95": 8.27934765625, | |
"p99": 8.27934765625, | |
"values": [ | |
8.27934765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.524096, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 230123.753472, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 1.0013464391231535, | |
"mean": 0.007702664916331952, | |
"stdev": 0.0009908177082776364, | |
"p50": 0.007515102386474609, | |
"p90": 0.008446620368957521, | |
"p95": 0.008518780136108397, | |
"p99": 0.012469510908126799, | |
"values": [ | |
0.00817885971069336, | |
0.007898702144622802, | |
0.007623342990875244, | |
0.007595182895660401, | |
0.014127006530761719, | |
0.005611347198486328, | |
0.008782858848571778, | |
0.007500942230224609, | |
0.00746526288986206, | |
0.007472142219543457, | |
0.007486062049865723, | |
0.007492942810058594, | |
0.007483023166656494, | |
0.0074726219177246095, | |
0.007503662109375, | |
0.007510861873626709, | |
0.007517582893371582, | |
0.00750638198852539, | |
0.007559661865234375, | |
0.00752222204208374, | |
0.007543181896209717, | |
0.00759918212890625, | |
0.007513742923736572, | |
0.007496142864227295, | |
0.00756862211227417, | |
0.007598381996154785, | |
0.0075478219985961915, | |
0.0075172619819641115, | |
0.007480621814727783, | |
0.007468782901763916, | |
0.0074977421760559085, | |
0.007479341983795166, | |
0.007506062030792236, | |
0.00747454309463501, | |
0.00747742223739624, | |
0.007509101867675781, | |
0.007494062900543213, | |
0.007467823028564453, | |
0.007485901832580567, | |
0.007483342170715332, | |
0.007444141864776611, | |
0.00751934289932251, | |
0.007518702030181885, | |
0.007447502136230469, | |
0.007449583053588867, | |
0.0074718232154846196, | |
0.007459822177886963, | |
0.007467823028564453, | |
0.007570862770080566, | |
0.007494701862335205, | |
0.007469741821289062, | |
0.00747582197189331, | |
0.007478222846984863, | |
0.007486382007598877, | |
0.007463982105255127, | |
0.007465902805328369, | |
0.0075051021575927735, | |
0.007486062049865723, | |
0.007597742080688477, | |
0.007480621814727783, | |
0.007488303184509278, | |
0.007508781909942627, | |
0.007497422218322754, | |
0.007555501937866211, | |
0.007499823093414307, | |
0.007742062091827393, | |
0.00750638198852539, | |
0.007500782966613769, | |
0.007587021827697754, | |
0.007523181915283203, | |
0.0075406222343444825, | |
0.007767821788787842, | |
0.007582221984863281, | |
0.007560781955718994, | |
0.007583501815795898, | |
0.007547661781311035, | |
0.007516461849212647, | |
0.0075100622177124024, | |
0.007571981906890869, | |
0.00753790283203125, | |
0.007504621982574463, | |
0.007513422012329102, | |
0.007534701824188233, | |
0.00756702184677124, | |
0.007548942089080811, | |
0.007549743175506592, | |
0.007554862976074219, | |
0.007569101810455323, | |
0.007504141807556152, | |
0.00753646183013916, | |
0.007533582210540771, | |
0.00752990198135376, | |
0.013975326538085937, | |
0.0024406349658966063, | |
0.007491981983184815, | |
0.007499981880187989, | |
0.007534701824188233, | |
0.007500463008880616, | |
0.007551022052764892, | |
0.007528622150421143, | |
0.007518541812896728, | |
0.007512142181396484, | |
0.007535021781921386, | |
0.00750510311126709, | |
0.007461102962493896, | |
0.008451180458068848, | |
0.008435979843139648, | |
0.008464300155639648, | |
0.008090860366821289, | |
0.008413101196289062, | |
0.008480460166931152, | |
0.008464619636535645, | |
0.00839310073852539, | |
0.008535340309143066, | |
0.008544460296630859, | |
0.00844622039794922, | |
0.008689740180969237, | |
0.008550860404968262, | |
0.008450220108032227, | |
0.008498539924621582, | |
0.008402379989624023, | |
0.00811486053466797, | |
0.00784174108505249, | |
0.007478221893310547, | |
0.0074340620040893556, | |
0.007466221809387207, | |
0.0074588627815246585, | |
0.007480941772460938, | |
0.007423821926116943, | |
0.007433262825012207 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.82519827387287 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |