IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
2f12b66 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.25696,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.220-209.869.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.0",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.0",
"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": 761.933824,
"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.3738291015625,
"mean": 7.3738291015625,
"stdev": 0.0,
"p50": 7.3738291015625,
"p90": 7.3738291015625,
"p95": 7.3738291015625,
"p99": 7.3738291015625,
"values": [
7.3738291015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 8.886677395833056e-07,
"ram": 4.7145607533093473e-07,
"gpu": 0.0,
"total": 1.3601238149142402e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 961.7408,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 133,
"total": 1.0022235217094426,
"mean": 0.0075355152008228735,
"stdev": 0.00044126605245609394,
"p50": 0.00765331220626831,
"p90": 0.007820287990570067,
"p95": 0.008156774520874021,
"p99": 0.008848834609985352,
"values": [
0.007889920234680176,
0.007821311950683594,
0.00780185604095459,
0.007787519931793213,
0.007767039775848389,
0.007733248233795166,
0.007692287921905518,
0.007701504230499268,
0.0076943359375,
0.007725056171417236,
0.007759871959686279,
0.007696383953094482,
0.007651328086853027,
0.007655424118041992,
0.007685120105743408,
0.007776256084442139,
0.00786636781692505,
0.0077506561279296875,
0.007765024185180664,
0.007723008155822754,
0.007764992237091065,
0.007812096118927002,
0.007774208068847656,
0.007816192150115966,
0.007747583866119385,
0.007737343788146973,
0.007706624031066894,
0.007804895877838135,
0.007764992237091065,
0.007771135807037354,
0.007707647800445557,
0.007620607852935791,
0.007650303840637207,
0.007672895908355713,
0.008748031616210938,
0.008041472434997558,
0.007697408199310303,
0.007709695816040039,
0.00773632001876831,
0.007714848041534424,
0.007730175971984863,
0.0077281279563903805,
0.007671807765960693,
0.007621632099151611,
0.007716864109039307,
0.007718912124633789,
0.007688191890716553,
0.007745535850524903,
0.0076984319686889645,
0.007619584083557129,
0.0075939841270446775,
0.007616511821746826,
0.007639008045196533,
0.007740416049957275,
0.007583744049072265,
0.007629824161529541,
0.007669760227203369,
0.007661568164825439,
0.00760422420501709,
0.007625728130340576,
0.007692287921905518,
0.007756800174713135,
0.008300543785095215,
0.007794688224792481,
0.007804927825927735,
0.007737311840057373,
0.007725056171417236,
0.0077311677932739254,
0.007620607852935791,
0.007682047843933106,
0.00765331220626831,
0.0075345921516418455,
0.007451648235321045,
0.007400447845458984,
0.007494656085968018,
0.007518208026885987,
0.007355391979217529,
0.007262207984924316,
0.0072765440940856935,
0.008060928344726562,
0.008791040420532227,
0.008876031875610351,
0.008960000038146973,
0.008003583908081055,
0.008691712379455567,
0.00878489589691162,
0.007711743831634522,
0.00733081579208374,
0.007331840038299561,
0.007282688140869141,
0.007314432144165039,
0.007931903839111328,
0.007605247974395752,
0.007310336112976074,
0.007235583782196045,
0.007165952205657959,
0.007197696208953858,
0.007171072006225586,
0.006957056045532227,
0.006970367908477783,
0.0069283838272094726,
0.006936575889587402,
0.006930431842803955,
0.006908927917480469,
0.0068853759765625,
0.00689356803894043,
0.0071905279159545895,
0.007122943878173828,
0.007105535984039306,
0.006919167995452881,
0.006923264026641846,
0.006922239780426025,
0.006909952163696289,
0.006914048194885254,
0.00690176010131836,
0.006897664070129395,
0.006880256175994873,
0.006913023948669434,
0.007164927959442138,
0.007151616096496582,
0.007127039909362793,
0.0071495680809020995,
0.007129087924957276,
0.007139328002929687,
0.007172095775604248,
0.007136256217956543,
0.0071485438346862796,
0.006913023948669434,
0.006900735855102539,
0.006817791938781738,
0.006829055786132812,
0.006842368125915528,
0.0067942080497741695
]
},
"throughput": {
"unit": "samples/s",
"value": 132.70492771228177
},
"energy": {
"unit": "kWh",
"cpu": 8.494904241567342e-08,
"ram": 4.631515329903538e-08,
"gpu": 1.64615211057143e-07,
"total": 2.9587940677185183e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3379755.322989021
}
}
}
}