IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
d5feec1
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.2.1", | |
"optimum_benchmark_commit": "3731aa19b0b76022fb42f78436721c579f50c777", | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.0", | |
"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": 1821.704192, | |
"max_global_vram": 541.81888, | |
"max_process_vram": 94774.607872, | |
"max_reserved": 148.897792, | |
"max_allocated": 113.51808 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 157, | |
"total": 0.9936456441879273, | |
"mean": 0.006328953147693804, | |
"stdev": 0.00026097841036843176, | |
"p50": 0.006348445892333985, | |
"p90": 0.006614779949188233, | |
"p95": 0.0066501400947570795, | |
"p99": 0.0067580173683166505, | |
"values": [ | |
0.0070940408706665035, | |
0.006292605876922607, | |
0.005923326969146729, | |
0.006311645984649658, | |
0.006328764915466308, | |
0.006329405784606934, | |
0.006354365825653076, | |
0.006346364974975586, | |
0.006363805770874024, | |
0.005841888904571533, | |
0.0058490891456604, | |
0.00591756820678711, | |
0.00656364393234253, | |
0.006322045803070068, | |
0.006186205863952637, | |
0.006565884113311767, | |
0.006590203762054443, | |
0.006066206932067871, | |
0.00600236701965332, | |
0.006477725028991699, | |
0.0062623658180236816, | |
0.00636060619354248, | |
0.0058913278579711915, | |
0.006377565860748291, | |
0.006541403770446777, | |
0.0065974040031433106, | |
0.006700922966003418, | |
0.006646364212036133, | |
0.006641724109649658, | |
0.0067132430076599124, | |
0.006668283939361573, | |
0.0066470041275024415, | |
0.006667963981628418, | |
0.0066292438507080075, | |
0.006583963871002197, | |
0.006815002918243408, | |
0.006636444091796875, | |
0.006600284099578858, | |
0.006589724063873291, | |
0.006575963973999024, | |
0.006553884029388428, | |
0.006649084091186523, | |
0.006582365036010742, | |
0.0066543641090393065, | |
0.00667932415008545, | |
0.00663948392868042, | |
0.006591643810272217, | |
0.006610683917999268, | |
0.006585564136505127, | |
0.006502685070037842, | |
0.006498363971710205, | |
0.00649900484085083, | |
0.006492125034332275, | |
0.00651644515991211, | |
0.00649900484085083, | |
0.00662092399597168, | |
0.006510844230651855, | |
0.0065030050277709965, | |
0.006499804019927978, | |
0.006514685153961182, | |
0.0064962849617004395, | |
0.006501884937286377, | |
0.006529244899749756, | |
0.006519964218139648, | |
0.006532285213470459, | |
0.006518845081329346, | |
0.006497085094451904, | |
0.006521725177764893, | |
0.0065007638931274415, | |
0.006481245040893555, | |
0.006515644073486328, | |
0.006515005111694336, | |
0.006532444953918457, | |
0.006511643886566162, | |
0.0065191650390625, | |
0.006528123855590821, | |
0.006500764846801758, | |
0.006494365215301514, | |
0.006560443878173828, | |
0.0065436439514160154, | |
0.006519004821777343, | |
0.006537563800811767, | |
0.0065380439758300785, | |
0.006511644840240478, | |
0.006144445896148681, | |
0.0063382058143615725, | |
0.006420606136322021, | |
0.0063682861328125, | |
0.006468605041503906, | |
0.006156927108764649, | |
0.0063426861763000485, | |
0.0063206062316894535, | |
0.0063353261947631835, | |
0.0063134050369262696, | |
0.006447165012359619, | |
0.006300446033477783, | |
0.00586956787109375, | |
0.006039648056030273, | |
0.005783489227294922, | |
0.005782048225402832, | |
0.005791008949279785, | |
0.0060897269248962405, | |
0.006251805782318115, | |
0.005751968860626221, | |
0.005916448116302491, | |
0.006149726867675781, | |
0.0060586872100830075, | |
0.005890687942504883, | |
0.005852609157562256, | |
0.006347005844116211, | |
0.006218046188354492, | |
0.006335165023803711, | |
0.006348445892333985, | |
0.006359805107116699, | |
0.006338844776153565, | |
0.006298525810241699, | |
0.006151646137237549, | |
0.006253086090087891, | |
0.006098526954650879, | |
0.006343325138092041, | |
0.006360925197601318, | |
0.006333725929260254, | |
0.006349884986877442, | |
0.006294526100158691, | |
0.00608700704574585, | |
0.006130846977233886, | |
0.006095006942749024, | |
0.005854848861694336, | |
0.006261085987091065, | |
0.006153727054595947, | |
0.006317884922027588, | |
0.006342525959014893, | |
0.006358366012573242, | |
0.00631660509109497, | |
0.006138526916503907, | |
0.0061572461128234866, | |
0.005921247959136963, | |
0.0061602859497070315, | |
0.006182045936584473, | |
0.006035167217254639, | |
0.006130207061767578, | |
0.006114686012268066, | |
0.006146047115325928, | |
0.00623452615737915, | |
0.006088447093963623, | |
0.0061846070289611815, | |
0.005855648040771484, | |
0.006249886035919189, | |
0.006163325786590576, | |
0.005998527050018311, | |
0.0060095667839050295, | |
0.005901408195495605, | |
0.00613228702545166, | |
0.006366684913635254, | |
0.005873087882995605, | |
0.006005246162414551, | |
0.005559329986572266 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 158.00401372293112 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |