IlyasMoutawwakil's picture
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
16c5cdf verified
raw
history blame
12.7 kB
{
"config": {
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k",
"backend": {
"name": "pytorch",
"version": "2.2.2",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "image-classification",
"model": "timm/resnet50.a1_in1k",
"library": "timm",
"device": "cuda",
"device_ids": "0",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.40.2",
"transformers_commit": null,
"accelerate_version": "0.30.0",
"accelerate_commit": null,
"diffusers_version": "0.27.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 945.8688,
"max_global_vram": 1047.003136,
"max_process_vram": 0.0,
"max_reserved": 396.361728,
"max_allocated": 253.912576
},
"latency": {
"unit": "s",
"count": 186,
"total": 0.9978754887580873,
"mean": 0.005364921982570361,
"stdev": 0.0002700924988409209,
"p50": 0.005321728229522705,
"p90": 0.005762048006057739,
"p95": 0.005802240014076233,
"p99": 0.00597841911315918,
"values": [
0.006150144100189209,
0.005832704067230224,
0.005789696216583252,
0.005837823867797852,
0.005548031806945801,
0.005519360065460205,
0.005538815975189209,
0.005477375984191894,
0.005803008079528809,
0.005807104110717773,
0.005735424041748047,
0.005777408123016357,
0.00568832015991211,
0.005747712135314941,
0.005677055835723877,
0.005715968132019043,
0.006067200183868408,
0.005781504154205322,
0.005565375804901123,
0.005578752040863037,
0.005626880168914795,
0.005600255966186523,
0.005676032066345215,
0.005726208209991455,
0.005779520034790039,
0.005799935817718506,
0.005727231979370117,
0.005772287845611572,
0.005636096000671387,
0.00568832015991211,
0.005612544059753418,
0.005772287845611572,
0.005751808166503906,
0.005736447811126709,
0.005799935817718506,
0.00572211217880249,
0.005831679821014404,
0.005775360107421875,
0.0056145920753479005,
0.005634047985076904,
0.0058122239112854005,
0.005670911788940429,
0.005697535991668701,
0.005816415786743164,
0.005488639831542969,
0.005425151824951172,
0.005429215908050537,
0.005484416007995606,
0.005525375843048096,
0.005490719795227051,
0.005184512138366699,
0.005202943801879883,
0.005313536167144775,
0.005419007778167725,
0.005400576114654541,
0.005415808200836181,
0.005513216018676758,
0.005493760108947754,
0.005492735862731934,
0.005595136165618897,
0.00552345609664917,
0.00547430419921875,
0.005403647899627686,
0.005284863948822022,
0.005379072189331055,
0.005430272102355957,
0.005449728012084961,
0.00562278413772583,
0.005389279842376709,
0.005420032024383545,
0.005484543800354004,
0.005228544235229492,
0.005219327926635742,
0.005345280170440674,
0.005306367874145508,
0.0053647360801696775,
0.005409791946411133,
0.005492735862731934,
0.00553984022140503,
0.0052715520858764645,
0.005288959980010987,
0.005404672145843506,
0.0053002238273620605,
0.005328896045684814,
0.005350399971008301,
0.005285888195037842,
0.005275648117065429,
0.005321728229522705,
0.005258240222930908,
0.005321728229522705,
0.005624896049499512,
0.005484543800354004,
0.0055101442337036136,
0.0055071358680725095,
0.005508096218109131,
0.005543935775756836,
0.005393407821655274,
0.005378047943115235,
0.005488639831542969,
0.005375999927520752,
0.00521727991104126,
0.005400576114654541,
0.0054579200744628905,
0.005280767917633057,
0.005244927883148193,
0.005195775985717774,
0.005042240142822265,
0.005201920032501221,
0.005322751998901368,
0.005275648117065429,
0.005094399929046631,
0.0050063362121582035,
0.0050063362121582035,
0.005053440093994141,
0.005093311786651612,
0.005085184097290039,
0.00510975980758667,
0.005097472190856934,
0.005148672103881836,
0.0051916160583496095,
0.005311488151550293,
0.005132287979125977,
0.005003200054168701,
0.004993023872375488,
0.0050165758132934574,
0.004996096134185791,
0.0050011839866638185,
0.0050165758132934574,
0.005040128231048584,
0.00496230411529541,
0.004946944236755371,
0.004951039791107178,
0.004994048118591309,
0.004981760025024414,
0.005004288196563721,
0.0050032639503479,
0.005041152000427246,
0.004993023872375488,
0.005001215934753418,
0.004992000102996826,
0.005029888153076172,
0.0049909758567810054,
0.004921343803405762,
0.004932608127593994,
0.004987904071807861,
0.004931583881378174,
0.004931583881378174,
0.004973567962646484,
0.005019711971282959,
0.005021696090698242,
0.0049909758567810054,
0.004994048118591309,
0.00551526403427124,
0.005962751865386963,
0.005724160194396972,
0.005256192207336426,
0.005254144191741943,
0.005273600101470947,
0.005182464122772217,
0.005234687805175781,
0.00526643180847168,
0.005223360061645508,
0.005213215827941895,
0.005202943801879883,
0.005239808082580567,
0.00520908784866333,
0.005256192207336426,
0.005292031764984131,
0.005203968048095703,
0.005213183879852295,
0.005346303939819336,
0.005189727783203125,
0.0052377920150756836,
0.005260287761688232,
0.0052336640357971195,
0.005261312007904053,
0.005276671886444092,
0.00522547197341919,
0.005206016063690186,
0.005250048160552978,
0.0052295680046081545,
0.005198847770690918,
0.005262335777282715,
0.005181439876556396,
0.005193696022033691,
0.005179391860961914
]
},
"throughput": {
"unit": "samples/s",
"value": 186.39600039829378
},
"energy": {
"unit": "kWh",
"cpu": 6.230536782950687e-08,
"ram": 3.406456956662097e-08,
"gpu": 1.3109221013718476e-07,
"total": 2.2746214753331257e-07
},
"efficiency": {
"unit": "samples/kWh",
"value": 4396335.877614744
}
}
}
}