IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
03d9601
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": "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": "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.1", | |
"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": 987.721728, | |
"max_global_vram": 409.21088, | |
"max_process_vram": 40235.429888, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.48480224609375, | |
"mean": 7.48480224609375, | |
"stdev": 0.0, | |
"p50": 7.48480224609375, | |
"p90": 7.48480224609375, | |
"p95": 7.48480224609375, | |
"p99": 7.48480224609375, | |
"values": [ | |
7.48480224609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1070.129152, | |
"max_global_vram": 520.605696, | |
"max_process_vram": 112295.501824, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 0.9946789064407352, | |
"mean": 0.007535446260914658, | |
"stdev": 0.00042374541134835116, | |
"p50": 0.007414338111877441, | |
"p90": 0.00799920392036438, | |
"p95": 0.008334540224075317, | |
"p99": 0.008475480213165283, | |
"values": [ | |
0.008198100090026856, | |
0.008217781066894532, | |
0.008313300132751465, | |
0.00836050033569336, | |
0.008369779586791993, | |
0.008378419876098633, | |
0.008398420333862304, | |
0.008510101318359374, | |
0.008306099891662597, | |
0.008092180252075195, | |
0.007942100048065186, | |
0.007734418869018555, | |
0.007626098155975342, | |
0.007503219127655029, | |
0.007193936824798584, | |
0.0075488190650939944, | |
0.007502418041229248, | |
0.007180657863616944, | |
0.007178256988525391, | |
0.007207697868347168, | |
0.007153937816619873, | |
0.007167057037353515, | |
0.0071574578285217285, | |
0.00719409704208374, | |
0.0071948981285095215, | |
0.00735169792175293, | |
0.008365139961242676, | |
0.007692977905273437, | |
0.007336658000946045, | |
0.007361618041992188, | |
0.00746337890625, | |
0.0074156980514526365, | |
0.007743699073791504, | |
0.008750420570373535, | |
0.008192660331726075, | |
0.007828179836273194, | |
0.007845458984375, | |
0.007884978771209717, | |
0.007894739151000977, | |
0.007884658813476563, | |
0.007879058837890624, | |
0.007927219867706298, | |
0.007912979125976563, | |
0.00791618013381958, | |
0.007912979125976563, | |
0.00789617919921875, | |
0.007907060146331787, | |
0.007920659065246582, | |
0.007928180217742919, | |
0.007932979106903076, | |
0.007899378776550293, | |
0.007900179862976075, | |
0.007902419090270996, | |
0.007919219970703125, | |
0.00785041904449463, | |
0.007282577991485596, | |
0.007276337146759033, | |
0.007001136779785156, | |
0.007139216899871826, | |
0.007007536888122559, | |
0.00701345682144165, | |
0.006992816925048828, | |
0.007017617225646973, | |
0.0070238571166992185, | |
0.007000816822052002, | |
0.007236978054046631, | |
0.007385938167572021, | |
0.007008337020874024, | |
0.007275057792663574, | |
0.006985136985778809, | |
0.006982097148895264, | |
0.007050737857818603, | |
0.00697201681137085, | |
0.006996976852416992, | |
0.006986896991729736, | |
0.007395217895507813, | |
0.007434257984161377, | |
0.00722993803024292, | |
0.007014417171478272, | |
0.007011696815490722, | |
0.007444979190826416, | |
0.007011537075042725, | |
0.007172017097473144, | |
0.007005617141723632, | |
0.007003696918487548, | |
0.007197136878967285, | |
0.007326097965240479, | |
0.007687539100646973, | |
0.007372017860412598, | |
0.0071873779296875, | |
0.00715537691116333, | |
0.007018097877502441, | |
0.007439218044281006, | |
0.007342897891998291, | |
0.007412978172302246, | |
0.007357297897338867, | |
0.00738225793838501, | |
0.007278897762298584, | |
0.007308978080749512, | |
0.007805778980255127, | |
0.00792737913131714, | |
0.00799921989440918, | |
0.00763969898223877, | |
0.0076022582054138185, | |
0.0074035382270812985, | |
0.007398737907409668, | |
0.007987858772277832, | |
0.007915538787841797, | |
0.0079731388092041, | |
0.007905620098114014, | |
0.00793665885925293, | |
0.007938739776611328, | |
0.007963698863983154, | |
0.007664019107818603, | |
0.007999060153961181, | |
0.007935859203338624, | |
0.0074652981758117675, | |
0.007391057968139649, | |
0.007375378131866455, | |
0.007458258152008057, | |
0.007629299163818359, | |
0.007360817909240723, | |
0.007290417194366455, | |
0.007094896793365478, | |
0.007095376968383789, | |
0.007200977802276611, | |
0.007307218074798584, | |
0.007667378902435303, | |
0.0070691370964050294, | |
0.007030416965484619, | |
0.007075538158416748, | |
0.007098735809326172 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 132.70614179638767 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |