IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
678e9cc
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", | |
"model": "timm/resnet50.a1_in1k", | |
"library": "timm", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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.0", | |
"optimum_benchmark_commit": "8c941d382a8099afb1970de0d586e2ae6aa525e8", | |
"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": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1819.783168, | |
"max_global_vram": 68102.483968, | |
"max_process_vram": 70375.407616, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 170, | |
"total": 0.9946498775482177, | |
"mean": 0.005850881632636575, | |
"stdev": 0.0003657310038673024, | |
"p50": 0.005727521657943725, | |
"p90": 0.006280034112930298, | |
"p95": 0.006295282006263733, | |
"p99": 0.006385958166122437, | |
"values": [ | |
0.006071362018585205, | |
0.00569008207321167, | |
0.005626881122589111, | |
0.00563936185836792, | |
0.005663520812988281, | |
0.005699682235717774, | |
0.005683841228485108, | |
0.005746242046356201, | |
0.005705922126770019, | |
0.005681120872497559, | |
0.005657762050628662, | |
0.00564336109161377, | |
0.005651842117309571, | |
0.005650881767272949, | |
0.005677441120147705, | |
0.005663681983947754, | |
0.00561936092376709, | |
0.005648161888122559, | |
0.00562896203994751, | |
0.005652960777282715, | |
0.005606401920318604, | |
0.005609281063079834, | |
0.005628322124481201, | |
0.005601921081542969, | |
0.005646081924438476, | |
0.00560928201675415, | |
0.005681120872497559, | |
0.005607682228088379, | |
0.005617600917816162, | |
0.00563712215423584, | |
0.00651104211807251, | |
0.005699680805206299, | |
0.005641441822052002, | |
0.005706721782684326, | |
0.005631200790405274, | |
0.0056654419898986815, | |
0.005633760929107666, | |
0.005673121929168701, | |
0.005723361015319824, | |
0.005792801856994629, | |
0.00569776201248169, | |
0.005701920986175537, | |
0.0057009620666503905, | |
0.005792481899261475, | |
0.005796801090240478, | |
0.005806881904602051, | |
0.005888960838317871, | |
0.0058331208229064945, | |
0.005586242198944092, | |
0.005797601222991943, | |
0.005837761878967286, | |
0.005858242034912109, | |
0.005982561111450195, | |
0.005660962104797363, | |
0.008821922302246094, | |
0.0061817622184753415, | |
0.005967681884765625, | |
0.00589168119430542, | |
0.00597504186630249, | |
0.005906722068786621, | |
0.005966721057891845, | |
0.006107522010803223, | |
0.006176641941070557, | |
0.005836641788482666, | |
0.005822560787200928, | |
0.005676961898803711, | |
0.005841920852661133, | |
0.005744162082672119, | |
0.005801442146301269, | |
0.005744481086730957, | |
0.005592321872711182, | |
0.005823841094970703, | |
0.005559361934661865, | |
0.005787841796875, | |
0.005554881095886231, | |
0.005710241794586182, | |
0.005589601039886475, | |
0.005849761962890625, | |
0.005749762058258057, | |
0.0058209609985351565, | |
0.005723522186279297, | |
0.00551776123046875, | |
0.00551104211807251, | |
0.005744482040405273, | |
0.005523040771484375, | |
0.005509282112121582, | |
0.005517281055450439, | |
0.005527522087097168, | |
0.005521280765533447, | |
0.005532641887664795, | |
0.005731521129608154, | |
0.005533602237701416, | |
0.005524002075195313, | |
0.005495040893554687, | |
0.005535361766815186, | |
0.005523520946502686, | |
0.005528162002563477, | |
0.005528000831604004, | |
0.005505281925201416, | |
0.005521121025085449, | |
0.0055204820632934574, | |
0.005516322135925293, | |
0.0055219211578369145, | |
0.00551760196685791, | |
0.0054796810150146485, | |
0.0055155220031738285, | |
0.005522080898284912, | |
0.005533602237701416, | |
0.00550096082687378, | |
0.005527681827545166, | |
0.005545280933380127, | |
0.005514400959014893, | |
0.0055230422019958494, | |
0.005565600872039795, | |
0.0055204820632934574, | |
0.005516001224517822, | |
0.005518402099609375, | |
0.0055390410423278805, | |
0.005601602077484131, | |
0.0057222418785095215, | |
0.005951520919799805, | |
0.006090082168579101, | |
0.006243681907653809, | |
0.006219841003417968, | |
0.006086081981658936, | |
0.0057320017814636234, | |
0.005829441070556641, | |
0.005866881847381592, | |
0.00606400203704834, | |
0.005772961139678955, | |
0.006025442123413086, | |
0.005933762073516846, | |
0.006016800880432129, | |
0.006027681827545166, | |
0.006294402122497558, | |
0.006293282032012939, | |
0.006238561153411865, | |
0.006275842189788819, | |
0.006248802185058594, | |
0.00624256181716919, | |
0.006289280891418457, | |
0.006244162082672119, | |
0.006254402160644532, | |
0.006252962112426758, | |
0.006329761028289795, | |
0.006300642013549805, | |
0.00625392198562622, | |
0.006260161876678467, | |
0.006251360893249512, | |
0.00625728178024292, | |
0.006248802185058594, | |
0.006315361976623535, | |
0.00629600191116333, | |
0.006252480983734131, | |
0.006308162212371826, | |
0.006309922218322754, | |
0.006310242176055908, | |
0.006291040897369385, | |
0.006273762226104736, | |
0.0062929620742797855, | |
0.006280002117156983, | |
0.006274560928344727, | |
0.006271681785583496, | |
0.006280642032623291, | |
0.006277282238006592, | |
0.00626400089263916, | |
0.006282401084899902, | |
0.006274402141571045, | |
0.006280322074890137, | |
0.006272321224212647 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 170.91441303853063 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |