IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
da4d32c verified
raw
history blame
11.3 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.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": 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.34.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.604032,
"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.37690087890625,
"mean": 7.37690087890625,
"stdev": 0.0,
"p50": 7.37690087890625,
"p90": 7.37690087890625,
"p95": 7.37690087890625,
"p99": 7.37690087890625,
"values": [
7.37690087890625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.791845020838926e-07,
"ram": 4.659598794239579e-07,
"gpu": 1.5683345879996362e-06,
"total": 2.9134789695074866e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1082.69568,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 127,
"total": 0.9972601928710939,
"mean": 0.00785244246355192,
"stdev": 0.0003045723994303354,
"p50": 0.007989247798919678,
"p90": 0.008130355072021485,
"p95": 0.008219033527374266,
"p99": 0.008424960079193114,
"values": [
0.008444928169250488,
0.008318976402282715,
0.008368127822875977,
0.008368127822875977,
0.008196096420288086,
0.008228863716125488,
0.008137727737426758,
0.008076288223266602,
0.008157183647155761,
0.008042495727539062,
0.008072192192077637,
0.007998400211334229,
0.00800051212310791,
0.008028160095214844,
0.008031231880187988,
0.008175616264343261,
0.008060928344726562,
0.008088576316833495,
0.007980031967163086,
0.00794316816329956,
0.008102911949157715,
0.008120287895202636,
0.008028160095214844,
0.008036352157592774,
0.008293375968933106,
0.008060928344726562,
0.008078335762023926,
0.00813158416748047,
0.008110079765319824,
0.00801587200164795,
0.007979008197784423,
0.00796569585800171,
0.008022015571594238,
0.00810905647277832,
0.007990240097045898,
0.00800153636932373,
0.008039423942565918,
0.008116224288940429,
0.008069120407104492,
0.008061951637268066,
0.00807423973083496,
0.00800870418548584,
0.008733695983886718,
0.008129535675048828,
0.00800972843170166,
0.008048640251159669,
0.00808140754699707,
0.007990272045135497,
0.007964704036712646,
0.007956480026245117,
0.008045503616333008,
0.008095744132995606,
0.007989247798919678,
0.008072192192077637,
0.008132608413696289,
0.008067071914672852,
0.008003583908081055,
0.008059904098510743,
0.008030207633972167,
0.008075263977050781,
0.008112128257751466,
0.008073216438293456,
0.008083456039428711,
0.008031231880187988,
0.008034303665161132,
0.00802406406402588,
0.007993343830108643,
0.008077312469482421,
0.007948256015777588,
0.00788585615158081,
0.007804927825927735,
0.007927743911743165,
0.007947264194488525,
0.007708672046661377,
0.007662591934204102,
0.007627840042114258,
0.007724031925201416,
0.007956480026245117,
0.00790835189819336,
0.007987199783325195,
0.007988224029541016,
0.00809062385559082,
0.008059904098510743,
0.007855103969573975,
0.007651328086853027,
0.007642111778259277,
0.00759500789642334,
0.007642079830169677,
0.007649280071258545,
0.007638016223907471,
0.007591936111450195,
0.007507967948913574,
0.007461887836456299,
0.0074148159027099605,
0.007427072048187256,
0.0074700798988342285,
0.0074403839111328125,
0.007451648235321045,
0.00739737606048584,
0.00749571180343628,
0.0074741759300231934,
0.0074291200637817386,
0.0074291200637817386,
0.007453728199005127,
0.007431168079376221,
0.007463935852050781,
0.007416831970214844,
0.007452672004699707,
0.0074332160949707035,
0.007372799873352051,
0.00743833589553833,
0.007464896202087403,
0.0074301438331604,
0.00739737606048584,
0.007444479942321777,
0.007423999786376953,
0.0074065918922424315,
0.007394303798675537,
0.007472127914428711,
0.007426047801971435,
0.007406655788421631,
0.0074065918922424315,
0.007448575973510742,
0.007437312126159668,
0.007422976016998291,
0.0074414081573486324,
0.007434239864349365
]
},
"throughput": {
"unit": "samples/s",
"value": 127.34891145546412
},
"energy": {
"unit": "kWh",
"cpu": 8.839381538661099e-08,
"ram": 4.832517808113629e-08,
"gpu": 1.5638901399999736e-07,
"total": 2.931080074677446e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3411711.6370832897
}
}
}
}