IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
73db9c5
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": "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.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.754496, | |
"max_global_vram": 388.17792, | |
"max_process_vram": 44732.678144, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4729892578125, | |
"mean": 7.4729892578125, | |
"stdev": 0.0, | |
"p50": 7.4729892578125, | |
"p90": 7.4729892578125, | |
"p95": 7.4729892578125, | |
"p99": 7.4729892578125, | |
"values": [ | |
7.4729892578125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1069.805568, | |
"max_global_vram": 520.544256, | |
"max_process_vram": 97988.681728, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 0.9997197704315187, | |
"mean": 0.007192228564255529, | |
"stdev": 0.0011704188006604855, | |
"p50": 0.007103981971740722, | |
"p90": 0.007395084095001221, | |
"p95": 0.007474300861358642, | |
"p99": 0.007931975946426393, | |
"values": [ | |
0.007631498813629151, | |
0.0076875, | |
0.007336781024932861, | |
0.007022221088409424, | |
0.007050221920013428, | |
0.007061420917510986, | |
0.007112781047821045, | |
0.007085902214050293, | |
0.007067340850830078, | |
0.007071180820465088, | |
0.007059021949768067, | |
0.007077900886535644, | |
0.007117741107940674, | |
0.007149421215057373, | |
0.007099021911621093, | |
0.007100621223449707, | |
0.007123341083526611, | |
0.007147181034088135, | |
0.007104461193084717, | |
0.007096782207489014, | |
0.007109100818634033, | |
0.00713054084777832, | |
0.007170540809631348, | |
0.007089261054992676, | |
0.007101101875305176, | |
0.007110860824584961, | |
0.007119340896606445, | |
0.00728334093093872, | |
0.007489419937133789, | |
0.007263660907745361, | |
0.007117580890655517, | |
0.007140621185302735, | |
0.00740238094329834, | |
0.007130061149597168, | |
0.007124940872192383, | |
0.007120941162109375, | |
0.007106542110443115, | |
0.007206060886383057, | |
0.007081100940704346, | |
0.007088301181793213, | |
0.007051341056823731, | |
0.007129261016845703, | |
0.00710574197769165, | |
0.007107981204986572, | |
0.007093101024627685, | |
0.007093260765075684, | |
0.007134702205657959, | |
0.007097901821136475, | |
0.007098701000213623, | |
0.007104300975799561, | |
0.007108141899108886, | |
0.0071051020622253415, | |
0.007337739944458008, | |
0.007098862171173096, | |
0.007103021144866943, | |
0.007129261016845703, | |
0.007122540950775146, | |
0.007112462043762207, | |
0.007123661994934082, | |
0.007288300991058349, | |
0.00744926118850708, | |
0.007323660850524902, | |
0.007321101188659668, | |
0.007090860843658447, | |
0.0070623822212219235, | |
0.0071070208549499515, | |
0.0073139009475708, | |
0.007054380893707276, | |
0.007092620849609375, | |
0.007343020915985108, | |
0.007490059852600098, | |
0.007472620964050293, | |
0.00732318115234375, | |
0.007399820804595948, | |
0.00703662109375, | |
0.007041581153869629, | |
0.0071638221740722655, | |
0.007001741886138916, | |
0.007145421028137207, | |
0.007099340915679932, | |
0.007044462203979493, | |
0.007112620830535888, | |
0.007142220973968506, | |
0.007098701000213623, | |
0.00709486198425293, | |
0.0071113409996032715, | |
0.007117741107940674, | |
0.007107501029968262, | |
0.007103981971740722, | |
0.007096940994262695, | |
0.007099020957946778, | |
0.007096460819244385, | |
0.007070221900939941, | |
0.00705630111694336, | |
0.0078100600242614745, | |
0.007388781070709229, | |
0.0074399800300598146, | |
0.0073743810653686525, | |
0.019593708038330077, | |
0.0022591938972473143, | |
0.004292308807373047, | |
0.008006698608398437, | |
0.007393899917602539, | |
0.007418701171875, | |
0.007393420219421387, | |
0.007362061023712159, | |
0.00730157995223999, | |
0.0073033409118652345, | |
0.0074076600074768064, | |
0.007028302192687988, | |
0.007046700954437256, | |
0.007055662155151367, | |
0.006992461204528809, | |
0.007045102119445801, | |
0.007033261775970459, | |
0.007014862060546875, | |
0.0070175819396972655, | |
0.007013901233673096, | |
0.007020142078399658, | |
0.007043981075286866, | |
0.007038702011108398, | |
0.007019340991973877, | |
0.007016781806945801, | |
0.007049901008605957, | |
0.0070316619873046875, | |
0.007053902149200439, | |
0.007024301052093506, | |
0.00699118185043335, | |
0.00701406192779541, | |
0.0070307011604309085, | |
0.0070511817932128905, | |
0.007074380874633789, | |
0.007186700820922851, | |
0.007049582004547119, | |
0.007060461044311524, | |
0.00703934097290039, | |
0.007044140815734863, | |
0.00703934097290039, | |
0.007028141975402832 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 139.03896282855555 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |