
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
156e7a2
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_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": "0", | |
"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": true, | |
"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 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 853.991424, | |
"max_global_vram": 709.361664, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.66048779296875, | |
"mean": 7.66048779296875, | |
"stdev": 0.0, | |
"p50": 7.66048779296875, | |
"p90": 7.66048779296875, | |
"p95": 7.66048779296875, | |
"p99": 7.66048779296875, | |
"values": [ | |
7.66048779296875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.302898829166403e-06, | |
"ram": 2.3418592893726284e-06, | |
"gpu": 4.969170642000055e-06, | |
"total": 1.1613928760539087e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.033984, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 139, | |
"total": 1.0002562541961673, | |
"mean": 0.007196088159684657, | |
"stdev": 0.00024587423235432256, | |
"p50": 0.007116799831390381, | |
"p90": 0.007536217498779297, | |
"p95": 0.007618809509277344, | |
"p99": 0.007818076267242432, | |
"values": [ | |
0.007640063762664795, | |
0.007611392021179199, | |
0.007580671787261963, | |
0.007609344005584716, | |
0.007616447925567627, | |
0.007517183780670166, | |
0.007464960098266602, | |
0.007420928001403809, | |
0.007411712169647216, | |
0.007400447845458984, | |
0.007450623989105225, | |
0.007408639907836914, | |
0.007308288097381592, | |
0.007327744007110596, | |
0.00742195177078247, | |
0.0072130560874938965, | |
0.007508927822113037, | |
0.007766016006469726, | |
0.007485439777374267, | |
0.007849984169006348, | |
0.0074629120826721195, | |
0.007460864067077637, | |
0.007538623809814453, | |
0.007468031883239746, | |
0.007468031883239746, | |
0.007432191848754883, | |
0.0074700798988342285, | |
0.007452672004699707, | |
0.007457791805267334, | |
0.007479263782501221, | |
0.007450592041015625, | |
0.00738099193572998, | |
0.007039999961853028, | |
0.007039999961853028, | |
0.007087103843688965, | |
0.007418879985809326, | |
0.007531487941741943, | |
0.0071198720932006835, | |
0.007116799831390381, | |
0.007361536026000977, | |
0.007251967906951904, | |
0.007221248149871826, | |
0.007189504146575928, | |
0.007157760143280029, | |
0.007136256217956543, | |
0.007103487968444824, | |
0.007156735897064209, | |
0.007173120021820068, | |
0.007108607769012451, | |
0.007188479900360107, | |
0.007192575931549072, | |
0.007127039909362793, | |
0.007070720195770264, | |
0.007076863765716553, | |
0.0070891518592834475, | |
0.007153664112091064, | |
0.007208896160125732, | |
0.007036928176879883, | |
0.007096320152282715, | |
0.007103487968444824, | |
0.007111680030822754, | |
0.00710041618347168, | |
0.007068672180175781, | |
0.007124991893768311, | |
0.007199808120727539, | |
0.007268352031707764, | |
0.007206912040710449, | |
0.007158783912658692, | |
0.0072120318412780765, | |
0.007207935810089112, | |
0.0072130560874938965, | |
0.007178239822387696, | |
0.00704204797744751, | |
0.007137279987335205, | |
0.007078911781311035, | |
0.007049215793609619, | |
0.0071198720932006835, | |
0.006848512172698974, | |
0.006989823818206787, | |
0.007076863765716553, | |
0.0068055038452148435, | |
0.006747136116027832, | |
0.006853631973266602, | |
0.006791232109069824, | |
0.006809599876403808, | |
0.0069212160110473635, | |
0.007134208202362061, | |
0.007608320236206055, | |
0.007721983909606934, | |
0.007710720062255859, | |
0.007709695816040039, | |
0.007535615921020508, | |
0.007556096076965332, | |
0.008120320320129394, | |
0.007364607810974121, | |
0.007030816078186035, | |
0.007049215793609619, | |
0.007017471790313721, | |
0.007130112171173096, | |
0.007050240039825439, | |
0.007053311824798584, | |
0.007035903930664063, | |
0.0069928960800170895, | |
0.0070256638526916505, | |
0.0069816322326660156, | |
0.006977536201477051, | |
0.006944767951965332, | |
0.0069816322326660156, | |
0.006988800048828125, | |
0.006979584217071533, | |
0.00698367977142334, | |
0.007004159927368164, | |
0.007019455909729004, | |
0.007002111911773682, | |
0.006949888229370117, | |
0.006988800048828125, | |
0.0070041918754577635, | |
0.007001088142395019, | |
0.006965248107910156, | |
0.007058432102203369, | |
0.00707583999633789, | |
0.007050240039825439, | |
0.007111680030822754, | |
0.007019519805908203, | |
0.007002111911773682, | |
0.006996992111206054, | |
0.006990848064422607, | |
0.007020512104034424, | |
0.007009247779846192, | |
0.007002111911773682, | |
0.006985727787017822, | |
0.0069847040176391605, | |
0.006979584217071533, | |
0.006989823818206787, | |
0.006977568149566651, | |
0.006969344139099121, | |
0.007014400005340577, | |
0.006999040126800537, | |
0.006982656002044678 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.96438979199797 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.132187962803974e-08, | |
"ram": 4.4462338427683406e-08, | |
"gpu": 1.724620862191779e-07, | |
"total": 2.9824630427490105e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3352933.4166644863 | |
} | |
} | |
} | |
} |