IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
bffa30b verified
raw
history blame
12.1 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.285632,
"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.46304,
"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.48805712890625,
"mean": 7.48805712890625,
"stdev": 0.0,
"p50": 7.48805712890625,
"p90": 7.48805712890625,
"p95": 7.48805712890625,
"p99": 7.48805712890625,
"values": [
7.48805712890625
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.35982131295734e-06,
"ram": 2.373849167935873e-06,
"gpu": 5.398893208000176e-06,
"total": 1.2132563688893389e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 977.309696,
"max_global_vram": 1049.100288,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 245.323264
},
"latency": {
"unit": "s",
"count": 145,
"total": 0.9975328006744384,
"mean": 0.006879536556375438,
"stdev": 0.00032911788106381373,
"p50": 0.0070348801612854,
"p90": 0.007221043109893799,
"p95": 0.007278796672821044,
"p99": 0.007320576057434082,
"values": [
0.0073062400817871095,
0.007331840038299561,
0.007305215835571289,
0.007284736156463623,
0.007275519847869873,
0.007258111953735351,
0.00722431993484497,
0.007269375801086426,
0.0072724480628967286,
0.007216127872467041,
0.0071495680809020995,
0.007076863765716553,
0.007015423774719238,
0.006988800048828125,
0.006894591808319092,
0.007072768211364746,
0.007066624164581299,
0.007226367950439453,
0.007187456130981445,
0.007391232013702393,
0.007096320152282715,
0.007044095993041993,
0.006972415924072266,
0.007101439952850342,
0.007142399787902832,
0.0070860800743103025,
0.007137279987335205,
0.007139328002929687,
0.007076863765716553,
0.007068672180175781,
0.007080959796905518,
0.00709119987487793,
0.00714137601852417,
0.007154655933380127,
0.007093247890472412,
0.007153664112091064,
0.007177216053009033,
0.007155712127685547,
0.0071496000289916995,
0.007134208202362061,
0.007156735897064209,
0.007105535984039306,
0.007177216053009033,
0.007163904190063477,
0.00714035177230835,
0.00713318395614624,
0.007106560230255127,
0.0070225920677185055,
0.007076863765716553,
0.007081984043121338,
0.007104512214660645,
0.007085055828094483,
0.007153728008270264,
0.006998015880584717,
0.00709119987487793,
0.007058432102203369,
0.00704204797744751,
0.007214079856872559,
0.0070348801612854,
0.007029759883880615,
0.007279615879058838,
0.007130112171173096,
0.00709119987487793,
0.0070594558715820314,
0.00703385591506958,
0.007128064155578613,
0.007189504146575928,
0.007123968124389648,
0.007194591999053955,
0.007157760143280029,
0.0071710400581359865,
0.00708403205871582,
0.007110655784606934,
0.007262207984924316,
0.007014431953430176,
0.0071495680809020995,
0.006980607986450196,
0.007032832145690918,
0.0068884482383728025,
0.0069047360420227055,
0.007041024208068848,
0.006792191982269287,
0.006748159885406494,
0.006692863941192627,
0.006745151996612549,
0.0069212160110473635,
0.007066624164581299,
0.00718236780166626,
0.007029759883880615,
0.007145472049713135,
0.007300096035003662,
0.007019519805908203,
0.007300096035003662,
0.006915071964263916,
0.006388735771179199,
0.006369279861450195,
0.00632422399520874,
0.006366208076477051,
0.006310848236083985,
0.0064430079460144046,
0.006618112087249756,
0.006533120155334473,
0.006598656177520752,
0.006553599834442139,
0.006525951862335205,
0.006592512130737305,
0.006491136074066162,
0.0065382399559021,
0.006543360233306885,
0.006497280120849609,
0.006557695865631104,
0.0065372161865234375,
0.00652288007736206,
0.006562816143035889,
0.0065413122177124024,
0.00652288007736206,
0.0065372161865234375,
0.006520864009857178,
0.006543360233306885,
0.006563839912414551,
0.006527999877929688,
0.0065484800338745115,
0.0065474557876586915,
0.0065177597999572755,
0.006535168170928955,
0.006524928092956543,
0.006503424167633057,
0.006536191940307618,
0.006525951862335205,
0.006512639999389648,
0.0065669121742248536,
0.006505472183227539,
0.006617087841033936,
0.006312960147857666,
0.006292479991912842,
0.006369279861450195,
0.0062863359451293946,
0.006313983917236328,
0.006305791854858398,
0.006266880035400391,
0.006305791854858398,
0.006275072097778321,
0.006301695823669433,
0.006281280040740967,
0.006274112224578857
]
},
"throughput": {
"unit": "samples/s",
"value": 145.35862871071961
},
"energy": {
"unit": "kWh",
"cpu": 7.86476708932165e-08,
"ram": 4.300040312152805e-08,
"gpu": 1.8145709880794708e-07,
"total": 3.0310517282269163e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 3299184.869355473
}
}
}
}