IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
08e6e2c verified
raw
history blame
13.2 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.5.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": 2,
"sequence_length": 16,
"num_choices": 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.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.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.5.0.dev0",
"optimum_benchmark_commit": null,
"transformers_version": "4.46.3",
"transformers_commit": null,
"accelerate_version": "1.1.1",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": "0.13.2",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 823.517184,
"max_global_vram": 1192.7552,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 499.37152
},
"latency": {
"unit": "s",
"values": [
0.07378739166259765
],
"count": 1,
"total": 0.07378739166259765,
"mean": 0.07378739166259765,
"p50": 0.07378739166259765,
"p90": 0.07378739166259765,
"p95": 0.07378739166259765,
"p99": 0.07378739166259765,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00010649017221041707,
"ram": 5.834609569613096e-05,
"gpu": 0.00013956538942999988,
"total": 0.0003044016573365479
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1100.894208,
"max_global_vram": 1207.435264,
"max_process_vram": 0.0,
"max_reserved": 559.939584,
"max_allocated": 510.51264
},
"latency": {
"unit": "s",
"values": [
0.0060702719688415525,
0.005805056095123291,
0.005790719985961914,
0.006379519939422608,
0.0061756157875061035,
0.006064127922058105,
0.006100992202758789,
0.006036384105682373,
0.006085631847381592,
0.005987328052520752,
0.006008895874023437,
0.006072319984436035,
0.005994559764862061,
0.005989376068115234,
0.006206463813781738,
0.0059985918998718265,
0.006194176197052002,
0.005979135990142822,
0.0060067839622497555,
0.005994495868682862,
0.005993472099304199,
0.006031360149383545,
0.0060590081214904785,
0.006012928009033203,
0.006004703998565674,
0.006080512046813965,
0.005997568130493164,
0.006017024040222168,
0.006164480209350586,
0.006032383918762207,
0.006157311916351318,
0.0060919361114501955,
0.006484896183013916,
0.006121471881866455,
0.006035327911376953,
0.006154240131378174,
0.005946368217468262,
0.005929887771606445,
0.005907455921173096,
0.005898240089416504,
0.005909503936767578,
0.0059955201148986816,
0.005884928226470947,
0.005940288066864014,
0.005912576198577881,
0.005943295955657959,
0.005896192073822021,
0.006049791812896729,
0.006032383918762207,
0.006008831977844238,
0.005952511787414551,
0.006064127922058105,
0.006111231803894043,
0.005986303806304932,
0.005991424083709717,
0.0059699201583862304,
0.0059658241271972655,
0.005899263858795166,
0.005944320201873779,
0.005913599967956543,
0.005900288105010986,
0.005781504154205322,
0.005673984050750733,
0.005708799839019775,
0.005756927967071533,
0.005786496162414551,
0.005720064163208007,
0.005746880054473877,
0.00591871976852417,
0.0061216001510620115,
0.005751808166503906,
0.00587775993347168,
0.00582144021987915,
0.00582860803604126,
0.005934080123901367,
0.005752895832061768,
0.005817344188690185,
0.005746687889099121,
0.005862336158752441,
0.00576204776763916,
0.005776383876800537,
0.00578550386428833,
0.005806047916412354,
0.005819392204284668,
0.005786623954772949,
0.005784575939178467,
0.005848063945770264,
0.005783552169799804,
0.005696415901184082,
0.005740543842315674,
0.005693439960479736,
0.005846015930175781,
0.006077439785003662,
0.005808127880096436,
0.005794816017150879,
0.006069248199462891,
0.00643891191482544,
0.00605299186706543,
0.0064858880043029785,
0.00606822395324707,
0.00595359992980957,
0.005972991943359375,
0.0058850240707397465,
0.005942272186279297,
0.005821407794952393,
0.005817344188690185,
0.005748703956604004,
0.005794816017150879,
0.005764095783233642,
0.006048672199249268,
0.005923840045928955,
0.0062864961624145505,
0.006024191856384278,
0.0060065598487854,
0.005929984092712402,
0.0059996161460876465,
0.0060282878875732426,
0.006196224212646485,
0.007814144134521485,
0.007456768035888672,
0.006288383960723877,
0.005971968173980713,
0.005988351821899414,
0.00602726411819458,
0.005941247940063477,
0.006096896171569824,
0.005979135990142822,
0.006159359931945801,
0.006145023822784424,
0.005997568130493164,
0.005933055877685547,
0.006098048210144043,
0.005963679790496826,
0.0059688959121704105,
0.005940224170684814,
0.005996543884277344,
0.005950463771820068,
0.005827487945556641,
0.005719200134277343,
0.005717951774597168,
0.00568832015991211,
0.005662720203399658,
0.0059658241271972655,
0.005898240089416504,
0.00592793607711792,
0.006046720027923584,
0.0058716158866882326,
0.005889023780822754,
0.005881855964660645,
0.0057149438858032225,
0.005698592185974121,
0.00567193603515625,
0.005755904197692871,
0.005705728054046631,
0.005734367847442627,
0.0057825279235839844,
0.005720064163208007,
0.005736447811126709,
0.0057077760696411135,
0.005837823867797852,
0.005730303764343261,
0.005796864032745362,
0.00582860803604126,
0.005679103851318359,
0.005689311981201172,
0.005692416191101074,
0.005836832046508789,
0.005646336078643799
],
"count": 168,
"total": 0.9997892804145818,
"mean": 0.005951126669134413,
"p50": 0.005940768003463746,
"p90": 0.006128627252578736,
"p95": 0.0062028799533844,
"p99": 0.00680627841472627,
"stdev": 0.00024730796680390684,
"stdev_": 4.155649519049434
},
"throughput": {
"unit": "samples/s",
"value": 336.070816703167
},
"energy": {
"unit": "kWh",
"cpu": 7.331156714249046e-08,
"ram": 4.006301714135872e-08,
"gpu": 1.8442915988888957e-07,
"total": 2.978037441727386e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 6715832.285976621
}
}
}
}