IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
71b45d0
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": "timm/resnet50.a1_in1k", | |
"processor": "timm/resnet50.a1_in1k", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "bf00581ca84403c7aba5a4a8f646e796f7b72599", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1832.01792, | |
"max_global_vram": 541.63456, | |
"max_process_vram": 73802.58816, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.520128 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 119, | |
"total": 0.9866164994239802, | |
"mean": 0.008290894953142695, | |
"stdev": 0.0005833147674076813, | |
"p50": 0.008223821640014648, | |
"p90": 0.008427886199951171, | |
"p95": 0.008578221797943115, | |
"p99": 0.009429852066040034, | |
"values": [ | |
0.009577739715576171, | |
0.008463823318481445, | |
0.014270689964294434, | |
0.008507661819458008, | |
0.008263182640075684, | |
0.008269263267517089, | |
0.008263662338256835, | |
0.008268942832946777, | |
0.00825582218170166, | |
0.008249743461608887, | |
0.008259822845458984, | |
0.008223821640014648, | |
0.00821262264251709, | |
0.008215662956237792, | |
0.008207983016967773, | |
0.008185422897338868, | |
0.008223663330078125, | |
0.008253263473510743, | |
0.008238382339477539, | |
0.008207182884216308, | |
0.008227023124694824, | |
0.008210542678833008, | |
0.008241103172302247, | |
0.008218703269958496, | |
0.008236943244934082, | |
0.008230063438415527, | |
0.008236462593078614, | |
0.0082031831741333, | |
0.00823566246032715, | |
0.008239982604980468, | |
0.00823326301574707, | |
0.007979022979736327, | |
0.007959982872009278, | |
0.00810942268371582, | |
0.007879183769226075, | |
0.0078910231590271, | |
0.00788670301437378, | |
0.008369422912597657, | |
0.008355981826782226, | |
0.008169583320617676, | |
0.008258861541748047, | |
0.008221423149108887, | |
0.008727822303771973, | |
0.008206382751464843, | |
0.008205742835998535, | |
0.008203022956848145, | |
0.008085742950439453, | |
0.007955183029174804, | |
0.007874864101409912, | |
0.007905103206634522, | |
0.007945263862609863, | |
0.007943024158477783, | |
0.007918703079223632, | |
0.008260943412780762, | |
0.008276461601257324, | |
0.008158863067626953, | |
0.008335343360900879, | |
0.00843934154510498, | |
0.008756141662597656, | |
0.008111823081970214, | |
0.00812910270690918, | |
0.008656302452087402, | |
0.008644461631774902, | |
0.008427661895751953, | |
0.008428783416748046, | |
0.008303502082824706, | |
0.00817758274078369, | |
0.00857086181640625, | |
0.008276303291320801, | |
0.008252621650695801, | |
0.008151502609252929, | |
0.008484942436218262, | |
0.008284942626953125, | |
0.008360301971435547, | |
0.008163183212280274, | |
0.008205263137817383, | |
0.008267023086547852, | |
0.008220622062683106, | |
0.00819790267944336, | |
0.008194223403930664, | |
0.008259343147277833, | |
0.008289583206176758, | |
0.008229743003845215, | |
0.00819454288482666, | |
0.008191983222961425, | |
0.008217742919921875, | |
0.008224943161010741, | |
0.008183342933654785, | |
0.00821950340270996, | |
0.00819614315032959, | |
0.008235503196716308, | |
0.008204781532287597, | |
0.00821086311340332, | |
0.008152783393859863, | |
0.008196622848510741, | |
0.00823774242401123, | |
0.008179983139038087, | |
0.008207503318786622, | |
0.008204623222351074, | |
0.008163823127746581, | |
0.008182223320007325, | |
0.008158062934875488, | |
0.008216463088989257, | |
0.008149903297424316, | |
0.008176942825317383, | |
0.008208621978759765, | |
0.008276622772216797, | |
0.008219022750854493, | |
0.008303342819213867, | |
0.008270543098449707, | |
0.008259821891784667, | |
0.008229903221130371, | |
0.008349102973937988, | |
0.008268302917480468, | |
0.008224943161010741, | |
0.008271981239318847, | |
0.008262063026428223, | |
0.008247022628784179, | |
0.008221741676330566 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 120.61424076069692 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |