IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d349a75 verified
raw
history blame
11.6 kB
{
"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": 788.037632,
"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.345072265625,
"mean": 7.345072265625,
"stdev": 0.0,
"p50": 7.345072265625,
"p90": 7.345072265625,
"p95": 7.345072265625,
"p99": 7.345072265625,
"values": [
7.345072265625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.003633736109783e-07,
"ram": 4.781507278416848e-07,
"gpu": 1.7694458599999512e-06,
"total": 3.1479599614526143e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1083.129856,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 134,
"total": 0.997656638622284,
"mean": 0.007445198795688685,
"stdev": 0.00036572615390837034,
"p50": 0.007420928001403809,
"p90": 0.007548620653152466,
"p95": 0.007742054533958435,
"p99": 0.009056133384704575,
"values": [
0.01064345645904541,
0.009449472427368164,
0.007987199783325195,
0.007889920234680176,
0.007863296031951903,
0.008257535934448243,
0.007327744007110596,
0.007321599960327148,
0.007329823970794677,
0.007275519847869873,
0.0072427520751953125,
0.007266304016113281,
0.0073134078979492185,
0.007301119804382325,
0.007228415966033935,
0.007223392009735107,
0.007243775844573975,
0.007205887794494629,
0.0072130560874938965,
0.007237631797790528,
0.007278592109680176,
0.007250944137573242,
0.007320576190948487,
0.007316480159759522,
0.007224287986755371,
0.007280799865722656,
0.00722431993484497,
0.0072468481063842774,
0.007256063938140869,
0.007287807941436767,
0.007294976234436036,
0.007270336151123047,
0.007243775844573975,
0.007235583782196045,
0.0072540159225463864,
0.007218175888061523,
0.007206912040710449,
0.007225344181060791,
0.007268256187438965,
0.007294976234436036,
0.007299071788787842,
0.007270400047302246,
0.007209983825683594,
0.007215104103088379,
0.00721619176864624,
0.007233535766601563,
0.007231488227844239,
0.007475200176239013,
0.007363584041595459,
0.007268352031707764,
0.007294079780578613,
0.007228415966033935,
0.007308288097381592,
0.007324672222137451,
0.007309343814849854,
0.007336959838867187,
0.007236608028411865,
0.007222271919250488,
0.0072642240524291996,
0.007416831970214844,
0.007510015964508057,
0.007547904014587403,
0.007562240123748779,
0.007497727870941162,
0.0074670081138610836,
0.007519231796264648,
0.007495552062988281,
0.007548927783966064,
0.007527423858642578,
0.007458816051483155,
0.007452672004699707,
0.007472127914428711,
0.007435264110565186,
0.007455743789672851,
0.007507967948913574,
0.007458752155303955,
0.007504896163940429,
0.00748857593536377,
0.0075038719177246095,
0.007507967948913574,
0.007481344223022461,
0.007457791805267334,
0.0075038719177246095,
0.007515135765075683,
0.007534560203552246,
0.007527423858642578,
0.007516096115112305,
0.007519231796264648,
0.007477375984191894,
0.007442431926727295,
0.007480319976806641,
0.007490528106689453,
0.0075335679054260255,
0.007729152202606201,
0.0074659519195556644,
0.007349247932434082,
0.007336959838867187,
0.007277567863464355,
0.0073359360694885255,
0.007410816192626953,
0.007368703842163086,
0.007398399829864502,
0.007485439777374267,
0.007465983867645264,
0.0074106879234313965,
0.007425024032592774,
0.007601151943206787,
0.007401472091674805,
0.007434239864349365,
0.0074301438331604,
0.007385087966918945,
0.007211008071899414,
0.007370751857757568,
0.007449632167816162,
0.007479296207427978,
0.007472224235534668,
0.007441215991973877,
0.007766016006469726,
0.007582719802856445,
0.007451648235321045,
0.007662591934204102,
0.007443456172943115,
0.007599103927612305,
0.007403456211090088,
0.007441311836242676,
0.00747324800491333,
0.007469056129455566,
0.007428095817565918,
0.007426047801971435,
0.007444479942321777,
0.007413760185241699,
0.007478208065032959,
0.007457791805267334,
0.007432191848754883
]
},
"throughput": {
"unit": "samples/s",
"value": 134.31474799290424
},
"energy": {
"unit": "kWh",
"cpu": 8.767609443930046e-08,
"ram": 4.793444318431712e-08,
"gpu": 1.6417297084444674e-07,
"total": 2.997835084680643e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3335740.5319263227
}
}
}
}