IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
1c199fe
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": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1177.554944, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 6140.919808, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.4544405517578125 | |
], | |
"count": 1, | |
"total": 0.4544405517578125, | |
"mean": 0.4544405517578125, | |
"p50": 0.4544405517578125, | |
"p90": 0.4544405517578125, | |
"p95": 0.4544405517578125, | |
"p99": 0.4544405517578125, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1261.989888, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 107883.995136, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.008542570114135742, | |
0.007907690048217774, | |
0.007884169101715088, | |
0.007977610111236572, | |
0.007907209873199463, | |
0.007956489086151123, | |
0.00789808988571167, | |
0.007993450164794922, | |
0.007896328926086426, | |
0.00801041030883789, | |
0.007966889858245849, | |
0.008068808555603027, | |
0.007971048831939697, | |
0.008106730461120605, | |
0.007961929798126221, | |
0.008012490272521973, | |
0.00801072883605957, | |
0.0080076904296875, | |
0.008002570152282715, | |
0.008024330139160157, | |
0.007903209209442139, | |
0.007975689888000488, | |
0.007900169849395752, | |
0.007905768871307372, | |
0.007943210124969482, | |
0.0080558500289917, | |
0.007930728912353515, | |
0.007944330215454102, | |
0.00804160976409912, | |
0.007909130096435547, | |
0.007909288883209228, | |
0.007986569881439209, | |
0.007971529960632323, | |
0.007658568859100342, | |
0.007001287937164306, | |
0.007017767906188964, | |
0.007004649162292481, | |
0.006999688148498535, | |
0.00700848913192749, | |
0.00703376817703247, | |
0.007023529052734375, | |
0.006992167949676513, | |
0.006975688934326172, | |
0.006986248016357422, | |
0.0069955291748046875, | |
0.00700272798538208, | |
0.006979208946228027, | |
0.006991047859191895, | |
0.007003367900848389, | |
0.00697216796875, | |
0.007033127784729004, | |
0.00698560905456543, | |
0.007010087966918945, | |
0.0069740891456604006, | |
0.007008808135986328, | |
0.007006248950958252, | |
0.006996488094329834, | |
0.006975688934326172, | |
0.00708192777633667, | |
0.006996328830718994, | |
0.006986087799072266, | |
0.006963529109954834, | |
0.006982088088989258, | |
0.007166089057922364, | |
0.00700848913192749, | |
0.0069982481002807614, | |
0.006998088836669922, | |
0.00698800802230835, | |
0.00699216890335083, | |
0.00702240800857544, | |
0.007026888847351074, | |
0.007047368049621582, | |
0.0070048079490661625, | |
0.0069984087944030765, | |
0.007003528118133545, | |
0.0069985690116882325, | |
0.006985447883605957, | |
0.007019049167633057, | |
0.006983848094940186, | |
0.0069678487777709965, | |
0.007000648021697998, | |
0.0069936089515686035, | |
0.006978888034820557, | |
0.006998888969421387, | |
0.007006087779998779, | |
0.006985768795013427, | |
0.006971528053283691, | |
0.006980648994445801, | |
0.006989927768707276, | |
0.006966729164123536, | |
0.006965767860412597, | |
0.006961288928985595, | |
0.006975527763366699, | |
0.006968809127807617, | |
0.007011047840118408, | |
0.006968968868255615, | |
0.006963047981262207, | |
0.00749216890335083, | |
0.007052487850189209, | |
0.0070718488693237306, | |
0.007022088050842285, | |
0.0070107288360595705, | |
0.007016007900238037, | |
0.007001769065856933, | |
0.007017289161682129, | |
0.007003367900848389, | |
0.007146089076995849, | |
0.007132168769836426, | |
0.0070238480567932126, | |
0.007165928840637207, | |
0.007046887874603272, | |
0.007030248165130615, | |
0.007161289215087891, | |
0.007159207820892334, | |
0.007018887996673584, | |
0.007023048877716064, | |
0.007007207870483399, | |
0.0069985690116882325, | |
0.0069956879615783694, | |
0.006993449211120605, | |
0.006990087985992432, | |
0.00698832893371582, | |
0.007014408111572266, | |
0.007003688812255859, | |
0.006986408233642578, | |
0.006994409084320068, | |
0.007035848140716553, | |
0.007045289039611816, | |
0.0070651288032531736, | |
0.007028488159179688, | |
0.007181768894195557, | |
0.007001927852630615, | |
0.00708400821685791, | |
0.007279688835144043, | |
0.007089929103851318, | |
0.007020808219909668, | |
0.007041129112243652, | |
0.006999847888946534 | |
], | |
"count": 138, | |
"total": 1.0014682497978216, | |
"mean": 0.007257016302882762, | |
"p50": 0.0070166485309600835, | |
"p90": 0.007976265954971314, | |
"p95": 0.008010993051528931, | |
"p99": 0.0080926993560791, | |
"stdev": 0.000419521385740704, | |
"stdev_": 5.780907307236642 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.79767858627548 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |