
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ffc91e1
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 722.153472, | |
"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.2172431640625, | |
"mean": 7.2172431640625, | |
"stdev": 0.0, | |
"p50": 7.2172431640625, | |
"p90": 7.2172431640625, | |
"p95": 7.2172431640625, | |
"p99": 7.2172431640625, | |
"values": [ | |
7.2172431640625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.837918680556179e-07, | |
"ram": 4.686405211991151e-07, | |
"gpu": 1.8577792640001901e-06, | |
"total": 3.210211653254923e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 922.161152, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.99744441652298, | |
"mean": 0.007280616178999852, | |
"stdev": 0.00023034300708532092, | |
"p50": 0.007176191806793213, | |
"p90": 0.007590707206726074, | |
"p95": 0.007726080131530762, | |
"p99": 0.007863336944580076, | |
"values": [ | |
0.007746560096740723, | |
0.007781343936920166, | |
0.007756768226623535, | |
0.0077209601402282715, | |
0.007790592193603516, | |
0.00753766393661499, | |
0.007613440036773681, | |
0.007547904014587403, | |
0.0072468481063842774, | |
0.007187456130981445, | |
0.007211008071899414, | |
0.007166975975036621, | |
0.007090176105499267, | |
0.007108607769012451, | |
0.007131135940551757, | |
0.007186431884765625, | |
0.007196671962738037, | |
0.007189504146575928, | |
0.007208960056304932, | |
0.007139328002929687, | |
0.007134208202362061, | |
0.007164927959442138, | |
0.007186431884765625, | |
0.007176191806793213, | |
0.007208960056304932, | |
0.007192575931549072, | |
0.007143424034118652, | |
0.007105535984039306, | |
0.007192575931549072, | |
0.007156735897064209, | |
0.007174143791198731, | |
0.007159808158874512, | |
0.007234560012817383, | |
0.0075673599243164065, | |
0.007479296207427978, | |
0.0074332160949707035, | |
0.007457791805267334, | |
0.007473152160644531, | |
0.007512032032012939, | |
0.007507967948913574, | |
0.00753766393661499, | |
0.007517183780670166, | |
0.007174143791198731, | |
0.007150591850280762, | |
0.007104512214660645, | |
0.007139328002929687, | |
0.007189504146575928, | |
0.007156735897064209, | |
0.007180287837982178, | |
0.007166975975036621, | |
0.007044095993041993, | |
0.007090176105499267, | |
0.007787519931793213, | |
0.007575551986694336, | |
0.007492544174194336, | |
0.007448575973510742, | |
0.0074414081573486324, | |
0.007477248191833496, | |
0.007418879985809326, | |
0.0074403839111328125, | |
0.007477248191833496, | |
0.007548927783966064, | |
0.007631872177124023, | |
0.007904255867004394, | |
0.00765235185623169, | |
0.0076390719413757325, | |
0.008429568290710449, | |
0.0076195521354675295, | |
0.007527423858642578, | |
0.007649280071258545, | |
0.007491583824157715, | |
0.007390207767486572, | |
0.007356416225433349, | |
0.007288767814636231, | |
0.00740556812286377, | |
0.007280640125274658, | |
0.007218175888061523, | |
0.0071157760620117185, | |
0.0071833600997924804, | |
0.007308288097381592, | |
0.007373824119567871, | |
0.007437312126159668, | |
0.007419871807098389, | |
0.007482367992401123, | |
0.007566336154937744, | |
0.0073994240760803225, | |
0.007288832187652588, | |
0.007209983825683594, | |
0.007208960056304932, | |
0.007165952205657959, | |
0.0073062400817871095, | |
0.007139328002929687, | |
0.007117824077606201, | |
0.0071188478469848635, | |
0.007078911781311035, | |
0.007095295906066895, | |
0.007114751815795899, | |
0.007107583999633789, | |
0.007095295906066895, | |
0.007097343921661377, | |
0.00707587194442749, | |
0.0070891518592834475, | |
0.007126016139984131, | |
0.007068672180175781, | |
0.007081984043121338, | |
0.007122943878173828, | |
0.007128064155578613, | |
0.007106560230255127, | |
0.0070522880554199216, | |
0.0070522880554199216, | |
0.007098368167877197, | |
0.007096320152282715, | |
0.0071526398658752445, | |
0.007162879943847656, | |
0.00710041618347168, | |
0.007164927959442138, | |
0.00710041618347168, | |
0.007089183807373047, | |
0.007076863765716553, | |
0.007093247890472412, | |
0.007090176105499267, | |
0.0071526398658752445, | |
0.007142399787902832, | |
0.007134208202362061, | |
0.0070891518592834475, | |
0.007096320152282715, | |
0.007046144008636474, | |
0.007039999961853028, | |
0.007076863765716553, | |
0.00708403205871582, | |
0.007110655784606934, | |
0.007065599918365479, | |
0.007095295906066895, | |
0.007123968124389648, | |
0.007123968124389648, | |
0.007095295906066895, | |
0.007143424034118652 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.35101197675982 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.318170197649493e-08, | |
"ram": 4.533946710719316e-08, | |
"gpu": 1.649243743636375e-07, | |
"total": 2.9344554344732557e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3407787.31294484 | |
} | |
} | |
} | |
} |