IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6d8f355
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "d0c0a5c5918412583a4f2490ab7e3d1b48375998", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.623232, | |
"max_global_vram": 2547.249152, | |
"max_process_vram": 47243.280384, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.3593232421875, | |
"mean": 7.3593232421875, | |
"stdev": 0.0, | |
"p50": 7.3593232421875, | |
"p90": 7.3593232421875, | |
"p95": 7.3593232421875, | |
"p99": 7.3593232421875, | |
"values": [ | |
7.3593232421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.508416, | |
"max_global_vram": 2602.569728, | |
"max_process_vram": 230885.097472, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 124, | |
"total": 0.9937140870094301, | |
"mean": 0.008013823282334112, | |
"stdev": 0.0003478328838270217, | |
"p50": 0.007864612579345703, | |
"p90": 0.008462754440307618, | |
"p95": 0.00890030493736267, | |
"p99": 0.009092588891983031, | |
"values": [ | |
0.00797085189819336, | |
0.007935492038726807, | |
0.008040770530700684, | |
0.008119490623474121, | |
0.008183971405029297, | |
0.0080657320022583, | |
0.008048611640930176, | |
0.008015011787414551, | |
0.008167971611022949, | |
0.00794349193572998, | |
0.007904771804809571, | |
0.00786269187927246, | |
0.007848931789398193, | |
0.007821413040161132, | |
0.007823812007904054, | |
0.008080611228942871, | |
0.007858692169189453, | |
0.007810213088989258, | |
0.007790372848510742, | |
0.007733413219451904, | |
0.007787813186645507, | |
0.007901412010192871, | |
0.007883331775665282, | |
0.007926372051239014, | |
0.007910051822662353, | |
0.00789421319961548, | |
0.007867813110351562, | |
0.007814692974090575, | |
0.008117570877075195, | |
0.008444129943847656, | |
0.009016287803649903, | |
0.009062527656555176, | |
0.00895740795135498, | |
0.008803488731384278, | |
0.008883169174194336, | |
0.008965087890625, | |
0.009291486740112305, | |
0.009101568222045898, | |
0.008903328895568847, | |
0.008688288688659668, | |
0.008587010383605957, | |
0.008471650123596191, | |
0.008447970390319824, | |
0.008469090461730958, | |
0.008320289611816406, | |
0.008195330619812011, | |
0.008229090690612792, | |
0.008279809951782227, | |
0.008320611000061035, | |
0.008245570182800293, | |
0.008142851829528808, | |
0.008087491989135743, | |
0.008104130744934082, | |
0.00824221134185791, | |
0.008287489891052246, | |
0.008255010604858398, | |
0.008171490669250488, | |
0.008135491371154786, | |
0.008099810600280762, | |
0.008054211616516113, | |
0.008007652282714843, | |
0.007850532054901122, | |
0.008012931823730468, | |
0.007911972045898438, | |
0.007828772068023682, | |
0.007800931930541992, | |
0.00782829189300537, | |
0.007860132217407226, | |
0.007854692935943604, | |
0.007846532821655273, | |
0.007864932060241699, | |
0.00784413194656372, | |
0.00785501194000244, | |
0.00785181188583374, | |
0.007838531970977784, | |
0.007787013053894043, | |
0.007832931995391845, | |
0.00781421184539795, | |
0.007832292079925538, | |
0.007829253196716308, | |
0.007824452877044677, | |
0.007819972038269042, | |
0.007848452091217041, | |
0.007906531810760498, | |
0.007859652042388915, | |
0.007844932079315185, | |
0.00781277322769165, | |
0.007851172924041748, | |
0.007896451950073243, | |
0.007811172008514404, | |
0.00784093189239502, | |
0.00781741189956665, | |
0.007834372997283935, | |
0.00783357286453247, | |
0.007857091903686523, | |
0.007866692066192628, | |
0.007855971813201905, | |
0.007848611831665039, | |
0.007863331794738769, | |
0.007824933052062989, | |
0.007820292949676514, | |
0.007829731941223144, | |
0.0077940521240234375, | |
0.007793093204498291, | |
0.0077774119377136235, | |
0.007831011772155762, | |
0.007833892822265626, | |
0.00787885284423828, | |
0.007864293098449706, | |
0.007834053039550782, | |
0.007865732192993163, | |
0.007829731941223144, | |
0.00782445192337036, | |
0.007852612018585205, | |
0.007880291938781737, | |
0.007855972766876222, | |
0.007907011985778808, | |
0.007869732856750489, | |
0.0077308530807495114, | |
0.00736957311630249, | |
0.007533573150634766, | |
0.007633893013000488, | |
0.0073041338920593266, | |
0.007535812854766846 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 124.7843837790168 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |