IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
accca72
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.883392, | |
"max_global_vram": 12.120064, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 10.694306640625, | |
"mean": 10.694306640625, | |
"stdev": 0.0, | |
"p50": 10.694306640625, | |
"p90": 10.694306640625, | |
"p95": 10.694306640625, | |
"p99": 10.694306640625, | |
"values": [ | |
10.694306640625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1519.046656, | |
"max_global_vram": 12.169216, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 118, | |
"total": 1.0026790618896484, | |
"mean": 0.008497280185505494, | |
"stdev": 0.00010711166726881437, | |
"p50": 0.008479893684387207, | |
"p90": 0.00866670913696289, | |
"p95": 0.008703028774261474, | |
"p99": 0.008747936124801636, | |
"values": [ | |
0.008500773429870606, | |
0.0084946928024292, | |
0.008568133354187012, | |
0.008965250968933105, | |
0.008745411872863769, | |
0.008681893348693848, | |
0.008748453140258789, | |
0.008713091850280762, | |
0.00871437168121338, | |
0.00869021224975586, | |
0.008667492866516113, | |
0.008592771530151368, | |
0.008519172668457031, | |
0.00845853328704834, | |
0.008454692840576173, | |
0.008418853759765626, | |
0.008424134254455566, | |
0.008494532585144043, | |
0.008474852561950684, | |
0.008468453407287597, | |
0.008443492889404297, | |
0.00838973331451416, | |
0.00838701343536377, | |
0.008363174438476563, | |
0.008444293022155762, | |
0.008571971893310546, | |
0.008581253051757812, | |
0.008536932945251464, | |
0.008432453155517577, | |
0.008525572776794433, | |
0.008426372528076171, | |
0.008425573348999023, | |
0.008423012733459473, | |
0.008404772758483886, | |
0.008452134132385254, | |
0.00842893409729004, | |
0.008446212768554687, | |
0.00843901252746582, | |
0.008416933059692383, | |
0.008399012565612794, | |
0.008381254196166992, | |
0.008403173446655273, | |
0.008445412635803222, | |
0.008519013404846192, | |
0.008426053047180176, | |
0.008398053169250488, | |
0.008422212600708008, | |
0.008404614448547364, | |
0.008420774459838867, | |
0.008385252952575684, | |
0.008435973167419434, | |
0.008461413383483886, | |
0.008441412925720215, | |
0.008391013145446777, | |
0.008403654098510743, | |
0.00843053436279297, | |
0.008369893074035644, | |
0.008384773254394531, | |
0.008482213020324708, | |
0.008632773399353028, | |
0.008596772193908692, | |
0.008567973136901856, | |
0.008484613418579102, | |
0.008487492561340333, | |
0.008524292945861817, | |
0.008458853721618653, | |
0.008480294227600098, | |
0.008508612632751465, | |
0.008642373085021972, | |
0.008634692192077636, | |
0.008639492988586427, | |
0.008657411575317383, | |
0.008666373252868653, | |
0.008560453414916992, | |
0.008521573066711426, | |
0.008522533416748046, | |
0.008533733367919922, | |
0.008527012825012207, | |
0.00846717357635498, | |
0.008487333297729492, | |
0.008441413879394531, | |
0.008344293594360352, | |
0.008372612953186035, | |
0.008366053581237792, | |
0.008382694244384765, | |
0.008405572891235351, | |
0.008353572845458984, | |
0.008328133583068848, | |
0.008363972663879395, | |
0.00835869312286377, | |
0.008390374183654785, | |
0.008687171936035156, | |
0.00868957233428955, | |
0.008719653129577636, | |
0.008701252937316894, | |
0.008557412147521972, | |
0.008517413139343262, | |
0.008453573226928711, | |
0.008437413215637207, | |
0.008507013320922852, | |
0.008479493141174316, | |
0.008471492767333985, | |
0.008532933235168457, | |
0.00849725341796875, | |
0.008530853271484375, | |
0.008487492561340333, | |
0.008500452995300292, | |
0.008497894287109375, | |
0.008511173248291015, | |
0.008456132888793945, | |
0.008474852561950684, | |
0.008481093406677246, | |
0.008482531547546386, | |
0.008446693420410156, | |
0.00848045253753662, | |
0.008524772644042968, | |
0.00859549331665039, | |
0.008507972717285156 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 117.684715364074 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |