
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a7b5e56
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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.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": 801.390592, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.8463486328125, | |
"mean": 7.8463486328125, | |
"stdev": 0.0, | |
"p50": 7.8463486328125, | |
"p90": 7.8463486328125, | |
"p95": 7.8463486328125, | |
"p99": 7.8463486328125, | |
"values": [ | |
7.8463486328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.673300361118032e-07, | |
"ram": 4.59918813767371e-07, | |
"gpu": 1.585279045999543e-06, | |
"total": 2.912527895878717e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1097.48224, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 128, | |
"total": 0.998636480331421, | |
"mean": 0.007801847502589225, | |
"stdev": 0.0002573913904986255, | |
"p50": 0.007905184030532836, | |
"p90": 0.008069532966613769, | |
"p95": 0.00812672028541565, | |
"p99": 0.00822090298652649, | |
"values": [ | |
0.008128512382507324, | |
0.008276991844177246, | |
0.008177663803100586, | |
0.008137727737426758, | |
0.008082592010498046, | |
0.008166399955749512, | |
0.008108991622924805, | |
0.008151071548461914, | |
0.007927807807922363, | |
0.007883776187896728, | |
0.007905151844024658, | |
0.007950335979461669, | |
0.00800153636932373, | |
0.007883808135986329, | |
0.007840767860412597, | |
0.008033280372619628, | |
0.008035327911376953, | |
0.008063936233520507, | |
0.008044384002685546, | |
0.007990272045135497, | |
0.00791756820678711, | |
0.007947264194488525, | |
0.007985151767730713, | |
0.00812339210510254, | |
0.007952256202697754, | |
0.007959392070770264, | |
0.007956543922424316, | |
0.008006655693054199, | |
0.007919616222381591, | |
0.007925759792327881, | |
0.008090687751770019, | |
0.007966720104217529, | |
0.007910399913787843, | |
0.007931935787200927, | |
0.007865312099456788, | |
0.007920639991760254, | |
0.007904255867004394, | |
0.007869440078735352, | |
0.007886847972869874, | |
0.0079268798828125, | |
0.00794316816329956, | |
0.008057855606079101, | |
0.008059904098510743, | |
0.00800767993927002, | |
0.008012800216674805, | |
0.008020992279052735, | |
0.008052736282348634, | |
0.008032320022583007, | |
0.008036288261413574, | |
0.008057855606079101, | |
0.007914495944976807, | |
0.007930880069732665, | |
0.007920639991760254, | |
0.007905216217041015, | |
0.00786636781692505, | |
0.007856128215789794, | |
0.007849855899810791, | |
0.008093536376953125, | |
0.007904255867004394, | |
0.007870463848114014, | |
0.007948287963867188, | |
0.00795750379562378, | |
0.007898111820220948, | |
0.007922751903533936, | |
0.007935935974121094, | |
0.008045568466186523, | |
0.008037376403808593, | |
0.00809881591796875, | |
0.008020992279052735, | |
0.008032256126403809, | |
0.007946239948272706, | |
0.007989247798919678, | |
0.007944191932678223, | |
0.007851935863494874, | |
0.007986176013946533, | |
0.008236895561218262, | |
0.007903232097625732, | |
0.007910367965698242, | |
0.007860223770141601, | |
0.00785100793838501, | |
0.007983104228973388, | |
0.007365632057189942, | |
0.007271423816680909, | |
0.007291903972625732, | |
0.007375872135162354, | |
0.007449632167816162, | |
0.007510015964508057, | |
0.007489535808563232, | |
0.007822336196899414, | |
0.008010751724243164, | |
0.007670591831207276, | |
0.007475200176239013, | |
0.007515135765075683, | |
0.007520256042480469, | |
0.007516160011291504, | |
0.007493631839752197, | |
0.007504896163940429, | |
0.007507936000823974, | |
0.007498752117156982, | |
0.007482367992401123, | |
0.007558144092559814, | |
0.00753059196472168, | |
0.00740556812286377, | |
0.0074741759300231934, | |
0.007457791805267334, | |
0.0075038719177246095, | |
0.007442431926727295, | |
0.00743833589553833, | |
0.007502848148345947, | |
0.007513088226318359, | |
0.007416831970214844, | |
0.007445504188537597, | |
0.007469056129455566, | |
0.0074967041015625, | |
0.0074271998405456546, | |
0.007425024032592774, | |
0.007480256080627442, | |
0.007435264110565186, | |
0.0074404158592224125, | |
0.007473152160644531, | |
0.007475200176239013, | |
0.007570432186126709, | |
0.007624703884124756, | |
0.007416831970214844, | |
0.00741974401473999, | |
0.007464928150177002, | |
0.0074403839111328125, | |
0.007605247974395752 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.17476881829933 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.814393627571677e-08, | |
"ram": 4.8191934206617585e-08, | |
"gpu": 1.5935815217777772e-07, | |
"total": 2.9569402266011205e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3381874.2462354684 | |
} | |
} | |
} | |
} |