![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
37a880c
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": "4", | |
"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": "error", | |
"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.33.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": 1108.041728, | |
"max_global_vram": 409.468928, | |
"max_process_vram": 42245.513216, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.04746728515625, | |
"mean": 8.04746728515625, | |
"stdev": 0.0, | |
"p50": 8.04746728515625, | |
"p90": 8.04746728515625, | |
"p95": 8.04746728515625, | |
"p99": 8.04746728515625, | |
"values": [ | |
8.04746728515625 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1192.239104, | |
"max_global_vram": 521.838592, | |
"max_process_vram": 112953.20064, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9991877548694612, | |
"mean": 0.007188401114168784, | |
"stdev": 0.0025029485410295415, | |
"p50": 0.007056778907775879, | |
"p90": 0.007429514026641846, | |
"p95": 0.007876504850387574, | |
"p99": 0.008106778888702393, | |
"values": [ | |
0.007583498001098633, | |
0.0072850980758666995, | |
0.00737565803527832, | |
0.007266858100891113, | |
0.0073676581382751466, | |
0.007199179172515869, | |
0.007243018150329589, | |
0.007163339138031006, | |
0.0072662181854248045, | |
0.007258539199829102, | |
0.007208137989044189, | |
0.007217258930206299, | |
0.007192937850952148, | |
0.007220778942108154, | |
0.007177739143371582, | |
0.007183659076690674, | |
0.007179338932037354, | |
0.0072802982330322265, | |
0.007194058895111084, | |
0.007131338119506836, | |
0.00715597915649414, | |
0.007096939086914063, | |
0.007110379219055176, | |
0.007100618839263916, | |
0.008188614845275879, | |
0.007498857975006104, | |
0.007067338943481445, | |
0.007061738967895508, | |
0.007041578769683838, | |
0.007057098865509033, | |
0.007031339168548584, | |
0.0070372591018676755, | |
0.00703981876373291, | |
0.007010058879852295, | |
0.0070372591018676755, | |
0.007039659023284912, | |
0.007017259120941162, | |
0.007039339065551758, | |
0.007043498992919922, | |
0.007044619083404541, | |
0.007000139236450195, | |
0.007009579181671143, | |
0.007003018856048584, | |
0.007026379108428955, | |
0.0070542187690734864, | |
0.00702557897567749, | |
0.007028298854827881, | |
0.006984139919281006, | |
0.007054539203643799, | |
0.0070158190727233885, | |
0.007022378921508789, | |
0.007021739006042481, | |
0.00703981876373291, | |
0.0070151791572570805, | |
0.007005898952484131, | |
0.007482858180999756, | |
0.007030698776245117, | |
0.007003818988800049, | |
0.007022378921508789, | |
0.007017259120941162, | |
0.007000938892364502, | |
0.007016940116882324, | |
0.0070486202239990236, | |
0.007314058780670166, | |
0.0070439791679382325, | |
0.007069738864898681, | |
0.007085739135742187, | |
0.007056778907775879, | |
0.0072838177680969235, | |
0.007296298027038574, | |
0.007080618858337402, | |
0.007072459220886231, | |
0.00702669906616211, | |
0.007016458988189697, | |
0.007055179119110107, | |
0.0070370988845825195, | |
0.007032938957214355, | |
0.007035819053649903, | |
0.00704413890838623, | |
0.03450757598876953, | |
0.0023395130634307863, | |
0.0023297529220581053, | |
0.0023308730125427245, | |
0.0023297529220581053, | |
0.0024046330451965334, | |
0.007072779178619384, | |
0.007040139198303223, | |
0.0070865387916564946, | |
0.007068459033966064, | |
0.007069899082183838, | |
0.007066379070281983, | |
0.007067338943481445, | |
0.007040139198303223, | |
0.007036458969116211, | |
0.00705997896194458, | |
0.007102859020233154, | |
0.007080618858337402, | |
0.007047179222106933, | |
0.0070228590965271, | |
0.007025739192962646, | |
0.00704141902923584, | |
0.0070225391387939455, | |
0.007016458988189697, | |
0.0070127792358398435, | |
0.0069356589317321774, | |
0.007367338180541992, | |
0.00787485694885254, | |
0.007899655818939208, | |
0.007973257064819337, | |
0.007463818073272705, | |
0.007617417812347412, | |
0.00789133596420288, | |
0.007913577079772948, | |
0.007896137237548829, | |
0.007289738178253174, | |
0.007359498023986817, | |
0.007404138088226318, | |
0.007387978076934814, | |
0.0074209380149841304, | |
0.007292139053344727, | |
0.007527018070220947, | |
0.0072996578216552735, | |
0.0072641391754150395, | |
0.0071124591827392575, | |
0.007073740005493164, | |
0.007229578971862793, | |
0.007114698886871338, | |
0.006981898784637451, | |
0.007035500049591065, | |
0.007005898952484131, | |
0.00702669906616211, | |
0.007009418964385986, | |
0.007012938976287842, | |
0.007008139133453369, | |
0.0070084590911865235, | |
0.006995820045471192, | |
0.007046539783477784, | |
0.007015339851379395, | |
0.00701373815536499 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.11299385185086 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |