IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
50e8c97
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.605632, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 53760.65536, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.8351328125, | |
"mean": 8.8351328125, | |
"stdev": 0.0, | |
"p50": 8.8351328125, | |
"p90": 8.8351328125, | |
"p95": 8.8351328125, | |
"p99": 8.8351328125, | |
"values": [ | |
8.8351328125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1237.962752, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 118815.858688, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 0.9977988643646242, | |
"mean": 0.007283203389522802, | |
"stdev": 0.0006282176047690455, | |
"p50": 0.007074543952941895, | |
"p90": 0.007903565979003905, | |
"p95": 0.007916237926483154, | |
"p99": 0.009718640727996788, | |
"values": [ | |
0.007902542114257812, | |
0.007738862037658691, | |
0.007457902908325195, | |
0.007389264106750488, | |
0.007490384101867676, | |
0.007396944046020508, | |
0.007456142902374268, | |
0.007364303112030029, | |
0.007477103233337402, | |
0.00736974287033081, | |
0.007365903854370117, | |
0.007330704212188721, | |
0.007318703174591065, | |
0.00728926420211792, | |
0.007289262771606445, | |
0.007252943992614746, | |
0.007207822799682617, | |
0.00715502405166626, | |
0.007199024200439453, | |
0.007120143890380859, | |
0.007243023872375488, | |
0.007164144039154053, | |
0.00722670316696167, | |
0.007192783832550049, | |
0.007216784000396728, | |
0.007125903129577637, | |
0.010703656196594238, | |
0.007268943786621094, | |
0.007043824195861816, | |
0.0070331039428710935, | |
0.007104302883148193, | |
0.006949904918670654, | |
0.006982704162597656, | |
0.007154223918914795, | |
0.007218702793121338, | |
0.007201104164123535, | |
0.007163824081420899, | |
0.007127983093261719, | |
0.007026544094085693, | |
0.0072006239891052246, | |
0.007170864105224609, | |
0.0074311838150024415, | |
0.007157262802124024, | |
0.007178703784942627, | |
0.00703326416015625, | |
0.007040624141693115, | |
0.0070060639381408696, | |
0.0070012640953063966, | |
0.007041264057159424, | |
0.0070348639488220215, | |
0.007032944202423096, | |
0.00701998519897461, | |
0.007022705078125, | |
0.007051984786987305, | |
0.007011185169219971, | |
0.007021103858947754, | |
0.0070110239982604985, | |
0.007165102958679199, | |
0.0070401449203491215, | |
0.007351024150848389, | |
0.007043024063110351, | |
0.007065423965454102, | |
0.007074543952941895, | |
0.007083183765411377, | |
0.007065104007720947, | |
0.00708814287185669, | |
0.007065423965454102, | |
0.007057424068450928, | |
0.007042384147644043, | |
0.007026383876800537, | |
0.007060304164886475, | |
0.007048624038696289, | |
0.007014705181121826, | |
0.007021745204925537, | |
0.007038865089416504, | |
0.007037584781646729, | |
0.007026703834533692, | |
0.006996304035186768, | |
0.0070190238952636715, | |
0.006993743896484375, | |
0.007032944202423096, | |
0.007020624160766602, | |
0.007017903804779053, | |
0.006994383811950684, | |
0.0070281438827514645, | |
0.007005583763122558, | |
0.007015024185180664, | |
0.007020624160766602, | |
0.011975333213806153, | |
0.0045044698715209965, | |
0.007412622928619385, | |
0.007073103904724121, | |
0.007032623767852783, | |
0.007048463821411133, | |
0.0070539040565490724, | |
0.007061744213104248, | |
0.0070545439720153804, | |
0.007032303810119629, | |
0.007046224117279053, | |
0.007054863929748535, | |
0.0070417442321777345, | |
0.0070174241065979, | |
0.007045584201812744, | |
0.007034704208374023, | |
0.00704798412322998, | |
0.007049583911895752, | |
0.007042064189910889, | |
0.007011824131011963, | |
0.0070849437713623046, | |
0.007071983814239502, | |
0.007050543785095215, | |
0.007027184009552002, | |
0.0070398240089416505, | |
0.007028463840484619, | |
0.007925261974334716, | |
0.00791470193862915, | |
0.007967502117156982, | |
0.007830222129821778, | |
0.0074583830833435056, | |
0.0076031827926635745, | |
0.007822062015533447, | |
0.007907182216644286, | |
0.00789614200592041, | |
0.007896461963653564, | |
0.007901422023773193, | |
0.007905101776123047, | |
0.007906382083892822, | |
0.007909902095794678, | |
0.007906541824340821, | |
0.007884461879730225, | |
0.00791422176361084, | |
0.00792238187789917, | |
0.007954542160034179, | |
0.007923021793365478, | |
0.007427021980285644, | |
0.007283664226531982, | |
0.007047823905944824 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.30222081104347 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |