
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
3b5aa4a
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": {}, | |
"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, | |
"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": 785.010688, | |
"max_global_vram": 711.458816, | |
"max_process_vram": 0.0, | |
"max_reserved": 125.82912, | |
"max_allocated": 103.077376 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.4970654296875, | |
"mean": 7.4970654296875, | |
"stdev": 0.0, | |
"p50": 7.4970654296875, | |
"p90": 7.4970654296875, | |
"p95": 7.4970654296875, | |
"p99": 7.4970654296875, | |
"values": [ | |
7.4970654296875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.302269882626004e-06, | |
"ram": 2.3344554599776757e-06, | |
"gpu": 6.606949729999869e-06, | |
"total": 1.324367507260355e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 971.677696, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 0.9961408963203431, | |
"mean": 0.006822882851509199, | |
"stdev": 0.00021111793080942764, | |
"p50": 0.006734335899353027, | |
"p90": 0.007159840106964112, | |
"p95": 0.007199488162994385, | |
"p99": 0.007332676815986634, | |
"values": [ | |
0.007358496189117432, | |
0.0072325119972229, | |
0.0072672638893127445, | |
0.0071905279159545895, | |
0.007198719978332519, | |
0.007279615879058838, | |
0.00719155216217041, | |
0.006873087882995605, | |
0.006874144077301025, | |
0.007144447803497315, | |
0.00738918399810791, | |
0.007113728046417236, | |
0.006986752033233643, | |
0.007003136157989502, | |
0.007060480117797851, | |
0.0071619200706481935, | |
0.007157760143280029, | |
0.007151616096496582, | |
0.007123968124389648, | |
0.007116799831390381, | |
0.007063551902770996, | |
0.007143424034118652, | |
0.007169023990631103, | |
0.007172095775604248, | |
0.007134208202362061, | |
0.007134208202362061, | |
0.007102464199066162, | |
0.00707583999633789, | |
0.007192575931549072, | |
0.007201791763305664, | |
0.00719974422454834, | |
0.007018496036529541, | |
0.006958079814910889, | |
0.007122943878173828, | |
0.006806528091430664, | |
0.006706175804138184, | |
0.00672870397567749, | |
0.0068853759765625, | |
0.006782976150512696, | |
0.0068392958641052244, | |
0.006873023986816406, | |
0.006819839954376221, | |
0.006800352096557617, | |
0.006801343917846679, | |
0.00672870397567749, | |
0.006696959972381592, | |
0.006810624122619629, | |
0.006842368125915528, | |
0.006731776237487793, | |
0.006743040084838867, | |
0.006800384044647217, | |
0.006673408031463623, | |
0.006673408031463623, | |
0.00675328016281128, | |
0.006689792156219483, | |
0.006863872051239014, | |
0.006624256134033203, | |
0.006646783828735352, | |
0.006708223819732666, | |
0.0066344962120056155, | |
0.006651904106140137, | |
0.006729728221893311, | |
0.006668255805969238, | |
0.006796288013458252, | |
0.006875135898590088, | |
0.006796319961547851, | |
0.0068618240356445315, | |
0.0068392958641052244, | |
0.006788095951080322, | |
0.006752255916595459, | |
0.006807551860809326, | |
0.006668288230895996, | |
0.0067123198509216305, | |
0.00674508810043335, | |
0.0066344962120056155, | |
0.006586368083953857, | |
0.00648089599609375, | |
0.006622208118438721, | |
0.0066826238632202144, | |
0.006478847980499268, | |
0.0063569917678833006, | |
0.0063569917678833006, | |
0.006425600051879882, | |
0.006709248065948486, | |
0.006594560146331787, | |
0.006482944011688232, | |
0.0068853759765625, | |
0.00713318395614624, | |
0.007301119804382325, | |
0.00698367977142334, | |
0.006982656002044678, | |
0.006913983821868896, | |
0.007078911781311035, | |
0.006870016098022461, | |
0.006808576107025147, | |
0.006780928134918213, | |
0.006778880119323731, | |
0.006719488143920899, | |
0.006714367866516113, | |
0.006681600093841553, | |
0.006666240215301514, | |
0.006718463897705078, | |
0.006707200050354004, | |
0.0067338237762451176, | |
0.006682591915130615, | |
0.006756351947784424, | |
0.006724607944488525, | |
0.006732800006866455, | |
0.006739967823028564, | |
0.006719488143920899, | |
0.0066826238632202144, | |
0.006696959972381592, | |
0.006731776237487793, | |
0.006684671878814697, | |
0.0066826238632202144, | |
0.006715392112731934, | |
0.006703135967254639, | |
0.006625279903411865, | |
0.0066344962120056155, | |
0.006688831806182861, | |
0.006707263946533203, | |
0.00675328016281128, | |
0.006738944053649902, | |
0.006714367866516113, | |
0.006729728221893311, | |
0.006702079772949219, | |
0.006680575847625733, | |
0.006691808223724365, | |
0.006722559928894043, | |
0.0066119680404663084, | |
0.006639616012573242, | |
0.00669593620300293, | |
0.0066826238632202144, | |
0.006707263946533203, | |
0.0067041277885437015, | |
0.006665215969085693, | |
0.006715392112731934, | |
0.0067348480224609375, | |
0.006721536159515381, | |
0.006658048152923584, | |
0.006684671878814697, | |
0.0066877121925354, | |
0.006688767910003662, | |
0.006704063892364502, | |
0.006702079772949219, | |
0.00670304012298584 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 146.5656118921642 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.045627033567286e-08, | |
"ram": 4.398492530699416e-08, | |
"gpu": 1.7052190818919053e-07, | |
"total": 2.9496310383185753e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3390254.5335637834 | |
} | |
} | |
} | |
} |