
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
8245684
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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 799.240192, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.374592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.04509375, | |
"mean": 8.04509375, | |
"stdev": 0.0, | |
"p50": 8.04509375, | |
"p90": 8.04509375, | |
"p95": 8.04509375, | |
"p99": 8.04509375, | |
"values": [ | |
8.04509375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.4930966437482186e-06, | |
"ram": 1.347395651804619e-06, | |
"gpu": 3.194724777999536e-06, | |
"total": 7.0352170735523735e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1089.773568, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 508.993024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 0.998395616531372, | |
"mean": 0.006568392214022184, | |
"stdev": 0.000230086479364007, | |
"p50": 0.006479871988296509, | |
"p90": 0.006748979330062866, | |
"p95": 0.006829107356071472, | |
"p99": 0.007522416820526123, | |
"values": [ | |
0.007502848148345947, | |
0.007490560054779053, | |
0.007542784214019775, | |
0.007425024032592774, | |
0.007402495861053467, | |
0.007610367774963379, | |
0.006677440166473389, | |
0.0064737281799316405, | |
0.006525951862335205, | |
0.006542335987091064, | |
0.0064737281799316405, | |
0.006481919765472412, | |
0.006445055961608887, | |
0.0064767999649047855, | |
0.006532127857208252, | |
0.006433792114257812, | |
0.00648089599609375, | |
0.006449151992797852, | |
0.006465536117553711, | |
0.006467584133148193, | |
0.006418432235717773, | |
0.0064440321922302245, | |
0.006468607902526856, | |
0.006449151992797852, | |
0.006496255874633789, | |
0.00643993616104126, | |
0.006453248023986816, | |
0.006465536117553711, | |
0.006434815883636475, | |
0.00648089599609375, | |
0.006457344055175781, | |
0.006409215927124024, | |
0.006464511871337891, | |
0.006426623821258545, | |
0.006446080207824707, | |
0.0064676799774169924, | |
0.006412288188934326, | |
0.006469632148742676, | |
0.006404096126556396, | |
0.0063498239517211915, | |
0.006428671836853027, | |
0.006372352123260498, | |
0.006416384220123291, | |
0.006393856048583985, | |
0.006398975849151611, | |
0.006409215927124024, | |
0.006499328136444092, | |
0.006569983959197998, | |
0.006551551818847656, | |
0.006475776195526123, | |
0.006526976108551025, | |
0.006545407772064209, | |
0.0064430079460144046, | |
0.006461440086364746, | |
0.006384640216827392, | |
0.006467584133148193, | |
0.006437888145446777, | |
0.00642252779006958, | |
0.006469632148742676, | |
0.006416384220123291, | |
0.0064102401733398436, | |
0.006435840129852295, | |
0.006370304107666015, | |
0.006403071880340576, | |
0.00638976001739502, | |
0.006367231845855713, | |
0.006400000095367431, | |
0.006358975887298584, | |
0.0063907837867736815, | |
0.006453248023986816, | |
0.006423552036285401, | |
0.0064880638122558594, | |
0.006408192157745361, | |
0.006449151992797852, | |
0.006457344055175781, | |
0.006457344055175781, | |
0.006470655918121338, | |
0.006478847980499268, | |
0.006401023864746094, | |
0.006721536159515381, | |
0.00673689603805542, | |
0.0065669121742248536, | |
0.006493184089660644, | |
0.006437888145446777, | |
0.006500351905822754, | |
0.006490047931671143, | |
0.0065996479988098145, | |
0.006661119937896728, | |
0.006657023906707763, | |
0.006616064071655273, | |
0.006651904106140137, | |
0.006652927875518798, | |
0.006625279903411865, | |
0.006670335769653321, | |
0.0066416640281677245, | |
0.006608895778656006, | |
0.006668223857879639, | |
0.0067010560035705566, | |
0.006619135856628418, | |
0.006669280052185059, | |
0.006653952121734619, | |
0.006661119937896728, | |
0.006612991809844971, | |
0.006459392070770263, | |
0.006348800182342529, | |
0.006398975849151611, | |
0.006368256092071533, | |
0.006395904064178467, | |
0.006404032230377197, | |
0.0063508481979370115, | |
0.006391808032989502, | |
0.006356959819793701, | |
0.006411263942718506, | |
0.006553599834442139, | |
0.0068249602317810056, | |
0.006834176063537598, | |
0.006747136116027832, | |
0.006800384044647217, | |
0.006749184131622315, | |
0.00676966381072998, | |
0.006789087772369385, | |
0.006672383785247803, | |
0.006723584175109864, | |
0.006709248065948486, | |
0.006646815776824951, | |
0.006700032234191895, | |
0.006702079772949219, | |
0.006621183872222901, | |
0.006690815925598144, | |
0.006654975891113281, | |
0.0066119999885559085, | |
0.0066826238632202144, | |
0.006796288013458252, | |
0.006652927875518798, | |
0.006482944011688232, | |
0.0064542717933654785, | |
0.006415359973907471, | |
0.006495232105255127, | |
0.006468607902526856, | |
0.006729728221893311, | |
0.006468607902526856, | |
0.006496255874633789, | |
0.00708403205871582, | |
0.006806528091430664, | |
0.0067123198509216305, | |
0.006649856090545654, | |
0.006710271835327148, | |
0.006758399963378906, | |
0.006624256134033203, | |
0.006617055892944336, | |
0.006459392070770263, | |
0.006362112045288086 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.2442581710031 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.874059085264273e-08, | |
"ram": 4.2920892487551486e-08, | |
"gpu": 1.3855235513908392e-07, | |
"total": 2.6021383847927816e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3842993.1545690405 | |
} | |
} | |
} | |
} |