IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b0c7cb6
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": "5", | |
"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.757184, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46095.736832, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.70352734375, | |
"mean": 8.70352734375, | |
"stdev": 0.0, | |
"p50": 8.70352734375, | |
"p90": 8.70352734375, | |
"p95": 8.70352734375, | |
"p99": 8.70352734375, | |
"values": [ | |
8.70352734375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1238.147072, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 100975.18592, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9950987172126775, | |
"mean": 0.007263494286223919, | |
"stdev": 0.0006843138607066978, | |
"p50": 0.007131021976470947, | |
"p90": 0.007544781303405762, | |
"p95": 0.00800644474029541, | |
"p99": 0.008045990028381347, | |
"values": [ | |
0.007592462062835694, | |
0.007471982002258301, | |
0.007174702167510987, | |
0.0071769428253173825, | |
0.007195981979370117, | |
0.00718030309677124, | |
0.007221902847290039, | |
0.007218061923980713, | |
0.0072131028175354, | |
0.0072047820091247555, | |
0.007203183174133301, | |
0.007173421859741211, | |
0.007198702812194824, | |
0.007219982147216797, | |
0.00718798303604126, | |
0.007165583133697509, | |
0.007152462959289551, | |
0.0071531028747558595, | |
0.0072353420257568355, | |
0.007122862815856934, | |
0.007094862937927246, | |
0.00711918306350708, | |
0.00711102294921875, | |
0.007109103202819825, | |
0.007145263195037842, | |
0.00712926197052002, | |
0.007360143184661865, | |
0.007362062931060791, | |
0.007134861946105957, | |
0.00711918306350708, | |
0.00714318323135376, | |
0.007143823146820069, | |
0.007262863159179687, | |
0.007137903213500977, | |
0.007152623176574707, | |
0.007101743221282959, | |
0.007106543064117432, | |
0.00752990198135376, | |
0.00713118314743042, | |
0.0071102228164672855, | |
0.007095982074737548, | |
0.0075313420295715335, | |
0.007119342803955078, | |
0.007128942966461182, | |
0.007100302219390869, | |
0.00711102294921875, | |
0.007073583126068116, | |
0.014073246002197266, | |
0.004169750213623047, | |
0.0073393421173095705, | |
0.007141263008117676, | |
0.007321102142333984, | |
0.007115502834320068, | |
0.007131182193756104, | |
0.007120943069458008, | |
0.007104302883148193, | |
0.0071127829551696775, | |
0.007151341915130615, | |
0.0071244630813598634, | |
0.007115502834320068, | |
0.007109423160552978, | |
0.007111341953277588, | |
0.0071175827980041505, | |
0.007343341827392578, | |
0.007137582778930664, | |
0.007108782768249512, | |
0.0071209421157836916, | |
0.007143662929534912, | |
0.007116143226623535, | |
0.007143503189086914, | |
0.007151021957397461, | |
0.0071151828765869144, | |
0.007135502815246582, | |
0.0071387019157409665, | |
0.007126382827758789, | |
0.007109902858734131, | |
0.007084942817687988, | |
0.007072943210601807, | |
0.007351983070373535, | |
0.00711118221282959, | |
0.007102222919464112, | |
0.007118863105773926, | |
0.007108303070068359, | |
0.007131021976470947, | |
0.007101263046264648, | |
0.00709678316116333, | |
0.007090542793273926, | |
0.007106863021850586, | |
0.007109743118286133, | |
0.007084463119506836, | |
0.007089743137359619, | |
0.007061742782592774, | |
0.007089262962341309, | |
0.007103981971740722, | |
0.007061583042144775, | |
0.007091183185577393, | |
0.007085742950439453, | |
0.007074542999267578, | |
0.007113741874694824, | |
0.007083023071289062, | |
0.007107182979583741, | |
0.007100303173065186, | |
0.007146862983703614, | |
0.007218062877655029, | |
0.007073583126068116, | |
0.007129103183746338, | |
0.00712302303314209, | |
0.007144142150878907, | |
0.007123662948608399, | |
0.007109103202819825, | |
0.007149581909179688, | |
0.008029741287231445, | |
0.00805486011505127, | |
0.008010540962219238, | |
0.008005420684814453, | |
0.008015979766845703, | |
0.007980781078338623, | |
0.007483022212982178, | |
0.007435021877288818, | |
0.007704461097717285, | |
0.0074983820915222165, | |
0.007488781929016113, | |
0.008012140274047851, | |
0.008030220985412598, | |
0.0079931001663208, | |
0.007656621932983399, | |
0.0075399808883667, | |
0.007551981925964356, | |
0.0073398218154907225, | |
0.007121263027191162, | |
0.007126061916351318, | |
0.00713118314743042, | |
0.007117903232574463, | |
0.007129743099212647, | |
0.007096302032470703, | |
0.007101101875305176, | |
0.007115983009338379 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.67478304438387 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |