IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
fb38d98
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": "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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082014.482432, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1177.501696, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 6071.042048, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.44374951171875 | |
], | |
"count": 1, | |
"total": 0.44374951171875, | |
"mean": 0.44374951171875, | |
"p50": 0.44374951171875, | |
"p90": 0.44374951171875, | |
"p95": 0.44374951171875, | |
"p99": 0.44374951171875, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1261.907968, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 104246.857728, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.516032 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.008276501655578613, | |
0.007634739875793457, | |
0.007225460052490235, | |
0.007136818885803223, | |
0.007051699161529541, | |
0.007033778190612793, | |
0.007018259048461914, | |
0.00700545883178711, | |
0.007000339031219482, | |
0.00702257776260376, | |
0.007050098896026612, | |
0.007009298801422119, | |
0.006998898983001709, | |
0.006987698078155517, | |
0.00720129919052124, | |
0.0069955382347106935, | |
0.007015538215637207, | |
0.0069726591110229495, | |
0.007145618915557862, | |
0.006950579166412354, | |
0.007083058834075928, | |
0.006944657802581787, | |
0.00693441915512085, | |
0.0070246591567993165, | |
0.006952017784118652, | |
0.006939058780670166, | |
0.0069556980133056645, | |
0.00705473804473877, | |
0.006968978881835937, | |
0.006965299129486084, | |
0.007089778900146484, | |
0.006976977825164795, | |
0.0069609789848327636, | |
0.007056818962097168, | |
0.006978899002075195, | |
0.0069513778686523435, | |
0.006962738990783692, | |
0.0069368181228637695, | |
0.006936819076538086, | |
0.007086578845977783, | |
0.006948338985443115, | |
0.006949458122253418, | |
0.006944018840789795, | |
0.006934578895568848, | |
0.007631060123443604, | |
0.008022900581359863, | |
0.00799346113204956, | |
0.007817300796508789, | |
0.007797461032867431, | |
0.00780194091796875, | |
0.007507699966430664, | |
0.006875698089599609, | |
0.006903219223022461, | |
0.006873618125915528, | |
0.007026419162750244, | |
0.006900658130645752, | |
0.006890419006347656, | |
0.006887378215789795, | |
0.006895538806915283, | |
0.006885777950286865, | |
0.006874098777770996, | |
0.006868658065795899, | |
0.006860497951507568, | |
0.006960818767547608, | |
0.006920018196105957, | |
0.006892337799072266, | |
0.0068848180770874024, | |
0.006891378879547119, | |
0.006928497791290283, | |
0.006909938812255859, | |
0.006892817974090576, | |
0.007218739986419678, | |
0.007631380081176758, | |
0.007194418907165528, | |
0.00719681978225708, | |
0.006938898086547852, | |
0.006945778846740722, | |
0.0069576182365417485, | |
0.007157138824462891, | |
0.006957938194274902, | |
0.006982258796691895, | |
0.006980978965759278, | |
0.006985777854919433, | |
0.0069444990158081055, | |
0.007100658893585205, | |
0.006950098991394043, | |
0.006971697807312011, | |
0.006964179039001464, | |
0.0071102590560913085, | |
0.006984179019927979, | |
0.0069795379638671875, | |
0.00695569896697998, | |
0.006957778930664063, | |
0.007111059188842773, | |
0.007094738960266113, | |
0.007096979141235351, | |
0.007153618812561035, | |
0.007149778842926026, | |
0.006946898937225342, | |
0.006934577941894531, | |
0.006913138866424561, | |
0.006941778182983398, | |
0.006926418781280518, | |
0.006952338218688965, | |
0.0069084978103637696, | |
0.006983377933502197, | |
0.006991058826446533, | |
0.006979379177093506, | |
0.0069752178192138675, | |
0.006969779014587402, | |
0.006992818832397461, | |
0.007001458168029785, | |
0.006963377952575684, | |
0.006961298942565918, | |
0.006963858127593994, | |
0.006941779136657715, | |
0.00693441915512085, | |
0.0069372978210449215, | |
0.0073595399856567385, | |
0.007308178901672363, | |
0.007251859188079834, | |
0.007259219169616699, | |
0.00733761978149414, | |
0.007378900051116943, | |
0.007416659832000732, | |
0.00736945915222168, | |
0.007275219917297363, | |
0.007271859169006347, | |
0.007310739040374756, | |
0.007123379230499267, | |
0.007191539764404297, | |
0.0073164992332458495, | |
0.0072477002143859865, | |
0.007317779064178467, | |
0.007356019973754882, | |
0.006954098224639892, | |
0.006964656829833984, | |
0.007201138973236084, | |
0.007533460140228271, | |
0.007467539787292481, | |
0.007410258769989014 | |
], | |
"count": 141, | |
"total": 1.0002786626815798, | |
"mean": 0.007094174912635316, | |
"p50": 0.006983377933502197, | |
"p90": 0.007378900051116943, | |
"p95": 0.007631380081176758, | |
"p99": 0.008011124801635742, | |
"stdev": 0.0002512836666349602, | |
"stdev_": 3.542112644944842 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.96071950790454 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |