IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
4844e7d
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_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": "5", | |
"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": false, | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"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": 1154.015232, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 53845.307392, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.9771376953125, | |
"mean": 8.9771376953125, | |
"stdev": 0.0, | |
"p50": 8.9771376953125, | |
"p90": 8.9771376953125, | |
"p95": 8.9771376953125, | |
"p99": 8.9771376953125, | |
"values": [ | |
8.9771376953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1238.163456, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 118390.308864, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 1.0012285928726194, | |
"mean": 0.0073082379041797055, | |
"stdev": 0.0013603095322342214, | |
"p50": 0.007114220142364502, | |
"p90": 0.007648650932312012, | |
"p95": 0.007807433986663817, | |
"p99": 0.01204076610565185, | |
"values": [ | |
0.007685257911682129, | |
0.0074951801300048825, | |
0.0076409378051757815, | |
0.007722379207611084, | |
0.007645258903503418, | |
0.00757581901550293, | |
0.007616299152374268, | |
0.00784941816329956, | |
0.007500459194183349, | |
0.007796937942504883, | |
0.007626698970794678, | |
0.007786219120025635, | |
0.007590700149536133, | |
0.007775339126586914, | |
0.007653738975524902, | |
0.00766445779800415, | |
0.007387660026550293, | |
0.007418859004974365, | |
0.007502058982849121, | |
0.007554859161376953, | |
0.007419340133666992, | |
0.007361578941345215, | |
0.007456299781799317, | |
0.007413739204406738, | |
0.007609579086303711, | |
0.007458219051361084, | |
0.0071161408424377445, | |
0.007219659805297852, | |
0.0071097412109375, | |
0.007114220142364502, | |
0.007177420139312744, | |
0.007147980213165283, | |
0.007176780223846436, | |
0.012204925537109374, | |
0.005173905849456787, | |
0.007590058803558349, | |
0.007294380187988282, | |
0.007224460124969482, | |
0.00713021993637085, | |
0.007063660144805908, | |
0.007264780044555664, | |
0.007292619228363037, | |
0.007072940826416015, | |
0.007065899848937988, | |
0.007055820941925049, | |
0.0070711798667907715, | |
0.0070486202239990236, | |
0.007063661098480225, | |
0.0070644598007202145, | |
0.007056140899658203, | |
0.007084781169891357, | |
0.007050380229949951, | |
0.007062060832977295, | |
0.007258220195770264, | |
0.007044460773468018, | |
0.007058060169219971, | |
0.007096301078796387, | |
0.0070822200775146485, | |
0.007069900035858155, | |
0.007503180027008056, | |
0.007114541053771972, | |
0.007502859115600586, | |
0.0070895800590515135, | |
0.0074644598960876465, | |
0.007089420795440674, | |
0.007121580123901367, | |
0.007097259998321533, | |
0.007114700794219971, | |
0.007096621036529541, | |
0.007280620098114013, | |
0.007564138889312744, | |
0.007242700099945068, | |
0.00755102014541626, | |
0.018953548431396485, | |
0.0022999939918518066, | |
0.0023542330265045167, | |
0.007299980163574219, | |
0.007449099063873291, | |
0.007076301097869873, | |
0.007059179782867432, | |
0.007060460090637207, | |
0.007082060813903808, | |
0.0070447797775268555, | |
0.007097899913787842, | |
0.007070860862731934, | |
0.00705757999420166, | |
0.007055820941925049, | |
0.00727725887298584, | |
0.0070831809043884275, | |
0.007057419776916504, | |
0.007066380977630615, | |
0.007024781227111816, | |
0.0070731000900268555, | |
0.0070814208984375, | |
0.0070559802055358885, | |
0.007078700065612793, | |
0.007054380893707276, | |
0.007082059860229493, | |
0.007072141170501709, | |
0.0070691008567810056, | |
0.007063499927520752, | |
0.007071180820465088, | |
0.00704941987991333, | |
0.007068620204925537, | |
0.007047660827636719, | |
0.007096620082855225, | |
0.007114220142364502, | |
0.007088780879974365, | |
0.007112299919128418, | |
0.007104139804840088, | |
0.007070701122283935, | |
0.007112461090087891, | |
0.011748927116394043, | |
0.00392366909980774, | |
0.0070974211692810055, | |
0.007014540195465088, | |
0.00699790096282959, | |
0.007037260055541992, | |
0.0070239810943603515, | |
0.007013899803161621, | |
0.006994541168212891, | |
0.006998219966888428, | |
0.007006220817565918, | |
0.0070185399055480956, | |
0.007853579044342042, | |
0.00800301742553711, | |
0.007568298816680908, | |
0.007465099811553955, | |
0.007520618915557861, | |
0.007481579780578613, | |
0.007532458782196045, | |
0.007450539112091065, | |
0.007420619010925293, | |
0.007980937957763673, | |
0.0075417389869689945, | |
0.007392778873443604, | |
0.007458858966827393 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.83188931603922 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |