IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
863c91a
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", | |
"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.2.1", | |
"optimum_benchmark_commit": "eee61510ab9c7b38bd9807712fa942e2f5ba255c", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1816.162304, | |
"max_global_vram": 2740.224, | |
"max_process_vram": 100116.058112, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 170, | |
"total": 0.9962688531875608, | |
"mean": 0.005860405018750359, | |
"stdev": 0.0004200385833822009, | |
"p50": 0.005694467544555664, | |
"p90": 0.00650371298789978, | |
"p95": 0.0065414018392562865, | |
"p99": 0.006561878967285157, | |
"values": [ | |
0.0065407857894897465, | |
0.006458226203918457, | |
0.00646958589553833, | |
0.006499985218048096, | |
0.006503345966339111, | |
0.006548945903778076, | |
0.00650414514541626, | |
0.0065831861495971675, | |
0.006534706115722657, | |
0.006549426078796387, | |
0.0065476660728454586, | |
0.006548464775085449, | |
0.006509106159210205, | |
0.006534066200256348, | |
0.006552306175231934, | |
0.006528306007385254, | |
0.0065478248596191405, | |
0.006517265796661377, | |
0.006476466178894043, | |
0.00649214506149292, | |
0.00645262622833252, | |
0.006484945774078369, | |
0.006468306064605713, | |
0.00650366497039795, | |
0.006541905879974365, | |
0.0065311861038208005, | |
0.006362866878509521, | |
0.005735988140106201, | |
0.005742066860198974, | |
0.0057502279281616215, | |
0.005754868030548096, | |
0.005744146823883057, | |
0.005769107818603516, | |
0.00581086778640747, | |
0.005870226860046387, | |
0.00588638687133789, | |
0.005865746974945068, | |
0.005832626819610596, | |
0.005851827144622803, | |
0.005770226955413818, | |
0.005757747173309326, | |
0.0057742280960083004, | |
0.005741587162017822, | |
0.005727827072143555, | |
0.005741908073425293, | |
0.006944784164428711, | |
0.005550067901611328, | |
0.005473587989807129, | |
0.005459668159484864, | |
0.0054676680564880375, | |
0.005450387954711914, | |
0.005457427978515625, | |
0.005461907863616943, | |
0.005474708080291748, | |
0.0054535880088806155, | |
0.005487028121948242, | |
0.00546046781539917, | |
0.005476307868957519, | |
0.005449428081512451, | |
0.005451508045196533, | |
0.005471827983856201, | |
0.005446387767791748, | |
0.005459668159484864, | |
0.005471667766571045, | |
0.005475508213043213, | |
0.005457908153533936, | |
0.005465588092803955, | |
0.0054591879844665524, | |
0.005451508045196533, | |
0.005444787979125977, | |
0.005670547008514404, | |
0.0054659080505371094, | |
0.005464628219604493, | |
0.005518708229064941, | |
0.005506068229675293, | |
0.0054895877838134766, | |
0.005463347911834717, | |
0.0054499077796936034, | |
0.005465107917785645, | |
0.00546430778503418, | |
0.005447988033294678, | |
0.0054683079719543455, | |
0.005447187900543213, | |
0.005468148231506348, | |
0.005659506797790527, | |
0.005424627780914307, | |
0.0054707078933715824, | |
0.00553358793258667, | |
0.005511668205261231, | |
0.005519187927246093, | |
0.005512787818908692, | |
0.005523987770080566, | |
0.005511026859283447, | |
0.0055177478790283205, | |
0.005536468029022217, | |
0.005506388187408447, | |
0.005512467861175537, | |
0.005522068023681641, | |
0.005495028018951416, | |
0.005525426864624023, | |
0.005518548011779785, | |
0.005514708042144776, | |
0.005521108150482177, | |
0.005535828113555908, | |
0.0054969477653503416, | |
0.005495667934417725, | |
0.005508788108825683, | |
0.005523987770080566, | |
0.005478707790374756, | |
0.005490548133850097, | |
0.005533428192138672, | |
0.005501587867736816, | |
0.005521266937255859, | |
0.005508307933807373, | |
0.005541907787322998, | |
0.005718388080596924, | |
0.006094865798950196, | |
0.005523987770080566, | |
0.005518067836761475, | |
0.005497268199920654, | |
0.005728786945343018, | |
0.005502868175506592, | |
0.005504148006439209, | |
0.005476307868957519, | |
0.005511668205261231, | |
0.00553406810760498, | |
0.005478548049926758, | |
0.005500627040863037, | |
0.005502227783203125, | |
0.005486867904663086, | |
0.005501428127288818, | |
0.005489428043365479, | |
0.005492787837982177, | |
0.005499988079071045, | |
0.005891986846923828, | |
0.0062534260749816896, | |
0.006225905895233154, | |
0.006245427131652832, | |
0.006269745826721192, | |
0.006272146224975586, | |
0.0063012661933898925, | |
0.00629102611541748, | |
0.0062782268524169925, | |
0.006266386985778809, | |
0.006281266212463379, | |
0.006294546127319336, | |
0.006252145767211914, | |
0.006276785850524902, | |
0.006272946834564209, | |
0.006277425765991211, | |
0.006299506187438965, | |
0.0062731060981750485, | |
0.006245905876159668, | |
0.006258866786956787, | |
0.006248785972595215, | |
0.006241265773773193, | |
0.006258066177368164, | |
0.006229426860809326, | |
0.006245426177978516, | |
0.00624798583984375, | |
0.00625662612915039, | |
0.006268786907196045, | |
0.006223025798797607, | |
0.006309906005859375, | |
0.00622334623336792, | |
0.006222386837005615, | |
0.006240785121917725, | |
0.006221106052398681, | |
0.0062379069328308105, | |
0.006198226928710937 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 170.636670469106 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |