IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
7171552
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+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": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "505b3e98eac8c3f1b6ed5342e4f6e5336d513f21", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1833.639936, | |
"max_global_vram": 520.548352, | |
"max_process_vram": 69187.514368, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.520128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 113, | |
"total": 1.0004669041633605, | |
"mean": 0.008853689417374874, | |
"stdev": 0.0016091900971358822, | |
"p50": 0.008165552139282226, | |
"p90": 0.010460705947875976, | |
"p95": 0.011778746986389158, | |
"p99": 0.01499294178009033, | |
"values": [ | |
0.009301864624023437, | |
0.008300431251525879, | |
0.018042613983154297, | |
0.014593354225158691, | |
0.011125535011291503, | |
0.007965073108673096, | |
0.010125381469726562, | |
0.00984330177307129, | |
0.009077386856079101, | |
0.015047430992126465, | |
0.011707131385803222, | |
0.009891942024230957, | |
0.011912888526916503, | |
0.008225872039794921, | |
0.008104592323303223, | |
0.008091952323913574, | |
0.008059151649475097, | |
0.008932428359985351, | |
0.008064112663269042, | |
0.007965552806854247, | |
0.01035369873046875, | |
0.008809548377990722, | |
0.008119631767272949, | |
0.00796379280090332, | |
0.007941712856292724, | |
0.00791115379333496, | |
0.008246671676635743, | |
0.011886170387268066, | |
0.008575949668884277, | |
0.0080338716506958, | |
0.00794187307357788, | |
0.00816443157196045, | |
0.0080689115524292, | |
0.008032913208007813, | |
0.007885393142700195, | |
0.008182991981506347, | |
0.007892912864685058, | |
0.00827323055267334, | |
0.00793483304977417, | |
0.007948593139648437, | |
0.007937074184417725, | |
0.0078081140518188475, | |
0.007985713005065918, | |
0.007971793174743653, | |
0.008102512359619141, | |
0.009913862228393555, | |
0.00871850872039795, | |
0.00800523281097412, | |
0.008116111755371094, | |
0.008104593276977538, | |
0.008092272758483886, | |
0.008054673194885254, | |
0.0080325927734375, | |
0.008165552139282226, | |
0.007884593963623046, | |
0.007919313907623292, | |
0.008078991889953613, | |
0.007892592906951905, | |
0.007807474136352539, | |
0.007724915027618408, | |
0.013863438606262208, | |
0.010863776206970216, | |
0.008806187629699707, | |
0.008329071044921876, | |
0.008264910697937012, | |
0.008200912475585938, | |
0.008158831596374512, | |
0.008146832466125489, | |
0.008189711570739746, | |
0.008124591827392579, | |
0.008119631767272949, | |
0.00813259220123291, | |
0.008170991897583009, | |
0.008225232124328614, | |
0.008318190574645995, | |
0.008181072235107422, | |
0.00818939208984375, | |
0.00812939167022705, | |
0.008406030654907226, | |
0.008035792350769042, | |
0.008781067848205567, | |
0.011097854614257812, | |
0.008188912391662598, | |
0.010436899185180664, | |
0.009910502433776856, | |
0.01014937973022461, | |
0.009633543014526368, | |
0.010466657638549804, | |
0.008832748413085938, | |
0.009714662551879883, | |
0.009127945899963378, | |
0.009530823707580566, | |
0.008525709152221679, | |
0.008622188568115235, | |
0.008613389015197754, | |
0.008126832008361817, | |
0.01018138027191162, | |
0.011144734382629395, | |
0.008094511985778808, | |
0.008028753280639648, | |
0.008080431938171387, | |
0.008046671867370606, | |
0.008037233352661132, | |
0.00804923152923584, | |
0.008013233184814453, | |
0.008130831718444824, | |
0.0081749906539917, | |
0.008141872406005859, | |
0.00817243194580078, | |
0.008111151695251465, | |
0.008165552139282226, | |
0.008160431861877442, | |
0.008254990577697754 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 112.94726445198717 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |