
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a056b65
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 788.04992, | |
"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.4089921875, | |
"mean": 7.4089921875, | |
"stdev": 0.0, | |
"p50": 7.4089921875, | |
"p90": 7.4089921875, | |
"p95": 7.4089921875, | |
"p99": 7.4089921875, | |
"values": [ | |
7.4089921875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.816992979173539e-07, | |
"ram": 4.6687449555024785e-07, | |
"gpu": 0.0, | |
"total": 1.3485737934676018e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1084.100608, | |
"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.9961186881065364, | |
"mean": 0.00778217725083232, | |
"stdev": 0.000299151683949706, | |
"p50": 0.007899647951126099, | |
"p90": 0.008058572959899903, | |
"p95": 0.008113152265548705, | |
"p99": 0.00828515645980835, | |
"values": [ | |
0.007869440078735352, | |
0.00785814380645752, | |
0.007824384212493896, | |
0.007896063804626464, | |
0.007897088050842285, | |
0.008033280372619628, | |
0.008155136108398438, | |
0.008129535675048828, | |
0.008146944046020508, | |
0.008089599609375, | |
0.00819916820526123, | |
0.00802617645263672, | |
0.0079267840385437, | |
0.007938047885894776, | |
0.007967743873596191, | |
0.00799129581451416, | |
0.00800972843170166, | |
0.008035327911376953, | |
0.007967743873596191, | |
0.007940095901489258, | |
0.007977983951568603, | |
0.00800153636932373, | |
0.008047616004943848, | |
0.008316960334777832, | |
0.008035327911376953, | |
0.00799232006072998, | |
0.008011775970458984, | |
0.00797388792037964, | |
0.008019968032836914, | |
0.008022015571594238, | |
0.007915520191192627, | |
0.007890944004058837, | |
0.007937024116516114, | |
0.007856128215789794, | |
0.007907328128814697, | |
0.00790118408203125, | |
0.00795750379562378, | |
0.008010751724243164, | |
0.008076288223266602, | |
0.008031231880187988, | |
0.00800767993927002, | |
0.007993343830108643, | |
0.007914495944976807, | |
0.007970816135406494, | |
0.008120320320129394, | |
0.008055808067321778, | |
0.007968768119812012, | |
0.00800870418548584, | |
0.007937024116516114, | |
0.007911424160003662, | |
0.007958528041839599, | |
0.007935999870300293, | |
0.007987199783325195, | |
0.007896063804626464, | |
0.007960576057434082, | |
0.00800153636932373, | |
0.008050687789916992, | |
0.007898111820220948, | |
0.007949312210083008, | |
0.008728575706481934, | |
0.008099840164184571, | |
0.008069120407104492, | |
0.008065024375915527, | |
0.008030207633972167, | |
0.007971839904785156, | |
0.008006655693054199, | |
0.007865344047546387, | |
0.007930975914001465, | |
0.007930880069732665, | |
0.007865344047546387, | |
0.007830527782440186, | |
0.007724031925201416, | |
0.007854080200195313, | |
0.007840767860412597, | |
0.007615488052368164, | |
0.007575488090515137, | |
0.007624703884124756, | |
0.007704576015472412, | |
0.007935999870300293, | |
0.007868415832519531, | |
0.007929855823516846, | |
0.007966720104217529, | |
0.008095744132995606, | |
0.007961599826812745, | |
0.007802879810333252, | |
0.007689216136932373, | |
0.007582719802856445, | |
0.007651328086853027, | |
0.007631872177124023, | |
0.007542784214019775, | |
0.007560192108154297, | |
0.0075335679054260255, | |
0.007558207988739013, | |
0.007562240123748779, | |
0.007536640167236328, | |
0.007523327827453613, | |
0.007525375843048096, | |
0.007498752117156982, | |
0.00748748779296875, | |
0.007523327827453613, | |
0.007531519889831543, | |
0.007527423858642578, | |
0.007606272220611572, | |
0.007528448104858398, | |
0.007491583824157715, | |
0.007498752117156982, | |
0.007548927783966064, | |
0.007270400047302246, | |
0.00724070405960083, | |
0.007233535766601563, | |
0.007214079856872559, | |
0.00719974422454834, | |
0.00722431993484497, | |
0.007221248149871826, | |
0.007244800090789795, | |
0.007319551944732666, | |
0.007218175888061523, | |
0.00722431993484497, | |
0.007411712169647216, | |
0.007588863849639893, | |
0.007384064197540283, | |
0.007287807941436767, | |
0.007267327785491944, | |
0.007262207984924316, | |
0.0072468481063842774, | |
0.007230463981628418, | |
0.00724070405960083, | |
0.007241727828979493 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.4987437022265 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.607242958434103e-08, | |
"ram": 4.705740063813014e-08, | |
"gpu": 1.5311405163767748e-07, | |
"total": 2.8624388186014867e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3493524.450204927 | |
} | |
} | |
} | |
} |