IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
8c90aa9 verified
raw
history blame
11.6 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.4.0+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.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.33.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": 852.504576,
"max_global_vram": 709.361664,
"max_process_vram": 0.0,
"max_reserved": 123.731968,
"max_allocated": 102.475264
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.680189453125,
"mean": 7.680189453125,
"stdev": 0.0,
"p50": 7.680189453125,
"p90": 7.680189453125,
"p95": 7.680189453125,
"p99": 7.680189453125,
"values": [
7.680189453125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.321872718055571e-06,
"ram": 2.330155577958471e-06,
"gpu": 6.904727746000032e-06,
"total": 1.3556756042014074e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1091.670016,
"max_global_vram": 791.150592,
"max_process_vram": 0.0,
"max_reserved": 148.897792,
"max_allocated": 114.685952
},
"latency": {
"unit": "s",
"count": 133,
"total": 0.9966082549095158,
"mean": 0.007493295149695604,
"stdev": 0.00021285779394300425,
"p50": 0.007549952030181885,
"p90": 0.0077133822441101075,
"p95": 0.007833804893493652,
"p99": 0.007941327438354491,
"values": [
0.007932928085327149,
0.007890944004058837,
0.007740416049957275,
0.00782643222808838,
0.007955455780029297,
0.007713791847229004,
0.007806975841522217,
0.0076984319686889645,
0.007739391803741455,
0.007692287921905518,
0.007671807765960693,
0.007625728130340576,
0.007488512039184571,
0.007549952030181885,
0.00753766393661499,
0.007692287921905518,
0.0077578239440917966,
0.0076308479309082035,
0.007607295989990235,
0.007569407939910889,
0.007552000045776367,
0.007608320236206055,
0.007671807765960693,
0.007674880027770996,
0.007634912014007568,
0.007565311908721924,
0.007479296207427978,
0.007618559837341309,
0.007658495903015137,
0.007608384132385254,
0.007568384170532226,
0.007643136024475097,
0.007468031883239746,
0.007193600177764893,
0.007518208026885987,
0.0076267518997192385,
0.007529471874237061,
0.007562240123748779,
0.007618559837341309,
0.00790015983581543,
0.007654399871826172,
0.007631872177124023,
0.007568384170532226,
0.007622655868530274,
0.007711743831634522,
0.0076308479309082035,
0.00759500789642334,
0.007670783996582031,
0.007612415790557861,
0.007574528217315674,
0.007700479984283447,
0.007745535850524903,
0.007579648017883301,
0.00765235185623169,
0.007498752117156982,
0.007580671787261963,
0.0076943359375,
0.007523327827453613,
0.007650368213653565,
0.007599103927612305,
0.007514111995697022,
0.007628799915313721,
0.007844863891601562,
0.007649280071258545,
0.007642176151275635,
0.007666687965393066,
0.007895040035247802,
0.007624703884124756,
0.007662591934204102,
0.007504896163940429,
0.007709695816040039,
0.007531519889831543,
0.007527423858642578,
0.007412735939025879,
0.007482367992401123,
0.00759603214263916,
0.007355391979217529,
0.007188479900360107,
0.007304255962371826,
0.007211008071899414,
0.007524352073669433,
0.007531519889831543,
0.007588863849639893,
0.007577600002288819,
0.007673855781555176,
0.0075939841270446775,
0.007443456172943115,
0.007231488227844239,
0.007189504146575928,
0.00719155216217041,
0.007231488227844239,
0.00734822416305542,
0.007230463981628418,
0.007163904190063477,
0.007189504146575928,
0.007245823860168457,
0.007177216053009033,
0.007192575931549072,
0.007169023990631103,
0.00727347183227539,
0.007211008071899414,
0.007169023990631103,
0.00728166389465332,
0.0073175039291381834,
0.007196671962738037,
0.007189504146575928,
0.007177216053009033,
0.007260159969329834,
0.007157760143280029,
0.007195648193359375,
0.007559167861938477,
0.007378943920135498,
0.007349247932434082,
0.007285759925842285,
0.0075345921516418455,
0.007945280075073242,
0.00725705623626709,
0.0072427520751953125,
0.007197696208953858,
0.007256063938140869,
0.00728985595703125,
0.007247871875762939,
0.007258111953735351,
0.007221248149871826,
0.007292928218841553,
0.007236608028411865,
0.007188479900360107,
0.007175168037414551,
0.007271423816680909,
0.00729702377319336,
0.007209983825683594,
0.007409664154052734,
0.007301119804382325
]
},
"throughput": {
"unit": "samples/s",
"value": 133.45263732746767
},
"energy": {
"unit": "kWh",
"cpu": 8.554722937150131e-08,
"ram": 4.677326733988719e-08,
"gpu": 1.8365122605755394e-07,
"total": 3.1597172276894243e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3164840.167457834
}
}
}
}