IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e1f7bf2
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": "25912a6d02929e242ccb030ce6895e556366bb93", | |
"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.680576, | |
"max_global_vram": 3128.397824, | |
"max_process_vram": 46430.982144, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4459150390625, | |
"mean": 7.4459150390625, | |
"stdev": 0.0, | |
"p50": 7.4459150390625, | |
"p90": 7.4459150390625, | |
"p95": 7.4459150390625, | |
"p99": 7.4459150390625, | |
"values": [ | |
7.4459150390625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1016.569856, | |
"max_global_vram": 3183.583232, | |
"max_process_vram": 242100.957184, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 125, | |
"total": 0.9944191584587093, | |
"mean": 0.007955353267669678, | |
"stdev": 0.0004877064171847926, | |
"p50": 0.00800830078125, | |
"p90": 0.008387947845458986, | |
"p95": 0.008611243057250976, | |
"p99": 0.009247337532043461, | |
"values": [ | |
0.008615339279174804, | |
0.008717259407043458, | |
0.0087686185836792, | |
0.008791337966918946, | |
0.008664778709411621, | |
0.008594858169555663, | |
0.00858013916015625, | |
0.008421579360961913, | |
0.008579499244689941, | |
0.008435978889465331, | |
0.008388139724731446, | |
0.008381258964538575, | |
0.008292299270629883, | |
0.008194060325622558, | |
0.008228619575500489, | |
0.00816685962677002, | |
0.00825421905517578, | |
0.008223340034484864, | |
0.008126059532165527, | |
0.00815470027923584, | |
0.008177419662475587, | |
0.008141900062561035, | |
0.00814109992980957, | |
0.008204299926757813, | |
0.00821757984161377, | |
0.00818142032623291, | |
0.008224140167236329, | |
0.008081740379333496, | |
0.008167340278625488, | |
0.008138059616088867, | |
0.008292140007019043, | |
0.0080814208984375, | |
0.008151180267333984, | |
0.008131179809570312, | |
0.00818253993988037, | |
0.008158539772033692, | |
0.008183819770812988, | |
0.00812462043762207, | |
0.008213580131530762, | |
0.008137579917907714, | |
0.008164460182189942, | |
0.008155018806457519, | |
0.008160140037536621, | |
0.008270059585571289, | |
0.00829469871520996, | |
0.008193739891052246, | |
0.008174860000610351, | |
0.008176300048828125, | |
0.008159979820251465, | |
0.008183019638061523, | |
0.008387660026550293, | |
0.010275335311889648, | |
0.009391337394714356, | |
0.007996620178222657, | |
0.00796318006515503, | |
0.007998701095581054, | |
0.008061420440673829, | |
0.0079931001663208, | |
0.007993420124053956, | |
0.00794814109802246, | |
0.00802734088897705, | |
0.007969260215759277, | |
0.00802542018890381, | |
0.007940300941467285, | |
0.007927501201629638, | |
0.007934060096740723, | |
0.007983981132507324, | |
0.007985740184783936, | |
0.007999660015106201, | |
0.008017740249633788, | |
0.00800830078125, | |
0.007988461017608642, | |
0.008018699645996094, | |
0.007998700141906739, | |
0.008020779609680177, | |
0.007978381156921387, | |
0.007950860023498535, | |
0.00794301986694336, | |
0.008021100997924805, | |
0.007975020885467528, | |
0.007944459915161134, | |
0.007188621997833252, | |
0.007102222919464112, | |
0.007113582134246827, | |
0.007126382827758789, | |
0.00707902193069458, | |
0.007111183166503906, | |
0.0070833420753479, | |
0.00728206205368042, | |
0.007070222854614258, | |
0.00706590223312378, | |
0.007248941898345947, | |
0.0072403020858764645, | |
0.007047342777252197, | |
0.00787998104095459, | |
0.007992781162261963, | |
0.008006380081176758, | |
0.008016300201416016, | |
0.007596780776977539, | |
0.00749502182006836, | |
0.007764141082763672, | |
0.007514060974121094, | |
0.007525901794433593, | |
0.007801740169525146, | |
0.007327822208404541, | |
0.007054222106933594, | |
0.007295661926269531, | |
0.007242382049560547, | |
0.007080623149871826, | |
0.007051342010498047, | |
0.007125422954559326, | |
0.007656140804290772, | |
0.00753614091873169, | |
0.0080247802734375, | |
0.008005420684814453, | |
0.007831820011138916, | |
0.007958859920501708, | |
0.0077230210304260255, | |
0.007717741966247559, | |
0.007624621868133545, | |
0.007736141204833984, | |
0.007472142219543457, | |
0.007814701080322266, | |
0.007446701049804687, | |
0.007830700874328612 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.70152026610441 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |