IlyasMoutawwakil's picture
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
c5a87ab verified
raw
history blame
11.9 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.4.0",
"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.843904,
"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.2162958984375,
"mean": 7.2162958984375,
"stdev": 0.0,
"p50": 7.2162958984375,
"p90": 7.2162958984375,
"p95": 7.2162958984375,
"p99": 7.2162958984375,
"values": [
7.2162958984375
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.09164547920227e-07,
"ram": 4.7336203773483023e-07,
"gpu": 1.8477792559997049e-06,
"total": 3.230305841654762e-06
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 918.683648,
"max_global_vram": 1195.900928,
"max_process_vram": 0.0,
"max_reserved": 555.74528,
"max_allocated": 509.038592
},
"latency": {
"unit": "s",
"count": 140,
"total": 0.9975655035972597,
"mean": 0.007125467882837568,
"stdev": 0.00023832333952003497,
"p50": 0.007183903932571411,
"p90": 0.007436595106124878,
"p95": 0.0075168256044387816,
"p99": 0.007576852569580079,
"values": [
0.007358463764190673,
0.0073851199150085445,
0.0073471999168395995,
0.0073134078979492185,
0.007262176036834717,
0.007286784172058106,
0.00729702377319336,
0.007263232231140137,
0.0072499198913574215,
0.007292928218841553,
0.007222271919250488,
0.007193600177764893,
0.0071751360893249514,
0.007192575931549072,
0.0072468481063842774,
0.007288832187652588,
0.007292928218841553,
0.007307263851165771,
0.007285759925842285,
0.007541759967803955,
0.00783462381362915,
0.007572480201721191,
0.007550943851470948,
0.007549952030181885,
0.007489535808563232,
0.007453695774078369,
0.007485439777374267,
0.007529471874237061,
0.007516160011291504,
0.0072724480628967286,
0.007164927959442138,
0.007129119873046875,
0.007176191806793213,
0.00718342399597168,
0.007236608028411865,
0.00733081579208374,
0.007401408195495606,
0.0074997758865356446,
0.00743936014175415,
0.007323647975921631,
0.007287807941436767,
0.00725708818435669,
0.007189504146575928,
0.007184383869171143,
0.007288832187652588,
0.007266304016113281,
0.0072540159225463864,
0.007260159969329834,
0.007174111843109131,
0.0071495680809020995,
0.007221248149871826,
0.007184383869171143,
0.007479296207427978,
0.007436287879943848,
0.007201791763305664,
0.007203839778900147,
0.007218175888061523,
0.007247871875762939,
0.007229440212249756,
0.007227392196655274,
0.007333888053894043,
0.007345151901245117,
0.007285759925842285,
0.007315455913543701,
0.007258111953735351,
0.00724070405960083,
0.007268352031707764,
0.007187424182891845,
0.007235583782196045,
0.007215104103088379,
0.00714137601852417,
0.007032832145690918,
0.00698367977142334,
0.007157760143280029,
0.007114751815795899,
0.006874112129211426,
0.006817791938781738,
0.006849535942077637,
0.006880256175994873,
0.007189504146575928,
0.007263232231140137,
0.007223296165466309,
0.007329792022705078,
0.007579648017883301,
0.007216127872467041,
0.007132160186767578,
0.007153664112091064,
0.007153664112091064,
0.007129087924957276,
0.00710041618347168,
0.007127039909362793,
0.007047167778015137,
0.007028736114501953,
0.0070943360328674316,
0.007029759883880615,
0.007062528133392334,
0.0069928960800170895,
0.006936575889587402,
0.006814720153808594,
0.006814720153808594,
0.006915071964263916,
0.00690176010131836,
0.007101439952850342,
0.006852608203887939,
0.006816768169403077,
0.006895616054534912,
0.006870016098022461,
0.006832064151763916,
0.00689356803894043,
0.007015423774719238,
0.007020544052124023,
0.006790143966674805,
0.006795263767242431,
0.006813695907592773,
0.006802432060241699,
0.006781951904296875,
0.006778880119323731,
0.0067983360290527345,
0.006783999919891357,
0.006762527942657471,
0.007201791763305664,
0.006812672138214112,
0.006789120197296142,
0.006795263767242431,
0.006811679840087891,
0.006792255878448486,
0.0067758078575134275,
0.006814720153808594,
0.006804480075836182,
0.006783999919891357,
0.006804480075836182,
0.00694271993637085,
0.006801407814025879,
0.0067686400413513184,
0.006789152145385742,
0.006802432060241699,
0.006815743923187256,
0.006781951904296875,
0.0068055038452148435,
0.006788095951080322
]
},
"throughput": {
"unit": "samples/s",
"value": 140.34166126951527
},
"energy": {
"unit": "kWh",
"cpu": 8.235266432166101e-08,
"ram": 4.502776663571963e-08,
"gpu": 1.603338474027797e-07,
"total": 2.8771427836016035e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3475670.3966850103
}
}
}
}