IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b5e1c53 verified
raw
history blame
11.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.1+cu124",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"library": "timm",
"model_type": "resnet50",
"model": "timm/resnet50.a1_in1k",
"processor": "timm/resnet50.a1_in1k",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": false,
"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.224-212.876.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.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 866.328576,
"max_global_vram": 716.701696,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.305666015625,
"mean": 8.305666015625,
"stdev": 0.0,
"p50": 8.305666015625,
"p90": 8.305666015625,
"p95": 8.305666015625,
"p99": 8.305666015625,
"values": [
8.305666015625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.749886377083474e-06,
"ram": 3.132407989424496e-06,
"gpu": 8.436951194000855e-06,
"total": 1.7319245560508825e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1106.427904,
"max_global_vram": 790.102016,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 137,
"total": 1.002032190322876,
"mean": 0.007314103578999094,
"stdev": 0.00016655076414624745,
"p50": 0.00727347183227539,
"p90": 0.00755179500579834,
"p95": 0.007582105445861817,
"p99": 0.007643135871887207,
"values": [
0.0075980801582336424,
0.00758784008026123,
0.0075673599243164065,
0.007489535808563232,
0.007513088226318359,
0.007553023815155029,
0.007577600002288819,
0.007518208026885987,
0.007502848148345947,
0.007510015964508057,
0.007527423858642578,
0.007542784214019775,
0.007390175819396973,
0.007386112213134765,
0.0074291200637817386,
0.007431168079376221,
0.007460864067077637,
0.007553023815155029,
0.007550975799560547,
0.007524384021759033,
0.007468031883239746,
0.007611392021179199,
0.007450623989105225,
0.007463935852050781,
0.00753766393661499,
0.007514111995697022,
0.00757862377166748,
0.007522304058074952,
0.007527423858642578,
0.007468031883239746,
0.007508992195129394,
0.0074741759300231934,
0.007515135765075683,
0.007588863849639893,
0.007422976016998291,
0.007346176147460938,
0.00742195177078247,
0.007412735939025879,
0.007442431926727295,
0.007414783954620361,
0.007481344223022461,
0.007480319976806641,
0.007522304058074952,
0.0075632638931274416,
0.0076267518997192385,
0.007669760227203369,
0.007371840000152588,
0.007327744007110596,
0.007256095886230469,
0.0072765440940856935,
0.007323647975921631,
0.007282688140869141,
0.007189504146575928,
0.0072202239036560055,
0.007265215873718262,
0.007184383869171143,
0.007160831928253173,
0.007187456130981445,
0.007186431884765625,
0.007231488227844239,
0.007270400047302246,
0.007146560192108155,
0.007194623947143554,
0.007157760143280029,
0.007207935810089112,
0.007200767993927002,
0.007204864025115967,
0.007221183776855469,
0.007407616138458252,
0.007278592109680176,
0.007417856216430664,
0.007303167819976806,
0.007305215835571289,
0.00727347183227539,
0.007214079856872559,
0.0072130560874938965,
0.007267327785491944,
0.007174143791198731,
0.007231488227844239,
0.007184383869171143,
0.007139328002929687,
0.007147520065307617,
0.007011360168457032,
0.0071495680809020995,
0.007194623947143554,
0.006987775802612305,
0.007096320152282715,
0.007181312084197998,
0.0074967041015625,
0.00733081579208374,
0.007426047801971435,
0.007375872135162354,
0.007444511890411377,
0.007580671787261963,
0.00765235185623169,
0.007278592109680176,
0.007284736156463623,
0.007246816158294677,
0.007309311866760254,
0.007304192066192627,
0.007292928218841553,
0.007243775844573975,
0.007176191806793213,
0.007211008071899414,
0.007194623947143554,
0.007185408115386963,
0.007174143791198731,
0.007129087924957276,
0.007129087924957276,
0.007150591850280762,
0.007171072006225586,
0.007176191806793213,
0.0071485438346862796,
0.0071402878761291505,
0.0071495680809020995,
0.007175168037414551,
0.007146495819091797,
0.007187456130981445,
0.007144447803497315,
0.007159776210784912,
0.007181312084197998,
0.007139328002929687,
0.007128064155578613,
0.00714137601852417,
0.007145472049713135,
0.007114751815795899,
0.007160831928253173,
0.007111680030822754,
0.007130176067352295,
0.007164959907531738,
0.007138304233551026,
0.007138304233551026,
0.007106560230255127,
0.007124991893768311,
0.007131135940551757,
0.007121920108795166,
0.007142399787902832
]
},
"throughput": {
"unit": "samples/s",
"value": 136.72215456057924
},
"energy": {
"unit": "kWh",
"cpu": 8.402344637016084e-08,
"ram": 4.5916475499353764e-08,
"gpu": 1.7886933143262183e-07,
"total": 3.0880925330213645e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3238244.9337475267
}
}
}
}