IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ce2386a
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": "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.359104, | |
"max_global_vram": 12.070912, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 9.7519384765625, | |
"mean": 9.7519384765625, | |
"stdev": 0.0, | |
"p50": 9.7519384765625, | |
"p90": 9.7519384765625, | |
"p95": 9.7519384765625, | |
"p99": 9.7519384765625, | |
"values": [ | |
9.7519384765625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1518.235648, | |
"max_global_vram": 12.156928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 118, | |
"total": 1.0035022182464601, | |
"mean": 0.008504256086834406, | |
"stdev": 0.0010346381138192993, | |
"p50": 0.008405333042144775, | |
"p90": 0.008627187728881837, | |
"p95": 0.008704540014266968, | |
"p99": 0.008969673471450806, | |
"values": [ | |
0.008691971778869628, | |
0.008723172187805175, | |
0.008701251983642579, | |
0.008980771064758301, | |
0.008619973182678223, | |
0.018778820037841797, | |
0.004196146965026856, | |
0.008630211830139161, | |
0.0085657320022583, | |
0.008563013076782226, | |
0.008562691688537597, | |
0.008426053047180176, | |
0.00841981315612793, | |
0.008317092895507812, | |
0.008316292762756347, | |
0.008286213874816895, | |
0.00831981372833252, | |
0.008354533195495605, | |
0.008327973365783692, | |
0.008338692665100098, | |
0.008340132713317872, | |
0.00833997344970703, | |
0.008378533363342286, | |
0.008399012565612794, | |
0.008348133087158203, | |
0.008387493133544923, | |
0.008393893241882324, | |
0.00835677433013916, | |
0.008347973823547364, | |
0.008366052627563476, | |
0.008409893035888672, | |
0.00853453254699707, | |
0.008498533248901367, | |
0.0084313325881958, | |
0.008391813278198242, | |
0.008432772636413574, | |
0.008399653434753417, | |
0.008474212646484375, | |
0.008400293350219726, | |
0.008373252868652344, | |
0.008404932975769042, | |
0.008393253326416016, | |
0.008601411819458008, | |
0.008635811805725098, | |
0.008477732658386231, | |
0.008540452003479004, | |
0.008762051582336425, | |
0.008915491104125976, | |
0.00861021327972412, | |
0.008373252868652344, | |
0.008302693367004394, | |
0.008316452980041505, | |
0.008367012977600098, | |
0.008474533081054687, | |
0.008377893447875977, | |
0.008345892906188965, | |
0.008340292930603028, | |
0.008364612579345704, | |
0.008324133872985839, | |
0.008527973175048827, | |
0.008398853302001952, | |
0.008443013191223144, | |
0.008571011543273926, | |
0.008444453239440918, | |
0.008393412590026855, | |
0.008409893035888672, | |
0.008444613456726074, | |
0.008441252708435059, | |
0.008380773544311524, | |
0.008549893379211426, | |
0.008569092750549316, | |
0.008573573112487793, | |
0.008592612266540527, | |
0.00862589168548584, | |
0.008586213111877442, | |
0.008600452423095702, | |
0.008497093200683594, | |
0.008477412223815917, | |
0.00848253345489502, | |
0.008469093322753906, | |
0.008405733108520507, | |
0.008410853385925293, | |
0.008387972831726074, | |
0.008371012687683105, | |
0.008288772583007812, | |
0.008361892700195312, | |
0.008319812774658203, | |
0.008361092567443848, | |
0.008340933799743652, | |
0.00837837314605713, | |
0.00835965347290039, | |
0.008392132759094239, | |
0.008724612236022949, | |
0.008693092346191407, | |
0.008651171684265137, | |
0.008536131858825683, | |
0.008578372955322265, | |
0.008526371955871583, | |
0.008492293357849122, | |
0.0084596529006958, | |
0.008343812942504882, | |
0.00837229347229004, | |
0.008366852760314942, | |
0.008336612701416016, | |
0.008353572845458984, | |
0.008396773338317872, | |
0.008375172615051269, | |
0.008387493133544923, | |
0.008335653305053712, | |
0.008363013267517089, | |
0.00838045310974121, | |
0.008393732070922852, | |
0.00844109344482422, | |
0.008413573265075684, | |
0.008435973167419434, | |
0.008416132926940918, | |
0.008425413131713867, | |
0.008392932891845704 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.58818052858477 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |