IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b26ea61
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": 1153.773568, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 50121.621504, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.78309375, | |
"mean": 8.78309375, | |
"stdev": 0.0, | |
"p50": 8.78309375, | |
"p90": 8.78309375, | |
"p95": 8.78309375, | |
"p99": 8.78309375, | |
"values": [ | |
8.78309375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1238.228992, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 118074.032128, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 135, | |
"total": 0.9982283382415771, | |
"mean": 0.007394283986974643, | |
"stdev": 0.0017471447426354323, | |
"p50": 0.007206381797790528, | |
"p90": 0.007710765552520752, | |
"p95": 0.007941676855087279, | |
"p99": 0.01706748886108397, | |
"values": [ | |
0.007839021205902099, | |
0.007552142143249512, | |
0.007419182777404785, | |
0.0073587031364440916, | |
0.007374382019042969, | |
0.007357742786407471, | |
0.007357422828674316, | |
0.007359501838684082, | |
0.007375022888183594, | |
0.007330381870269775, | |
0.007291502952575683, | |
0.0073534221649169925, | |
0.007383502006530761, | |
0.0073470230102539065, | |
0.007360941886901855, | |
0.0073049430847167965, | |
0.007299182891845703, | |
0.007261743068695068, | |
0.00735790205001831, | |
0.007238382816314697, | |
0.007342862129211426, | |
0.007280783176422119, | |
0.007279343128204345, | |
0.007393102169036866, | |
0.0072713432312011715, | |
0.007356781959533692, | |
0.007250382900238037, | |
0.007283182144165039, | |
0.007364943027496338, | |
0.007338061809539795, | |
0.007284303188323974, | |
0.007206381797790528, | |
0.007248622894287109, | |
0.018704435348510743, | |
0.0023187150955200197, | |
0.006065585136413574, | |
0.007162542819976807, | |
0.007128623008728028, | |
0.007149582862854004, | |
0.00716014289855957, | |
0.007130383014678955, | |
0.0071622228622436526, | |
0.0071622228622436526, | |
0.007155823230743408, | |
0.007157262802124024, | |
0.007163183212280273, | |
0.007159663200378418, | |
0.007135663032531738, | |
0.007132782936096192, | |
0.007124622821807861, | |
0.007116622924804687, | |
0.007116622924804687, | |
0.007125903129577637, | |
0.007136622905731201, | |
0.00713118314743042, | |
0.0071457428932189945, | |
0.007139183044433593, | |
0.0071340627670288086, | |
0.007154542922973633, | |
0.00714158296585083, | |
0.0071409430503845215, | |
0.007133903026580811, | |
0.0071195030212402345, | |
0.007324623107910156, | |
0.007197581768035889, | |
0.0071574230194091796, | |
0.007165102958679199, | |
0.0071623830795288085, | |
0.007165422916412353, | |
0.007133742809295654, | |
0.007164463043212891, | |
0.019666191101074218, | |
0.0022950348854064943, | |
0.003400791883468628, | |
0.007386702060699463, | |
0.007161262989044189, | |
0.007118863105773926, | |
0.007146062850952148, | |
0.007159502983093262, | |
0.007161262989044189, | |
0.007687181949615479, | |
0.007432941913604736, | |
0.007902221202850342, | |
0.007624142169952393, | |
0.007360941886901855, | |
0.007303983211517334, | |
0.007120623111724854, | |
0.007136622905731201, | |
0.007127502918243408, | |
0.007132143020629883, | |
0.007393422126770019, | |
0.007144622802734375, | |
0.007137742996215821, | |
0.007139983177185058, | |
0.0071335830688476565, | |
0.007141102790832519, | |
0.007133102893829345, | |
0.007139983177185058, | |
0.007139663219451905, | |
0.007145102977752686, | |
0.007174222946166992, | |
0.007151022911071777, | |
0.007136463165283203, | |
0.007128942966461182, | |
0.007105903148651123, | |
0.0071604628562927245, | |
0.007178382873535156, | |
0.007175662994384766, | |
0.007763181209564209, | |
0.008042381286621094, | |
0.013889886856079102, | |
0.003605591058731079, | |
0.007223022937774658, | |
0.007192142963409424, | |
0.007199982166290283, | |
0.007297263145446777, | |
0.007789741039276123, | |
0.007711661815643311, | |
0.007524462223052979, | |
0.007709421157836914, | |
0.008076781272888184, | |
0.008033740043640136, | |
0.008090540885925293, | |
0.007508461952209473, | |
0.007349902153015136, | |
0.007421903133392334, | |
0.0075172619819641115, | |
0.007320302963256836, | |
0.007898702144622802, | |
0.00785486078262329, | |
0.0074836621284484865, | |
0.007443501949310303, | |
0.0074321417808532715, | |
0.007411021232604981, | |
0.0074507021903991695 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 135.23959882546356 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |