IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e90c64c
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": "6", | |
"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": 1118.57664, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46010.421248, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.7306103515625, | |
"mean": 8.7306103515625, | |
"stdev": 0.0, | |
"p50": 8.7306103515625, | |
"p90": 8.7306103515625, | |
"p95": 8.7306103515625, | |
"p99": 8.7306103515625, | |
"values": [ | |
8.7306103515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1202.982912, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 106397.462528, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0017796556949619, | |
"mean": 0.0072070478826975655, | |
"stdev": 0.0013967600088438082, | |
"p50": 0.007143857002258301, | |
"p90": 0.0077018740653991705, | |
"p95": 0.007843025970458982, | |
"p99": 0.012784887428283707, | |
"values": [ | |
0.008277619361877441, | |
0.007780337810516357, | |
0.007519058227539063, | |
0.007375698089599609, | |
0.0073764967918396, | |
0.007354258060455322, | |
0.010679064750671386, | |
0.007199857234954834, | |
0.0075483379364013675, | |
0.007422098159790039, | |
0.007359056949615478, | |
0.007331217765808105, | |
0.007322096824645996, | |
0.007333457946777344, | |
0.007347376823425293, | |
0.007601937770843506, | |
0.007299376964569092, | |
0.007264176845550537, | |
0.007286898136138916, | |
0.007192176818847656, | |
0.007174417018890381, | |
0.007162257194519043, | |
0.007253777027130127, | |
0.007244818210601807, | |
0.007182736873626709, | |
0.007129937171936035, | |
0.007150736808776856, | |
0.0071443371772766115, | |
0.007393777847290039, | |
0.0073278570175170895, | |
0.007150736808776856, | |
0.007352978229522705, | |
0.007395856857299805, | |
0.008808341026306152, | |
0.0091366605758667, | |
0.007408177852630616, | |
0.007202096939086914, | |
0.007054097175598144, | |
0.007122257232666016, | |
0.007151377201080322, | |
0.007363378047943115, | |
0.007229297161102295, | |
0.007143857002258301, | |
0.007095217227935791, | |
0.007388018131256104, | |
0.010440025329589844, | |
0.004581289768218994, | |
0.007180498123168945, | |
0.007794737815856934, | |
0.007720338821411133, | |
0.007688017845153808, | |
0.007723058223724365, | |
0.007667219161987305, | |
0.007665137767791748, | |
0.007765458106994629, | |
0.007576178073883057, | |
0.007715697765350342, | |
0.0076590580940246586, | |
0.007562257766723633, | |
0.0067225761413574215, | |
0.006722896099090576, | |
0.0067206559181213375, | |
0.006717135906219482, | |
0.0067702560424804685, | |
0.006726096153259278, | |
0.00671889591217041, | |
0.006738895893096924, | |
0.00673905611038208, | |
0.006724016189575195, | |
0.006728496074676514, | |
0.006724016189575195, | |
0.0067078561782836915, | |
0.006736176013946533, | |
0.006740655899047852, | |
0.006808335781097412, | |
0.006940816879272461, | |
0.006754576206207275, | |
0.0067505760192871096, | |
0.006756815910339355, | |
0.006747056007385254, | |
0.006766895771026612, | |
0.006726895809173584, | |
0.017750921249389647, | |
0.0022848060131073, | |
0.002294724941253662, | |
0.005748494148254395, | |
0.006739696025848388, | |
0.006744495868682861, | |
0.006712495803833008, | |
0.006738736152648926, | |
0.006736176013946533, | |
0.006735375881195068, | |
0.0067512159347534175, | |
0.006745296001434326, | |
0.006721295833587646, | |
0.006734896183013916, | |
0.00671905517578125, | |
0.0067347359657287595, | |
0.006708014965057373, | |
0.006714254856109619, | |
0.0067768158912658695, | |
0.006745296001434326, | |
0.006786896228790283, | |
0.006781295776367187, | |
0.006731855869293213, | |
0.0067702560424804685, | |
0.006752016067504883, | |
0.006755695819854736, | |
0.006763696193695068, | |
0.006740015983581543, | |
0.006754096031188965, | |
0.006743375778198242, | |
0.0067536158561706545, | |
0.006724814891815186, | |
0.006743375778198242, | |
0.006731056213378907, | |
0.006732656002044678, | |
0.006763216018676758, | |
0.006711535930633545, | |
0.007256017208099365, | |
0.007687697887420655, | |
0.007617938995361328, | |
0.0076358580589294435, | |
0.007682737827301026, | |
0.007069937229156494, | |
0.00715697717666626, | |
0.007138257026672363, | |
0.007052496910095215, | |
0.007120176792144776, | |
0.007652818202972412, | |
0.007652978897094726, | |
0.014075552940368653, | |
0.004525131225585938, | |
0.007718257904052735, | |
0.007665618896484375, | |
0.007664177894592285, | |
0.007480018138885498, | |
0.007698418140411377, | |
0.0076860980987548825 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.75306731356204 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |