IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3675302
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.4.0", | |
"optimum_benchmark_commit": "3e7bebdc507bc4e37dce5660074b7586de6b39b2", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 903.573504, | |
"max_global_vram": 841.76896, | |
"max_process_vram": 42605.1584, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.98378662109375, | |
"mean": 6.98378662109375, | |
"stdev": 0.0, | |
"p50": 6.98378662109375, | |
"p90": 6.98378662109375, | |
"p95": 6.98378662109375, | |
"p99": 6.98378662109375, | |
"values": [ | |
6.98378662109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1017.245696, | |
"max_global_vram": 896.950272, | |
"max_process_vram": 213156.077568, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.4432 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 1.0007421584129332, | |
"mean": 0.006761771340627928, | |
"stdev": 0.0006183614310135619, | |
"p50": 0.006635862350463867, | |
"p90": 0.006931239938735962, | |
"p95": 0.00715279312133789, | |
"p99": 0.008791982541084292, | |
"values": [ | |
0.006964983940124511, | |
0.006879703998565674, | |
0.007164665222167969, | |
0.007269625186920166, | |
0.0075547461509704586, | |
0.007267545223236084, | |
0.007292025089263916, | |
0.007267865180969238, | |
0.007130744934082031, | |
0.00710914421081543, | |
0.006995223999023438, | |
0.006993144035339355, | |
0.0069233841896057125, | |
0.006910583019256592, | |
0.006872502803802491, | |
0.006821303844451904, | |
0.006751543045043946, | |
0.006676823139190674, | |
0.006687383174896241, | |
0.006733623027801514, | |
0.006699223041534424, | |
0.006655862808227539, | |
0.006706742763519287, | |
0.006786582946777343, | |
0.009889154434204102, | |
0.006656342983245849, | |
0.006663383007049561, | |
0.006626102924346924, | |
0.006641942977905274, | |
0.01319172477722168, | |
0.005826419830322266, | |
0.006624503135681152, | |
0.006617463111877441, | |
0.006619863033294678, | |
0.006608181953430175, | |
0.006641622066497803, | |
0.006601302146911621, | |
0.00661154317855835, | |
0.006635542869567871, | |
0.006592662811279297, | |
0.00661650276184082, | |
0.006596343040466308, | |
0.006613943099975586, | |
0.006591541767120361, | |
0.006613302230834961, | |
0.006601462841033936, | |
0.006618903160095215, | |
0.006653782844543457, | |
0.006604503154754639, | |
0.006611863136291504, | |
0.006610742092132568, | |
0.0066361818313598634, | |
0.006645623207092285, | |
0.006610743045806885, | |
0.006604982852935791, | |
0.006627542972564697, | |
0.0066176228523254395, | |
0.006602101802825928, | |
0.0066240220069885255, | |
0.006615862846374511, | |
0.00664914321899414, | |
0.0066097831726074216, | |
0.00663778305053711, | |
0.006610582828521729, | |
0.006605782985687256, | |
0.0066641831398010255, | |
0.006674743175506591, | |
0.006651702880859375, | |
0.00665522289276123, | |
0.006650582790374756, | |
0.0066427431106567385, | |
0.006637301921844483, | |
0.006631701946258545, | |
0.006634902000427246, | |
0.006619702816009521, | |
0.006656182765960693, | |
0.006623222827911377, | |
0.006602902889251709, | |
0.006665623188018799, | |
0.006621462821960449, | |
0.006642262935638427, | |
0.006623222827911377, | |
0.006648022174835205, | |
0.00667058277130127, | |
0.006646262168884277, | |
0.0066387419700622554, | |
0.006619381904602051, | |
0.006639382839202881, | |
0.00661650276184082, | |
0.006640343189239502, | |
0.006630743026733398, | |
0.006624183177947998, | |
0.006604022979736328, | |
0.006638903141021729, | |
0.0066307420730590825, | |
0.006605301856994629, | |
0.006620983123779297, | |
0.006622582912445068, | |
0.006621142864227295, | |
0.006623383045196533, | |
0.006619863033294678, | |
0.006614902019500732, | |
0.006657782077789306, | |
0.006612983226776123, | |
0.006610581874847412, | |
0.00684386396408081, | |
0.006886424064636231, | |
0.006894904136657715, | |
0.006741783142089844, | |
0.007074423789978027, | |
0.006930903911590576, | |
0.006932024002075195, | |
0.006889304161071777, | |
0.006648983001708984, | |
0.006746743202209473, | |
0.0067288241386413575, | |
0.006667542934417725, | |
0.006731543064117431, | |
0.0067779431343078615, | |
0.006661303043365478, | |
0.006763544082641602, | |
0.006774423122406006, | |
0.006713462829589844, | |
0.006636343002319336, | |
0.006636503219604492, | |
0.006622582912445068, | |
0.006649622917175293, | |
0.006601943016052246, | |
0.006629622936248779, | |
0.006584661960601807, | |
0.006627223014831543, | |
0.006605943202972412, | |
0.006616343021392823, | |
0.00661426305770874, | |
0.006628822803497314, | |
0.00657570219039917, | |
0.006598423004150391, | |
0.006597143173217773, | |
0.0066006631851196285, | |
0.006605621814727783, | |
0.0066277022361755375, | |
0.006631382942199707, | |
0.0066006631851196285, | |
0.0066054630279541015, | |
0.0066102628707885745, | |
0.00663234281539917, | |
0.006624182224273681, | |
0.006622420787811279 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.89024201269953 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |