IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fe6e712
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": "4", | |
"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.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1042.169856, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47205.773312, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.413111328125, | |
"mean": 8.413111328125, | |
"stdev": 0.0, | |
"p50": 8.413111328125, | |
"p90": 8.413111328125, | |
"p95": 8.413111328125, | |
"p99": 8.413111328125, | |
"values": [ | |
8.413111328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1159.278592, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 233726.119936, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 136, | |
"total": 1.0017187685966489, | |
"mean": 0.007365579180857716, | |
"stdev": 0.0011758168392413482, | |
"p50": 0.007278536081314087, | |
"p90": 0.007543255090713501, | |
"p95": 0.007699134588241577, | |
"p99": 0.009731863546371462, | |
"values": [ | |
0.007694855213165284, | |
0.007215496063232422, | |
0.00730893611907959, | |
0.0073746957778930665, | |
0.007458535194396973, | |
0.007463816165924072, | |
0.007483816146850586, | |
0.007565895080566406, | |
0.007379816055297851, | |
0.007335815906524658, | |
0.007365574836730957, | |
0.007291336059570313, | |
0.007273416042327881, | |
0.0072127761840820315, | |
0.007301095962524414, | |
0.007154376029968262, | |
0.0071631760597229005, | |
0.007173736095428467, | |
0.007110217094421387, | |
0.0071068558692932125, | |
0.007166215896606445, | |
0.007127976894378662, | |
0.007087337017059326, | |
0.007069897174835205, | |
0.007074697017669678, | |
0.007013896942138672, | |
0.007083816051483154, | |
0.007040456771850586, | |
0.008149892807006835, | |
0.0071612558364868165, | |
0.006900297164916992, | |
0.0068841371536254884, | |
0.0071071767807006836, | |
0.007341415882110596, | |
0.0072321357727050785, | |
0.007228936195373535, | |
0.007314536094665527, | |
0.00732797622680664, | |
0.007102375984191895, | |
0.018953855514526368, | |
0.0023889520168304443, | |
0.0038340680599212645, | |
0.007267496109008789, | |
0.007398536205291748, | |
0.007099976062774658, | |
0.007313735961914062, | |
0.007198855876922607, | |
0.007219016075134277, | |
0.008625091552734375, | |
0.007376935958862305, | |
0.007142536163330078, | |
0.007153576850891114, | |
0.0071228561401367185, | |
0.0071566162109375, | |
0.007539655208587646, | |
0.0075182151794433594, | |
0.007542375087738037, | |
0.009465728759765625, | |
0.007636613845825195, | |
0.0075394949913024905, | |
0.007606695175170899, | |
0.007350855827331543, | |
0.007132936000823975, | |
0.007697575092315674, | |
0.007544135093688965, | |
0.007263815879821777, | |
0.007318056106567382, | |
0.0073222160339355465, | |
0.007371174812316895, | |
0.00735149621963501, | |
0.007332456111907959, | |
0.007316135883331299, | |
0.0072860560417175296, | |
0.007254055976867676, | |
0.007287496089935302, | |
0.007295815944671631, | |
0.007474215984344482, | |
0.0073194952011108394, | |
0.007255815982818604, | |
0.007275335788726807, | |
0.0072702159881591795, | |
0.0072890958786010745, | |
0.007266695976257324, | |
0.007363655090332031, | |
0.007331655979156494, | |
0.007299816131591797, | |
0.007313095092773438, | |
0.00730733585357666, | |
0.007303016185760498, | |
0.007278696060180664, | |
0.007280295848846436, | |
0.007299335956573486, | |
0.007306215763092041, | |
0.007272615909576416, | |
0.007301896095275879, | |
0.00727677583694458, | |
0.0072303757667541504, | |
0.00725869607925415, | |
0.00725869607925415, | |
0.00729261589050293, | |
0.007304615974426269, | |
0.007250535964965821, | |
0.007242856025695801, | |
0.007291335105895996, | |
0.007201257228851318, | |
0.007280456066131592, | |
0.007272776126861572, | |
0.007250855922698975, | |
0.007284615993499756, | |
0.007242856025695801, | |
0.007347015857696533, | |
0.007413094997406006, | |
0.007294055938720703, | |
0.0072439761161804195, | |
0.007264935970306396, | |
0.007239175796508789, | |
0.007230056762695313, | |
0.0072604560852050784, | |
0.007270535945892334, | |
0.00726205587387085, | |
0.007242216110229492, | |
0.007251815795898437, | |
0.007271175861358643, | |
0.007262375831604004, | |
0.0072897357940673825, | |
0.007249735832214356, | |
0.007281095981597901, | |
0.007238696098327637, | |
0.007207176208496094, | |
0.007193895816802978, | |
0.007267015933990479, | |
0.00727837610244751, | |
0.00987516689300537, | |
0.007838374137878417, | |
0.007621095180511474, | |
0.007703813076019287 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.76664854800336 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |