
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3c5ebdf
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_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": 2, | |
"sequence_length": 16, | |
"num_choices": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 817.483776, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.09230028533935547 | |
], | |
"count": 1, | |
"total": 0.09230028533935547, | |
"mean": 0.09230028533935547, | |
"p50": 0.09230028533935547, | |
"p90": 0.09230028533935547, | |
"p95": 0.09230028533935547, | |
"p99": 0.09230028533935547, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.648098572361319e-05, | |
"ram": 5.285972919885396e-05, | |
"gpu": 0.0001350239969079986, | |
"total": 0.0002843647118304657 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1086.001152, | |
"max_global_vram": 1205.338112, | |
"max_process_vram": 0.0, | |
"max_reserved": 557.842432, | |
"max_allocated": 509.729792 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0064236159324646, | |
0.006090752124786377, | |
0.006120384216308594, | |
0.006051839828491211, | |
0.00608358383178711, | |
0.006025184154510498, | |
0.0059985918998718265, | |
0.006002624034881592, | |
0.006012928009033203, | |
0.00601087999343872, | |
0.006022143840789795, | |
0.006023168087005615, | |
0.006004735946655273, | |
0.005892096042633056, | |
0.005908480167388916, | |
0.005913599967956543, | |
0.005944320201873779, | |
0.005960703849792481, | |
0.006009856224060059, | |
0.005988351821899414, | |
0.006014976024627685, | |
0.0060702719688415525, | |
0.006306816101074219, | |
0.00637337589263916, | |
0.006311935901641846, | |
0.006534143924713135, | |
0.006388800144195557, | |
0.006387775897979737, | |
0.006404064178466797, | |
0.0062740478515625, | |
0.006260735988616943, | |
0.0063211522102355954, | |
0.006557695865631104, | |
0.006446112155914307, | |
0.006546432018280029, | |
0.006142975807189942, | |
0.006139904022216797, | |
0.006040639877319336, | |
0.006136832237243653, | |
0.006100992202758789, | |
0.006093823909759521, | |
0.006042623996734619, | |
0.006151167869567871, | |
0.00618393611907959, | |
0.006121471881866455, | |
0.006299647808074951, | |
0.006432767868041992, | |
0.006453248023986816, | |
0.0063640961647033695, | |
0.006435840129852295, | |
0.006418432235717773, | |
0.006120448112487793, | |
0.006061056137084961, | |
0.006104063987731933, | |
0.006182911872863769, | |
0.006011903762817383, | |
0.00619212818145752, | |
0.006191103935241699, | |
0.006203392028808594, | |
0.006252543926239014, | |
0.006262784004211426, | |
0.0062156801223754886, | |
0.006206463813781738, | |
0.006362112045288086, | |
0.006159359931945801, | |
0.006108160018920898, | |
0.006161407947540283, | |
0.006096896171569824, | |
0.006065152168273926, | |
0.006053887844085694, | |
0.006345727920532227, | |
0.005895167827606201, | |
0.006071296215057373, | |
0.006239232063293457, | |
0.005909440040588379, | |
0.00586137580871582, | |
0.006081535816192627, | |
0.006196224212646485, | |
0.006205440044403076, | |
0.00613478422164917, | |
0.0063610877990722655, | |
0.0062986879348754885, | |
0.006433728218078613, | |
0.006429696083068847, | |
0.006419456005096436, | |
0.006453248023986816, | |
0.006493184089660644, | |
0.006388735771179199, | |
0.006344704151153564, | |
0.006162432193756104, | |
0.006109183788299561, | |
0.006115359783172607, | |
0.006144000053405762, | |
0.00637440013885498, | |
0.007258111953735351, | |
0.006325247764587402, | |
0.006022143840789795, | |
0.005810175895690918, | |
0.006171648025512695, | |
0.006080512046813965, | |
0.005994495868682862, | |
0.006152128219604492, | |
0.005921792030334472, | |
0.0058716158866882326, | |
0.005825535774230957, | |
0.005850111961364746, | |
0.005815296173095703, | |
0.005856256008148194, | |
0.0058091521263122555, | |
0.005836800098419189, | |
0.005807168006896972, | |
0.005847040176391601, | |
0.005874688148498535, | |
0.005944320201873779, | |
0.006235136032104492, | |
0.006046720027923584, | |
0.0059361281394958495, | |
0.006042623996734619, | |
0.006188032150268555, | |
0.0059688959121704105, | |
0.005929984092712402, | |
0.005929952144622803, | |
0.005932032108306885, | |
0.005954559803009033, | |
0.005911551952362061, | |
0.006052864074707031, | |
0.005949440002441406, | |
0.005960703849792481, | |
0.005917695999145508, | |
0.005953536033630371, | |
0.0059351038932800295, | |
0.005950463771820068, | |
0.005923840045928955, | |
0.0059688959121704105, | |
0.005931007862091065, | |
0.005958655834197998, | |
0.005931007862091065, | |
0.006273024082183838, | |
0.005964799880981446, | |
0.00597811222076416, | |
0.005917695999145508, | |
0.005949440002441406, | |
0.006102015972137451, | |
0.006281216144561768, | |
0.006073344230651856, | |
0.005967872142791748, | |
0.005922815799713135, | |
0.005984255790710449, | |
0.006009888172149658, | |
0.005988351821899414, | |
0.005938176155090332, | |
0.005959680080413818, | |
0.006020095825195313, | |
0.005960703849792481, | |
0.005909503936767578, | |
0.006060031890869141, | |
0.005920767784118652, | |
0.0059770879745483394, | |
0.005917695999145508, | |
0.005954559803009033, | |
0.005944320201873779, | |
0.005966847896575928, | |
0.005909503936767578 | |
], | |
"count": 163, | |
"total": 0.9951590399742125, | |
"mean": 0.006105270183890876, | |
"p50": 0.006060031890869141, | |
"p90": 0.006388787269592285, | |
"p95": 0.0064356289386749265, | |
"p99": 0.0065507122802734375, | |
"stdev": 0.00020433496425667258, | |
"stdev_": 3.3468619422580628 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 327.58582990759703 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.414629178385741e-08, | |
"ram": 4.051394038855226e-08, | |
"gpu": 1.6308346379999587e-07, | |
"total": 2.777436959724057e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7200883.5087969145 | |
} | |
} | |
} | |
} |