IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
658aa8e verified
raw
history blame
11.8 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.80704,
"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.234275390625,
"mean": 7.234275390625,
"stdev": 0.0,
"p50": 7.234275390625,
"p90": 7.234275390625,
"p95": 7.234275390625,
"p99": 7.234275390625,
"values": [
7.234275390625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.351382652918498e-07,
"ram": 4.966797187650703e-07,
"gpu": 0.0,
"total": 1.4318179840569202e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 917.827584,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 138,
"total": 0.9997209935188296,
"mean": 0.0072443550254987655,
"stdev": 0.0002326836059440693,
"p50": 0.007258111953735351,
"p90": 0.007352319955825805,
"p95": 0.007701764845848084,
"p99": 0.008109117851257324,
"values": [
0.008147968292236327,
0.008069120407104492,
0.008069120407104492,
0.008051712036132813,
0.007933951854705811,
0.008132608413696289,
0.007245823860168457,
0.006973440170288086,
0.006953983783721924,
0.006958079814910889,
0.006945792198181152,
0.006929408073425293,
0.006866015911102295,
0.00694271993637085,
0.006951935768127441,
0.006949888229370117,
0.006918144226074219,
0.006953983783721924,
0.006956031799316406,
0.0070266880989074704,
0.006956031799316406,
0.006853663921356201,
0.006920191764831543,
0.006910975933074951,
0.006969344139099121,
0.006923264026641846,
0.006960127830505371,
0.007066624164581299,
0.0072540159225463864,
0.007151616096496582,
0.007234560012817383,
0.00719155216217041,
0.007151616096496582,
0.007131135940551757,
0.007152703762054444,
0.007272480010986328,
0.007309311866760254,
0.007285759925842285,
0.007238656044006348,
0.007176191806793213,
0.007271423816680909,
0.007277567863464355,
0.007284736156463623,
0.007209983825683594,
0.007126016139984131,
0.007104512214660645,
0.007064576148986816,
0.007110655784606934,
0.0074700798988342285,
0.007290880203247071,
0.007263232231140137,
0.007299071788787842,
0.007287807941436767,
0.007268352031707764,
0.007349247932434082,
0.007172031879425049,
0.0072427201271057125,
0.007175168037414551,
0.0072120318412780765,
0.007237631797790528,
0.0072765440940856935,
0.0072540159225463864,
0.007271423816680909,
0.007302080154418945,
0.00725708818435669,
0.007154687881469727,
0.007170048236846924,
0.007066624164581299,
0.007060448169708252,
0.007491583824157715,
0.007128064155578613,
0.007066559791564941,
0.007038976192474365,
0.007071743965148926,
0.007189504146575928,
0.007124991893768311,
0.007054336071014404,
0.007047167778015137,
0.007036928176879883,
0.007128064155578613,
0.007134208202362061,
0.007123968124389648,
0.007245823860168457,
0.007283679962158203,
0.007282688140869141,
0.0072325119972229,
0.007265279769897461,
0.007290880203247071,
0.007307263851165771,
0.007332863807678222,
0.007325695991516113,
0.0073175039291381834,
0.007287807941436767,
0.007290847778320312,
0.00719974422454834,
0.0075008001327514645,
0.007854112148284912,
0.007414783954620361,
0.00734822416305542,
0.007392255783081054,
0.007311359882354736,
0.007359488010406494,
0.007310336112976074,
0.007282688140869141,
0.007269375801086426,
0.007331840038299561,
0.007305408000946045,
0.007325695991516113,
0.007274496078491211,
0.007277567863464355,
0.007258111953735351,
0.00729702377319336,
0.0073175039291381834,
0.007284736156463623,
0.007268352031707764,
0.007278592109680176,
0.007329792022705078,
0.0072540159225463864,
0.007316480159759522,
0.007264256000518799,
0.007674880027770996,
0.0072837119102478025,
0.00725708818435669,
0.007290880203247071,
0.007219200134277344,
0.007290880203247071,
0.007258111953735351,
0.007319551944732666,
0.0072499198913574215,
0.007263232231140137,
0.00729804801940918,
0.007301023960113525,
0.007310336112976074,
0.0072468481063842774,
0.00728985595703125,
0.007238656044006348,
0.00729702377319336,
0.007288832187652588
]
},
"throughput": {
"unit": "samples/s",
"value": 138.03851363995668
},
"energy": {
"unit": "kWh",
"cpu": 8.62775421468916e-08,
"ram": 4.717205987302929e-08,
"gpu": 1.5850052937681058e-07,
"total": 2.9195013139673145e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3425242.507053708
}
}
}
}