IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ba99c93 verified
raw
history blame
12.1 kB
{
"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.293824,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.219-208.866.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.3.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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": 718.184448,
"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.213958984375,
"mean": 7.213958984375,
"stdev": 0.0,
"p50": 7.213958984375,
"p90": 7.213958984375,
"p95": 7.213958984375,
"p99": 7.213958984375,
"values": [
7.213958984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.771787087122599e-07,
"ram": 4.651102166411647e-07,
"gpu": 2.0038904920000045e-06,
"total": 3.346179417353429e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 917.89312,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 145,
"total": 1.0006978888511657,
"mean": 0.006901364750697695,
"stdev": 0.00021424879033688461,
"p50": 0.006821887969970703,
"p90": 0.007105536079406738,
"p95": 0.007267737674713134,
"p99": 0.007563141136169434,
"values": [
0.00765235185623169,
0.007442431926727295,
0.007449600219726562,
0.007414847850799561,
0.007342080116271973,
0.008000479698181153,
0.0071188478469848635,
0.00678604793548584,
0.006779935836791992,
0.006766592025756836,
0.006740928173065186,
0.006780928134918213,
0.006782976150512696,
0.006760447978973389,
0.0067717118263244626,
0.006774784088134766,
0.006744063854217529,
0.006723584175109864,
0.006730751991271973,
0.006732800006866455,
0.006732800006866455,
0.00673689603805542,
0.00674508810043335,
0.006738944053649902,
0.006709248065948486,
0.0068577280044555666,
0.006751200199127197,
0.006716415882110595,
0.006740992069244385,
0.006782976150512696,
0.006765567779541016,
0.006731776237487793,
0.006732800006866455,
0.006717472076416015,
0.006778880119323731,
0.006821887969970703,
0.006740992069244385,
0.006702079772949219,
0.006761504173278809,
0.006715392112731934,
0.006852608203887939,
0.006738944053649902,
0.006730751991271973,
0.006692863941192627,
0.006731776237487793,
0.006738944053649902,
0.006715392112731934,
0.006726655960083008,
0.006660096168518067,
0.006638591766357422,
0.006675456047058105,
0.006708223819732666,
0.006677504062652588,
0.006681600093841553,
0.0067338237762451176,
0.0067041277885437015,
0.006683648109436035,
0.006719488143920899,
0.006927360057830811,
0.006928351879119873,
0.006975488185882568,
0.007036928176879883,
0.006980607986450196,
0.006986752033233643,
0.007021567821502686,
0.007017471790313721,
0.006973440170288086,
0.0069918718338012695,
0.007018496036529541,
0.007065599918365479,
0.007011328220367432,
0.006709248065948486,
0.0067276802062988285,
0.006738944053649902,
0.006703104019165039,
0.006715392112731934,
0.006716415882110595,
0.006717440128326416,
0.006702079772949219,
0.006718463897705078,
0.006700032234191895,
0.006726655960083008,
0.006744063854217529,
0.006742976188659668,
0.006703104019165039,
0.006723584175109864,
0.006725632190704346,
0.006688767910003662,
0.006732863903045654,
0.0067041277885437015,
0.0067010560035705566,
0.0067348480224609375,
0.006789120197296142,
0.006917119979858399,
0.006706175804138184,
0.00674508810043335,
0.007200767993927002,
0.007102464199066162,
0.00707583999633789,
0.007097343921661377,
0.007087103843688965,
0.00708403205871582,
0.0071015038490295414,
0.007107583999633789,
0.007071743965148926,
0.007039999961853028,
0.007051263809204102,
0.007207935810089112,
0.006994944095611572,
0.007028736114501953,
0.006993919849395752,
0.007000063896179199,
0.007029759883880615,
0.007039999961853028,
0.00704307222366333,
0.006978559970855713,
0.007004159927368164,
0.006990848064422607,
0.006961152076721191,
0.006975488185882568,
0.0073768959045410155,
0.007020544052124023,
0.006986720085144043,
0.007282688140869141,
0.007124991893768311,
0.007027711868286133,
0.007027711868286133,
0.007031807899475098,
0.0069928960800170895,
0.007171072006225586,
0.007007232189178467,
0.007000127792358399,
0.007010303974151612,
0.006975488185882568,
0.007020544052124023,
0.007000063896179199,
0.007004159927368164,
0.006977536201477051,
0.0069918718338012695,
0.006998015880584717,
0.006989823818206787,
0.007001088142395019,
0.006989823818206787,
0.006990848064422607,
0.007173056125640869
]
},
"throughput": {
"unit": "samples/s",
"value": 144.89887668941202
},
"energy": {
"unit": "kWh",
"cpu": 8.458315971351805e-08,
"ram": 4.6236710265048943e-08,
"gpu": 1.7745053878571743e-07,
"total": 3.0827040876428444e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3243905.258401363
}
}
}
}