
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0ae0835
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.33.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": 786.931712, | |
"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.41892626953125, | |
"mean": 7.41892626953125, | |
"stdev": 0.0, | |
"p50": 7.41892626953125, | |
"p90": 7.41892626953125, | |
"p95": 7.41892626953125, | |
"p99": 7.41892626953125, | |
"values": [ | |
7.41892626953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.781584930553996e-07, | |
"ram": 4.6538315207225075e-07, | |
"gpu": 1.7744458640001938e-06, | |
"total": 3.1179875091278443e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1082.269696, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 1.0005490565299986, | |
"mean": 0.007696531204076914, | |
"stdev": 0.00026188267485803465, | |
"p50": 0.0076252160072326665, | |
"p90": 0.008009113788604737, | |
"p95": 0.008181554794311523, | |
"p99": 0.008294635667800903, | |
"values": [ | |
0.008203264236450195, | |
0.00829849624633789, | |
0.00820736026763916, | |
0.0081725435256958, | |
0.008246208190917969, | |
0.008116224288940429, | |
0.007968768119812012, | |
0.007951392173767089, | |
0.007890944004058837, | |
0.007895040035247802, | |
0.007925759792327881, | |
0.007910399913787843, | |
0.007847936153411865, | |
0.007854080200195313, | |
0.00790937614440918, | |
0.007930880069732665, | |
0.007917503833770751, | |
0.007970880031585694, | |
0.00818892765045166, | |
0.007905280113220215, | |
0.007774208068847656, | |
0.008012800216674805, | |
0.007948287963867188, | |
0.007895040035247802, | |
0.00783462381362915, | |
0.008104991912841798, | |
0.007865344047546387, | |
0.007927807807922363, | |
0.007885824203491211, | |
0.007921664237976075, | |
0.007794688224792481, | |
0.007805952072143555, | |
0.007915520191192627, | |
0.00785203218460083, | |
0.007883776187896728, | |
0.008375295639038086, | |
0.00789299201965332, | |
0.007916543960571289, | |
0.00808243179321289, | |
0.008117247581481933, | |
0.00800870418548584, | |
0.007975935935974121, | |
0.007838719844818116, | |
0.0077916159629821775, | |
0.007913407802581787, | |
0.007983104228973388, | |
0.007870463848114014, | |
0.007889920234680176, | |
0.007856128215789794, | |
0.007831552028656007, | |
0.0078438401222229, | |
0.00783462381362915, | |
0.007888895988464355, | |
0.00759500789642334, | |
0.007504896163940429, | |
0.007554048061370849, | |
0.007572480201721191, | |
0.007592959880828858, | |
0.007558047771453857, | |
0.007549888134002686, | |
0.007539711952209473, | |
0.007650303840637207, | |
0.007699456214904785, | |
0.007602176189422607, | |
0.007557119846343994, | |
0.007567296028137207, | |
0.00753868818283081, | |
0.007569407939910889, | |
0.007507967948913574, | |
0.007531519889831543, | |
0.007501823902130127, | |
0.007529471874237061, | |
0.007460896015167236, | |
0.007341055870056152, | |
0.007631872177124023, | |
0.007880703926086426, | |
0.007625728130340576, | |
0.007480319976806641, | |
0.007624703884124756, | |
0.007635968208312988, | |
0.007817215919494629, | |
0.007831552028656007, | |
0.007797760009765625, | |
0.007963647842407226, | |
0.008285183906555176, | |
0.007619647979736328, | |
0.007479328155517578, | |
0.007484416007995606, | |
0.007489471912384033, | |
0.007498784065246582, | |
0.007510975837707519, | |
0.0074926080703735356, | |
0.0074414081573486324, | |
0.007574528217315674, | |
0.00742195177078247, | |
0.007455743789672851, | |
0.007420928001403809, | |
0.00743225622177124, | |
0.007373824119567871, | |
0.0074002881050109865, | |
0.0074301438331604, | |
0.0074106879234313965, | |
0.007402495861053467, | |
0.0074301438331604, | |
0.0076912641525268555, | |
0.007449600219726562, | |
0.007455743789672851, | |
0.007472127914428711, | |
0.00744755220413208, | |
0.007423999786376953, | |
0.007461887836456299, | |
0.007423999786376953, | |
0.007452672004699707, | |
0.007550943851470948, | |
0.007386112213134765, | |
0.007367680072784424, | |
0.007286784172058106, | |
0.007292928218841553, | |
0.007304192066192627, | |
0.007309311866760254, | |
0.007309311866760254, | |
0.007370751857757568, | |
0.007429183959960938, | |
0.0074403839111328125, | |
0.007472127914428711, | |
0.007404543876647949, | |
0.007360511779785156, | |
0.00744755220413208, | |
0.00744652795791626, | |
0.007577600002288819 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.92866181979383 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.912481672932352e-08, | |
"ram": 4.8726164977089306e-08, | |
"gpu": 1.726588682857137e-07, | |
"total": 3.1050984999212654e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3220509.7520267284 | |
} | |
} | |
} | |
} |