IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ee7a5a1
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "6", | |
"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": 1079.525376, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 55817.084928, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 14.7135556640625, | |
"mean": 14.7135556640625, | |
"stdev": 0.0, | |
"p50": 14.7135556640625, | |
"p90": 14.7135556640625, | |
"p95": 14.7135556640625, | |
"p99": 14.7135556640625, | |
"values": [ | |
14.7135556640625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1196.331008, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 205418.704896, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 142, | |
"total": 0.9962830448150637, | |
"mean": 0.007016077780387771, | |
"stdev": 0.0019148014820461565, | |
"p50": 0.006744729995727539, | |
"p90": 0.007566731119155884, | |
"p95": 0.007668307995796203, | |
"p99": 0.01824113618850708, | |
"values": [ | |
0.007849131107330322, | |
0.007536011219024658, | |
0.007590411186218261, | |
0.007462730884552002, | |
0.00749281120300293, | |
0.007486090183258056, | |
0.007437450885772705, | |
0.007676651000976562, | |
0.007405291080474854, | |
0.007135529994964599, | |
0.0072086501121521, | |
0.007089290142059326, | |
0.007102251052856445, | |
0.007079209804534912, | |
0.007026889801025391, | |
0.00676048994064331, | |
0.006926249980926513, | |
0.00668897008895874, | |
0.006726728916168213, | |
0.006718410015106201, | |
0.006731689929962158, | |
0.006738890171051026, | |
0.0067715301513671874, | |
0.006766569137573242, | |
0.01877682876586914, | |
0.002350243091583252, | |
0.0039208059310913085, | |
0.0067441692352294925, | |
0.006749289989471436, | |
0.006797450065612793, | |
0.006783689975738525, | |
0.010228335380554199, | |
0.006946090221405029, | |
0.006748809814453125, | |
0.006741929054260254, | |
0.006727048873901367, | |
0.00673537015914917, | |
0.0067340898513793945, | |
0.00674960994720459, | |
0.0067233691215515135, | |
0.006710888862609864, | |
0.006722410202026367, | |
0.006697450160980225, | |
0.00672721004486084, | |
0.006738089084625244, | |
0.006711369991302491, | |
0.0067433700561523435, | |
0.00672721004486084, | |
0.006751049995422363, | |
0.006785449028015137, | |
0.006763850212097168, | |
0.006744810104370117, | |
0.006746570110321045, | |
0.006777609825134277, | |
0.006789609909057617, | |
0.006739529132843017, | |
0.006733610153198242, | |
0.006747369766235352, | |
0.006753610134124756, | |
0.006736810207366943, | |
0.006750089168548584, | |
0.006735529899597168, | |
0.006739689826965332, | |
0.006832809925079346, | |
0.006765130043029785, | |
0.006705449104309082, | |
0.006715690135955811, | |
0.006709449768066407, | |
0.00675616979598999, | |
0.0067441692352294925, | |
0.006739849090576172, | |
0.00672769021987915, | |
0.0067286500930786135, | |
0.00673376989364624, | |
0.006738089084625244, | |
0.006703370094299317, | |
0.0067169699668884275, | |
0.006747849941253662, | |
0.0067238488197326664, | |
0.006732809066772461, | |
0.006744649887084961, | |
0.006704010009765625, | |
0.006717609882354736, | |
0.00677488899230957, | |
0.006728489875793457, | |
0.017983705520629882, | |
0.0023024039268493652, | |
0.004039364814758301, | |
0.006809770107269287, | |
0.0066931300163269045, | |
0.006754730224609375, | |
0.006698249816894531, | |
0.006710089206695556, | |
0.006718249797821045, | |
0.006733610153198242, | |
0.006755050182342529, | |
0.006725449085235596, | |
0.006736649990081787, | |
0.006711209774017334, | |
0.006715370178222656, | |
0.006739688873291016, | |
0.006705449104309082, | |
0.006712490081787109, | |
0.006746250152587891, | |
0.0067163300514221196, | |
0.0067283291816711424, | |
0.006757449150085449, | |
0.00673760986328125, | |
0.006736169815063477, | |
0.006704170227050782, | |
0.006728009223937988, | |
0.006712490081787109, | |
0.006713930130004883, | |
0.006714890003204346, | |
0.006726889133453369, | |
0.0067219300270080565, | |
0.006712490081787109, | |
0.0074281711578369145, | |
0.007559531211853028, | |
0.007530731201171875, | |
0.0075137710571289065, | |
0.007118090152740479, | |
0.007091050148010254, | |
0.007689451217651367, | |
0.007661770820617675, | |
0.007509130001068115, | |
0.007164491176605225, | |
0.007567531108856202, | |
0.007643371105194092, | |
0.0076177711486816405, | |
0.007627050876617431, | |
0.007618411064147949, | |
0.018420028686523437, | |
0.00236912202835083, | |
0.002226562976837158, | |
0.007668652057647705, | |
0.0074014501571655275, | |
0.007151531219482422, | |
0.007090569972991944, | |
0.007213129997253418, | |
0.006925129890441894, | |
0.006945290088653564 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 142.52977679285806 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |