
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2af15cb
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.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": 1, | |
"num_choices": 2, | |
"sequence_length": 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.252864, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.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.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": 802.635776, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.83338916015625, | |
"mean": 7.83338916015625, | |
"stdev": 0.0, | |
"p50": 7.83338916015625, | |
"p90": 7.83338916015625, | |
"p95": 7.83338916015625, | |
"p99": 7.83338916015625, | |
"values": [ | |
7.83338916015625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.0180394395833601e-06, | |
"ram": 5.422948658273865e-07, | |
"gpu": 1.6119457339996805e-06, | |
"total": 3.1722800394104275e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.358144, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 0.9996469426155096, | |
"mean": 0.006576624622470454, | |
"stdev": 0.0002467649236097157, | |
"p50": 0.006466048002243042, | |
"p90": 0.0068191232204437265, | |
"p95": 0.006959411311149596, | |
"p99": 0.007486361627578735, | |
"values": [ | |
0.007491583824157715, | |
0.007481344223022461, | |
0.007454783916473389, | |
0.007472127914428711, | |
0.007426047801971435, | |
0.007855103969573975, | |
0.006738944053649902, | |
0.0064440321922302245, | |
0.006479872226715088, | |
0.006464511871337891, | |
0.006416384220123291, | |
0.006460415840148926, | |
0.006433792114257812, | |
0.006451200008392334, | |
0.006467584133148193, | |
0.0064102401733398436, | |
0.006451200008392334, | |
0.0064245758056640625, | |
0.0064542717933654785, | |
0.0064440321922302245, | |
0.006423552036285401, | |
0.00643993616104126, | |
0.006429696083068847, | |
0.006425600051879882, | |
0.006473696231842041, | |
0.0063907837867736815, | |
0.006419487953186035, | |
0.0064133119583129885, | |
0.006397952079772949, | |
0.006429696083068847, | |
0.006437888145446777, | |
0.006418432235717773, | |
0.0064174079895019534, | |
0.006401023864746094, | |
0.006450175762176514, | |
0.006425600051879882, | |
0.006407167911529541, | |
0.006425600051879882, | |
0.006402048110961914, | |
0.006426559925079346, | |
0.006428607940673828, | |
0.006396927833557129, | |
0.006453248023986816, | |
0.0064174079895019534, | |
0.00643993616104126, | |
0.006456319808959961, | |
0.006407167911529541, | |
0.0064471039772033695, | |
0.006423552036285401, | |
0.006546432018280029, | |
0.006453248023986816, | |
0.006403071880340576, | |
0.006442944049835205, | |
0.006437888145446777, | |
0.00642252779006958, | |
0.006469632148742676, | |
0.006495232105255127, | |
0.00643071985244751, | |
0.006445024013519287, | |
0.006398975849151611, | |
0.006432767868041992, | |
0.0064133119583129885, | |
0.00638976001739502, | |
0.006449151992797852, | |
0.006425600051879882, | |
0.006452223777770996, | |
0.006448128223419189, | |
0.006432767868041992, | |
0.006468607902526856, | |
0.0064245758056640625, | |
0.006489088058471679, | |
0.006440959930419922, | |
0.0064204797744750975, | |
0.0064430079460144046, | |
0.0064297599792480465, | |
0.006403071880340576, | |
0.006449151992797852, | |
0.006371327877044678, | |
0.006426623821258545, | |
0.006446080207824707, | |
0.006398975849151611, | |
0.0064245758056640625, | |
0.006426623821258545, | |
0.006481887817382813, | |
0.006453248023986816, | |
0.006384640216827392, | |
0.006440896034240723, | |
0.006409215927124024, | |
0.0064133119583129885, | |
0.0064204797744750975, | |
0.0063846721649169925, | |
0.00643174409866333, | |
0.007012351989746094, | |
0.006536255836486817, | |
0.006609920024871826, | |
0.006574079990386963, | |
0.006527967929840088, | |
0.0065669121742248536, | |
0.006648831844329834, | |
0.0066221442222595215, | |
0.006652927875518798, | |
0.006651904106140137, | |
0.006598559856414795, | |
0.006632448196411133, | |
0.0066344962120056155, | |
0.006626304149627686, | |
0.006646783828735352, | |
0.006618112087249756, | |
0.006612991809844971, | |
0.006648831844329834, | |
0.006639616012573242, | |
0.006612991809844971, | |
0.0066590080261230465, | |
0.00687718391418457, | |
0.006721536159515381, | |
0.006865920066833496, | |
0.006910975933074951, | |
0.00683622407913208, | |
0.006856704235076904, | |
0.006847487926483154, | |
0.0068280320167541505, | |
0.006645760059356689, | |
0.007423999786376953, | |
0.006916096210479736, | |
0.006715392112731934, | |
0.006624320030212402, | |
0.006673408031463623, | |
0.006670335769653321, | |
0.006614016056060791, | |
0.006656000137329102, | |
0.006677504062652588, | |
0.006619135856628418, | |
0.006642687797546387, | |
0.006675456047058105, | |
0.006645760059356689, | |
0.006660096168518067, | |
0.006662144184112549, | |
0.006627327919006347, | |
0.006661119937896728, | |
0.006687744140625, | |
0.006591487884521485, | |
0.006647808074951172, | |
0.0066406397819519045, | |
0.006595583915710449, | |
0.006650879859924317, | |
0.006658048152923584, | |
0.006605823993682861, | |
0.006672383785247803, | |
0.006619135856628418, | |
0.006536191940307618, | |
0.006565887928009034, | |
0.0065669121742248536 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.0536836758608 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.79633037372055e-08, | |
"ram": 4.2625488765240266e-08, | |
"gpu": 1.4083710097368674e-07, | |
"total": 2.614258934761325e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3825175.7953398656 | |
} | |
} | |
} | |
} |