
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a5753d9
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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 853.733376, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.67537548828125, | |
"mean": 7.67537548828125, | |
"stdev": 0.0, | |
"p50": 7.67537548828125, | |
"p90": 7.67537548828125, | |
"p95": 7.67537548828125, | |
"p99": 7.67537548828125, | |
"values": [ | |
7.67537548828125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.83822095486113e-06, | |
"ram": 2.6359493838872464e-06, | |
"gpu": 6.657783104000023e-06, | |
"total": 1.4131953442748398e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1093.24288, | |
"max_global_vram": 782.761984, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 0.996661503314972, | |
"mean": 0.007222184806630232, | |
"stdev": 0.0004214706856130193, | |
"p50": 0.007154687881469727, | |
"p90": 0.0073009152412414555, | |
"p95": 0.0074250239610672, | |
"p99": 0.009665658683776855, | |
"values": [ | |
0.009910271644592286, | |
0.009585663795471192, | |
0.009712639808654786, | |
0.00889139175415039, | |
0.007334911823272705, | |
0.007361536026000977, | |
0.007260159969329834, | |
0.0071833600997924804, | |
0.007184351921081543, | |
0.007189472198486328, | |
0.007228415966033935, | |
0.0071905279159545895, | |
0.007101439952850342, | |
0.0070830078125, | |
0.007142399787902832, | |
0.007219200134277344, | |
0.007206912040710449, | |
0.007200767993927002, | |
0.007270400047302246, | |
0.007233535766601563, | |
0.007278624057769775, | |
0.007168000221252442, | |
0.0071833600997924804, | |
0.007256063938140869, | |
0.0072325119972229, | |
0.007252992153167725, | |
0.007231488227844239, | |
0.007192575931549072, | |
0.007122943878173828, | |
0.007159808158874512, | |
0.007201727867126465, | |
0.007144447803497315, | |
0.0070891518592834475, | |
0.007037951946258545, | |
0.0071157760620117185, | |
0.007106560230255127, | |
0.007142399787902832, | |
0.0074106879234313965, | |
0.007104512214660645, | |
0.007197663784027099, | |
0.007226431846618652, | |
0.007269375801086426, | |
0.007229440212249756, | |
0.007209983825683594, | |
0.007296000003814697, | |
0.007163904190063477, | |
0.0071198720932006835, | |
0.007221248149871826, | |
0.007154687881469727, | |
0.007158783912658692, | |
0.007275519847869873, | |
0.007197696208953858, | |
0.007094272136688232, | |
0.007065663814544678, | |
0.007143424034118652, | |
0.007122879981994629, | |
0.007268352031707764, | |
0.007162879943847656, | |
0.007057407855987549, | |
0.0071198720932006835, | |
0.007162879943847656, | |
0.007158783912658692, | |
0.007135231971740722, | |
0.007088128089904785, | |
0.007165984153747558, | |
0.007207935810089112, | |
0.00728985595703125, | |
0.007223296165466309, | |
0.007186431884765625, | |
0.0072468481063842774, | |
0.007175168037414551, | |
0.007216127872467041, | |
0.007132224082946777, | |
0.007103487968444824, | |
0.007229440212249756, | |
0.007088128089904785, | |
0.007324672222137451, | |
0.007023615837097168, | |
0.006899712085723877, | |
0.007126016139984131, | |
0.007154687881469727, | |
0.006920191764831543, | |
0.006791168212890625, | |
0.0068249602317810056, | |
0.0070267200469970705, | |
0.00728879976272583, | |
0.007651328086853027, | |
0.007362559795379638, | |
0.007412735939025879, | |
0.007494656085968018, | |
0.007681024074554443, | |
0.007312384128570557, | |
0.007222271919250488, | |
0.007198719978332519, | |
0.007132160186767578, | |
0.007176191806793213, | |
0.007203872203826904, | |
0.007181312084197998, | |
0.0070830078125, | |
0.007047167778015137, | |
0.00709939193725586, | |
0.007108607769012451, | |
0.007172095775604248, | |
0.007038976192474365, | |
0.007063488006591797, | |
0.007108672142028809, | |
0.007169023990631103, | |
0.0071198720932006835, | |
0.00704204797744751, | |
0.007054336071014404, | |
0.007081984043121338, | |
0.007068672180175781, | |
0.007054336071014404, | |
0.007065663814544678, | |
0.007048192024230957, | |
0.00703385591506958, | |
0.007284736156463623, | |
0.007041024208068848, | |
0.00710041618347168, | |
0.0070860800743103025, | |
0.00709119987487793, | |
0.007011328220367432, | |
0.0070522880554199216, | |
0.007054336071014404, | |
0.007061503887176514, | |
0.007069695949554444, | |
0.007027775764465332, | |
0.007145472049713135, | |
0.007085055828094483, | |
0.007030784130096435, | |
0.006980607986450196, | |
0.007020576000213623, | |
0.007020544052124023, | |
0.007027679920196533, | |
0.006980607986450196, | |
0.00701855993270874, | |
0.007032832145690918, | |
0.007081984043121338 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 138.46225578192949 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.232282542624863e-08, | |
"ram": 4.4829184736081104e-08, | |
"gpu": 1.717453481241386e-07, | |
"total": 2.988973582864683e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3345630.104370421 | |
} | |
} | |
} | |
} |