
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
361924e
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 788.750336, | |
"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.39921923828125, | |
"mean": 7.39921923828125, | |
"stdev": 0.0, | |
"p50": 7.39921923828125, | |
"p90": 7.39921923828125, | |
"p95": 7.39921923828125, | |
"p99": 7.39921923828125, | |
"values": [ | |
7.39921923828125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.326839082770878e-06, | |
"ram": 2.3501214243086113e-06, | |
"gpu": 6.748894288000095e-06, | |
"total": 1.3425854795079584e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.777216, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 147, | |
"total": 0.9968679685592655, | |
"mean": 0.006781414752103845, | |
"stdev": 0.0002684731866474809, | |
"p50": 0.006680575847625733, | |
"p90": 0.007053311824798584, | |
"p95": 0.007204659223556518, | |
"p99": 0.0074876516342163085, | |
"values": [ | |
0.008821760177612305, | |
0.007208960056304932, | |
0.007211040019989014, | |
0.0071157760620117185, | |
0.007087103843688965, | |
0.006796288013458252, | |
0.006811647891998291, | |
0.006656000137329102, | |
0.006653952121734619, | |
0.006715392112731934, | |
0.006669312000274658, | |
0.006649856090545654, | |
0.006575104236602783, | |
0.006525951862335205, | |
0.006617055892944336, | |
0.006687679767608643, | |
0.007015423774719238, | |
0.007139328002929687, | |
0.007489535808563232, | |
0.007485439777374267, | |
0.007014400005340577, | |
0.007315455913543701, | |
0.0070861120223999026, | |
0.007029759883880615, | |
0.007032832145690918, | |
0.00704307222366333, | |
0.007194623947143554, | |
0.007000063896179199, | |
0.007014400005340577, | |
0.007053311824798584, | |
0.006996992111206054, | |
0.007005184173583984, | |
0.0068915200233459475, | |
0.006908927917480469, | |
0.006906879901885986, | |
0.006980607986450196, | |
0.006952960014343262, | |
0.007028736114501953, | |
0.00693452787399292, | |
0.007053311824798584, | |
0.006918144226074219, | |
0.006780928134918213, | |
0.006740992069244385, | |
0.006772736072540283, | |
0.006711296081542969, | |
0.006606847763061524, | |
0.006649856090545654, | |
0.006722559928894043, | |
0.006687744140625, | |
0.006681568145751953, | |
0.006714303970336914, | |
0.006665215969085693, | |
0.006576128005981445, | |
0.006605823993682861, | |
0.0066109437942504885, | |
0.006687744140625, | |
0.006749184131622315, | |
0.006603775978088379, | |
0.006628352165222168, | |
0.006683648109436035, | |
0.006680575847625733, | |
0.006661151885986328, | |
0.006650879859924317, | |
0.0066406397819519045, | |
0.006929408073425293, | |
0.006973440170288086, | |
0.006788095951080322, | |
0.006689792156219483, | |
0.00673689603805542, | |
0.006681600093841553, | |
0.006700032234191895, | |
0.006665215969085693, | |
0.006575104236602783, | |
0.006976511955261231, | |
0.006949888229370117, | |
0.006907904148101806, | |
0.006820831775665283, | |
0.006732800006866455, | |
0.006966271877288818, | |
0.006846464157104492, | |
0.006615039825439453, | |
0.006575104236602783, | |
0.00659660816192627, | |
0.006636640071868896, | |
0.006673408031463623, | |
0.006958079814910889, | |
0.0068915200233459475, | |
0.006956031799316406, | |
0.007262207984924316, | |
0.007142399787902832, | |
0.006989823818206787, | |
0.006912000179290771, | |
0.006765567779541016, | |
0.006793216228485107, | |
0.006842368125915528, | |
0.006746111869812011, | |
0.0072765440940856935, | |
0.0069253120422363285, | |
0.006682559967041015, | |
0.006673408031463623, | |
0.0066713600158691405, | |
0.006645760059356689, | |
0.006589439868927002, | |
0.0065996479988098145, | |
0.006625279903411865, | |
0.006616064071655273, | |
0.006639679908752441, | |
0.006653952121734619, | |
0.006617087841033936, | |
0.006650879859924317, | |
0.0066078720092773435, | |
0.00657919979095459, | |
0.006594592094421386, | |
0.00659660816192627, | |
0.006550528049468994, | |
0.006642687797546387, | |
0.006589439868927002, | |
0.006564864158630371, | |
0.006601759910583496, | |
0.006565887928009034, | |
0.0066078720092773435, | |
0.006593535900115967, | |
0.006573056221008301, | |
0.00658841609954834, | |
0.00659660816192627, | |
0.006582272052764892, | |
0.006617087841033936, | |
0.006617023944854737, | |
0.006583295822143555, | |
0.006667263984680176, | |
0.0066109437942504885, | |
0.006561791896820069, | |
0.0065781760215759275, | |
0.006606847763061524, | |
0.006627264022827148, | |
0.006589439868927002, | |
0.006594560146331787, | |
0.006575104236602783, | |
0.006604800224304199, | |
0.006584320068359375, | |
0.006542335987091064, | |
0.006584320068359375, | |
0.006592512130737305, | |
0.00658022403717041, | |
0.006609920024871826, | |
0.006586368083953857, | |
0.0065484800338745115 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.46185516669115 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.94138809045156e-08, | |
"ram": 4.3410317740205074e-08, | |
"gpu": 1.8492422201333373e-07, | |
"total": 3.077484206580544e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3249407.4148673555 | |
} | |
} | |
} | |
} |