IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
9f7d881 verified
raw
history blame
12 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.3.1+cu121",
"_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.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": 789.700608,
"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.4785126953125,
"mean": 7.4785126953125,
"stdev": 0.0,
"p50": 7.4785126953125,
"p90": 7.4785126953125,
"p95": 7.4785126953125,
"p99": 7.4785126953125,
"values": [
7.4785126953125
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.3371182348993095e-06,
"ram": 2.361322858775073e-06,
"gpu": 6.586394158000124e-06,
"total": 1.3284835251674506e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 976.777216,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 143,
"total": 0.998830243587494,
"mean": 0.006984826878234223,
"stdev": 0.0002257630896303456,
"p50": 0.007070720195770264,
"p90": 0.007208755207061768,
"p95": 0.007242444849014282,
"p99": 0.0075008632850646975,
"values": [
0.007264256000518799,
0.007184383869171143,
0.007216127872467041,
0.007184383869171143,
0.007169023990631103,
0.007209983825683594,
0.007169023990631103,
0.007196671962738037,
0.00719155216217041,
0.007132160186767578,
0.007194623947143554,
0.007047167778015137,
0.007013376235961914,
0.007101439952850342,
0.007136256217956543,
0.0071823358535766605,
0.007184383869171143,
0.007194623947143554,
0.007208960056304932,
0.007063551902770996,
0.007130112171173096,
0.007180287837982178,
0.007193600177764893,
0.007194623947143554,
0.0072499198913574215,
0.007185408115386963,
0.00708403205871582,
0.007848959922790527,
0.007207935810089112,
0.007202816009521484,
0.007105535984039306,
0.007043104171752929,
0.00709222412109375,
0.007102464199066162,
0.007088128089904785,
0.0070973758697509765,
0.007121920108795166,
0.007135231971740722,
0.007197696208953858,
0.007235583782196045,
0.007205887794494629,
0.00723967981338501,
0.007137311935424805,
0.007126016139984131,
0.007145472049713135,
0.0071792640686035155,
0.007157760143280029,
0.007127039909362793,
0.007166975975036621,
0.007110655784606934,
0.00707583999633789,
0.007072768211364746,
0.007114751815795899,
0.0072427520751953125,
0.007106560230255127,
0.00709222412109375,
0.007081984043121338,
0.0071198720932006835,
0.0071495680809020995,
0.007134208202362061,
0.007131135940551757,
0.007188416004180908,
0.007267327785491944,
0.007244800090789795,
0.007223296165466309,
0.007227392196655274,
0.007147520065307617,
0.007177216053009033,
0.007123968124389648,
0.007078911781311035,
0.007207935810089112,
0.0070266880989074704,
0.0070266880989074704,
0.006884352207183838,
0.006989823818206787,
0.0070348801612854,
0.006862847805023193,
0.007021567821502686,
0.006816768169403077,
0.007028736114501953,
0.007129087924957276,
0.007512032032012939,
0.007485439777374267,
0.007060480117797851,
0.007070720195770264,
0.007131135940551757,
0.00688640022277832,
0.006865920066833496,
0.006806528091430664,
0.006834176063537598,
0.006847487926483154,
0.006837247848510742,
0.00675328016281128,
0.0067645440101623535,
0.006767615795135498,
0.006721536159515381,
0.006783999919891357,
0.006751232147216797,
0.006717440128326416,
0.006789152145385742,
0.0067123198509216305,
0.006732800006866455,
0.006729728221893311,
0.006731776237487793,
0.006766592025756836,
0.006708223819732666,
0.006746111869812011,
0.006738944053649902,
0.0066938881874084475,
0.006725632190704346,
0.00672051191329956,
0.0066979842185974124,
0.006703104019165039,
0.006711296081542969,
0.006673408031463623,
0.006715392112731934,
0.0067103362083435055,
0.006707200050354004,
0.006730751991271973,
0.006718463897705078,
0.006700064182281494,
0.006691840171813965,
0.006726655960083008,
0.006713344097137451,
0.006715392112731934,
0.006739967823028564,
0.006724607944488525,
0.006719488143920899,
0.006772736072540283,
0.006711296081542969,
0.006686719894409179,
0.006715392112731934,
0.006687744140625,
0.006703167915344238,
0.006740992069244385,
0.006726655960083008,
0.006729728221893311,
0.006686719894409179,
0.006713344097137451,
0.0067573761940002445,
0.006699007987976074,
0.006729728221893311,
0.006710239887237549
]
},
"throughput": {
"unit": "samples/s",
"value": 143.1674710673433
},
"energy": {
"unit": "kWh",
"cpu": 7.839053433540969e-08,
"ram": 4.2733364095645584e-08,
"gpu": 1.6794421330263014e-07,
"total": 2.8906811173368544e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3459392.300321547
}
}
}
}