![IlyasMoutawwakil's picture](https://cdn-avatars.huggingface.co/v1/production/uploads/1642598610696-noauth.jpeg)
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
dc1af84
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": 1153.29024, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 49458.208768, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.946783203125, | |
"mean": 8.946783203125, | |
"stdev": 0.0, | |
"p50": 8.946783203125, | |
"p90": 8.946783203125, | |
"p95": 8.946783203125, | |
"p99": 8.946783203125, | |
"values": [ | |
8.946783203125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.671936, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 102490.308608, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 0.9938955173492438, | |
"mean": 0.007704616413560026, | |
"stdev": 0.0009130366210168974, | |
"p50": 0.0074564990997314454, | |
"p90": 0.0081526611328125, | |
"p95": 0.009368375968933106, | |
"p99": 0.010473838119506836, | |
"values": [ | |
0.007991220951080322, | |
0.007787700176239014, | |
0.007436499118804931, | |
0.007331859111785888, | |
0.007319058895111084, | |
0.007557459831237793, | |
0.0072790589332580565, | |
0.007280178070068359, | |
0.0074092988967895505, | |
0.007251537799835205, | |
0.007202097892761231, | |
0.007194899082183838, | |
0.007191698074340821, | |
0.007127377986907959, | |
0.007120657920837403, | |
0.007011378765106201, | |
0.006930418014526367, | |
0.006905937194824218, | |
0.013861475944519043, | |
0.004595211982727051, | |
0.0068297781944274905, | |
0.006789456844329834, | |
0.006796658039093018, | |
0.006778097152709961, | |
0.010444347381591796, | |
0.007471378803253174, | |
0.007163857936859131, | |
0.007553618907928467, | |
0.007396658897399902, | |
0.00713857889175415, | |
0.007139537811279297, | |
0.007285459041595459, | |
0.007194418907165528, | |
0.007248817920684814, | |
0.007348978996276855, | |
0.00744145917892456, | |
0.007137777805328369, | |
0.007554259777069092, | |
0.007372818946838379, | |
0.007374898910522461, | |
0.007438099861145019, | |
0.007523378849029541, | |
0.0074264187812805174, | |
0.007168018817901611, | |
0.0075852999687194824, | |
0.007597778797149658, | |
0.007651700019836426, | |
0.007438579082489014, | |
0.007496019840240478, | |
0.00773553991317749, | |
0.007523698806762695, | |
0.007661139965057373, | |
0.007633780002593994, | |
0.007440019130706787, | |
0.007435540199279785, | |
0.007355059146881103, | |
0.007183698177337647, | |
0.006986097812652588, | |
0.00699409818649292, | |
0.006961456775665283, | |
0.006973137855529785, | |
0.006968657970428466, | |
0.010485306739807129, | |
0.007365778923034668, | |
0.007047537803649902, | |
0.007943700790405274, | |
0.007949140071868897, | |
0.007972980976104736, | |
0.008907222747802734, | |
0.009410103797912598, | |
0.009400504112243652, | |
0.009316823959350585, | |
0.009680665016174317, | |
0.009320183753967285, | |
0.00978178596496582, | |
0.008878743171691895, | |
0.0084025821685791, | |
0.008248661041259766, | |
0.008128661155700684, | |
0.008095541000366212, | |
0.008058581352233887, | |
0.008026901245117188, | |
0.008066420555114745, | |
0.008021780967712402, | |
0.008047380447387696, | |
0.008051699638366699, | |
0.008029300689697266, | |
0.00802626132965088, | |
0.008007221221923828, | |
0.008025620460510254, | |
0.007997139930725098, | |
0.00801362133026123, | |
0.008011220932006836, | |
0.007994579792022704, | |
0.00801457977294922, | |
0.008038101196289062, | |
0.008006260871887208, | |
0.007988659858703614, | |
0.008014260292053222, | |
0.008002580642700196, | |
0.00800498104095459, | |
0.00799425983428955, | |
0.008026740074157716, | |
0.00799026107788086, | |
0.007976500988006592, | |
0.0074564990997314454, | |
0.00720897912979126, | |
0.007220977783203125, | |
0.007210418224334717, | |
0.007216818809509277, | |
0.0072075390815734865, | |
0.007225138187408447, | |
0.007234899044036866, | |
0.007202259063720703, | |
0.007213458061218262, | |
0.007196018218994141, | |
0.007258578777313233, | |
0.0072240190505981445, | |
0.007219538211822509, | |
0.0071812992095947265, | |
0.00720129919052124, | |
0.007175538063049316, | |
0.007915060997009277, | |
0.00801393985748291, | |
0.008042259216308594, | |
0.008012981414794921, | |
0.007925460815429688, | |
0.007442899227142334, | |
0.007495698928833008 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.79231493472054 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |