IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7b61a57
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.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1107.615744, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 41762.004992, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.1000986328125, | |
"mean": 8.1000986328125, | |
"stdev": 0.0, | |
"p50": 8.1000986328125, | |
"p90": 8.1000986328125, | |
"p95": 8.1000986328125, | |
"p99": 8.1000986328125, | |
"values": [ | |
8.1000986328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1192.026112, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 113416.00768, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9973984777927395, | |
"mean": 0.007280280859801022, | |
"stdev": 0.0013842576660346025, | |
"p50": 0.007112299919128418, | |
"p90": 0.007603657817840576, | |
"p95": 0.0077778347969055155, | |
"p99": 0.008001680297851562, | |
"values": [ | |
0.007376299858093262, | |
0.007409899234771728, | |
0.00760333776473999, | |
0.007694057941436768, | |
0.0077386989593505855, | |
0.0075582189559936525, | |
0.0076287779808044435, | |
0.007441419124603272, | |
0.007596458911895752, | |
0.007383978843688964, | |
0.007604137897491455, | |
0.007635179042816162, | |
0.007567179203033447, | |
0.007289899826049805, | |
0.007328939914703369, | |
0.007299018859863281, | |
0.007287819862365722, | |
0.007342060089111328, | |
0.007289258956909179, | |
0.007262700080871582, | |
0.007236299991607666, | |
0.007317899227142334, | |
0.00719133996963501, | |
0.007207980155944824, | |
0.007332620143890381, | |
0.0075316581726074215, | |
0.007364140033721924, | |
0.0073886198997497555, | |
0.007264938831329346, | |
0.007278378963470459, | |
0.007555179119110108, | |
0.007269739151000976, | |
0.007207180023193359, | |
0.007115019798278809, | |
0.007117420196533203, | |
0.007087339878082275, | |
0.007096459865570068, | |
0.007061900138854981, | |
0.007067180156707763, | |
0.007072299957275391, | |
0.007068940162658691, | |
0.00710237979888916, | |
0.007112299919128418, | |
0.007311338901519775, | |
0.007338699817657471, | |
0.007072299957275391, | |
0.007071020126342774, | |
0.007067180156707763, | |
0.007097259998321533, | |
0.0074235000610351565, | |
0.007532458782196045, | |
0.007412138938903808, | |
0.0075441389083862305, | |
0.007430219173431397, | |
0.007420938968658447, | |
0.007427019119262695, | |
0.007109260082244873, | |
0.007075660228729248, | |
0.0070588598251342775, | |
0.007038219928741455, | |
0.007080140113830566, | |
0.007065899848937988, | |
0.0070802998542785645, | |
0.007307019233703613, | |
0.007128779888153076, | |
0.0071182198524475096, | |
0.007109739780426025, | |
0.007088779926300049, | |
0.007093900203704834, | |
0.007137578964233398, | |
0.007085420131683349, | |
0.007068940162658691, | |
0.007074059963226319, | |
0.007055339813232422, | |
0.007067820072174072, | |
0.0070755000114440915, | |
0.007064620018005371, | |
0.007025260925292969, | |
0.007090219974517822, | |
0.007076620101928711, | |
0.0070804600715637205, | |
0.007057899951934814, | |
0.0070540599822998045, | |
0.007044940948486328, | |
0.0070806207656860356, | |
0.007068780899047852, | |
0.007039980888366699, | |
0.007064300060272217, | |
0.007035339832305908, | |
0.007059820175170898, | |
0.007059500217437744, | |
0.007063660144805908, | |
0.007050859928131104, | |
0.007048460006713867, | |
0.0070681400299072265, | |
0.007059340000152588, | |
0.007048140048980713, | |
0.007058700084686279, | |
0.007056139945983887, | |
0.007061100006103516, | |
0.021463939666748047, | |
0.002335192918777466, | |
0.0023411130905151368, | |
0.005236626148223877, | |
0.007067500114440918, | |
0.0070870199203491215, | |
0.00710830020904541, | |
0.007086699962615967, | |
0.007982216835021972, | |
0.007934378147125245, | |
0.00795213794708252, | |
0.008011817932128906, | |
0.007481578826904297, | |
0.007511497974395752, | |
0.007536139011383057, | |
0.007524939060211182, | |
0.007979176998138427, | |
0.007983657836914062, | |
0.007532618045806885, | |
0.00764349889755249, | |
0.007694697856903076, | |
0.007501099109649658, | |
0.0074567790031433104, | |
0.007540617942810059, | |
0.00745405912399292, | |
0.007231180191040039, | |
0.007059659957885742, | |
0.007056459903717041, | |
0.007186859130859375, | |
0.007056780815124512, | |
0.00705518102645874, | |
0.007072461128234863, | |
0.007060300827026367, | |
0.007061580181121826, | |
0.007086540222167969, | |
0.0070731000900268555, | |
0.007081901073455811 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.35733816556785 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |