
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
0438967
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.43.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.377024, | |
"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.50799560546875, | |
"mean": 7.50799560546875, | |
"stdev": 0.0, | |
"p50": 7.50799560546875, | |
"p90": 7.50799560546875, | |
"p95": 7.50799560546875, | |
"p99": 7.50799560546875, | |
"values": [ | |
7.50799560546875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.311023486985101e-06, | |
"ram": 2.3471255303912623e-06, | |
"gpu": 6.965005572000162e-06, | |
"total": 1.3623154589376525e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.818176, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 145, | |
"total": 1.0000627822875976, | |
"mean": 0.006896984705431708, | |
"stdev": 0.00024082241675513005, | |
"p50": 0.006865920066833496, | |
"p90": 0.007180083179473877, | |
"p95": 0.007250124931335449, | |
"p99": 0.007368363552093506, | |
"values": [ | |
0.007154687881469727, | |
0.006938560009002686, | |
0.006939648151397705, | |
0.006960127830505371, | |
0.006985727787017822, | |
0.006929408073425293, | |
0.006941696166992187, | |
0.006965248107910156, | |
0.00694271993637085, | |
0.006865920066833496, | |
0.007286784172058106, | |
0.007962624073028564, | |
0.007033792018890381, | |
0.006976511955261231, | |
0.006999040126800537, | |
0.007094272136688232, | |
0.007098368167877197, | |
0.007222271919250488, | |
0.007150591850280762, | |
0.007113728046417236, | |
0.007062560081481934, | |
0.0069959678649902345, | |
0.007111680030822754, | |
0.007135231971740722, | |
0.007176127910614014, | |
0.007123968124389648, | |
0.007096320152282715, | |
0.007175168037414551, | |
0.007139328002929687, | |
0.007185408115386963, | |
0.007153664112091064, | |
0.0070860800743103025, | |
0.007178239822387696, | |
0.007029759883880615, | |
0.007009280204772949, | |
0.007057407855987549, | |
0.007050240039825439, | |
0.007074816226959229, | |
0.007181312084197998, | |
0.007156735897064209, | |
0.007292928218841553, | |
0.00725708818435669, | |
0.007343167781829834, | |
0.007146495819091797, | |
0.0071188478469848635, | |
0.007176191806793213, | |
0.007158783912658692, | |
0.007160831928253173, | |
0.006930367946624756, | |
0.006812672138214112, | |
0.00678604793548584, | |
0.006767615795135498, | |
0.006825984001159668, | |
0.00672870397567749, | |
0.006927360057830811, | |
0.007388160228729248, | |
0.007174143791198731, | |
0.007081984043121338, | |
0.007205887794494629, | |
0.007020544052124023, | |
0.006996992111206054, | |
0.0070563840866088865, | |
0.00707587194442749, | |
0.007193600177764893, | |
0.007217152118682861, | |
0.006892543792724609, | |
0.00687718391418457, | |
0.006861792087554931, | |
0.006782944202423096, | |
0.006879231929779053, | |
0.007102464199066162, | |
0.007003136157989502, | |
0.007292928218841553, | |
0.006748159885406494, | |
0.006658048152923584, | |
0.006551551818847656, | |
0.006556672096252441, | |
0.006719488143920899, | |
0.006642687797546387, | |
0.006425600051879882, | |
0.00640825605392456, | |
0.006527999877929688, | |
0.006471680164337158, | |
0.00669382381439209, | |
0.006980607986450196, | |
0.006990880012512207, | |
0.007044095993041993, | |
0.007220191955566406, | |
0.007079936027526855, | |
0.006982656002044678, | |
0.006860799789428711, | |
0.006737919807434082, | |
0.006797311782836914, | |
0.00679423999786377, | |
0.006758399963378906, | |
0.006738944053649902, | |
0.0067041277885437015, | |
0.0066447358131408694, | |
0.00669593620300293, | |
0.00672870397567749, | |
0.006680575847625733, | |
0.0067123198509216305, | |
0.006670335769653321, | |
0.006652991771697998, | |
0.0066744318008422855, | |
0.006718463897705078, | |
0.006802432060241699, | |
0.006657023906707763, | |
0.006677504062652588, | |
0.006690815925598144, | |
0.006661119937896728, | |
0.006833151817321777, | |
0.0067051520347595215, | |
0.006709248065948486, | |
0.0068618240356445315, | |
0.007336959838867187, | |
0.006747136116027832, | |
0.0066826238632202144, | |
0.006710271835327148, | |
0.0067051520347595215, | |
0.006673408031463623, | |
0.006765567779541016, | |
0.0067164478302001954, | |
0.006648799896240234, | |
0.006659071922302246, | |
0.0066375679969787596, | |
0.00662937593460083, | |
0.0066406397819519045, | |
0.006762495994567871, | |
0.006630335807800293, | |
0.0066416640281677245, | |
0.006663167953491211, | |
0.006646783828735352, | |
0.006656000137329102, | |
0.0066590080261230465, | |
0.006636544227600098, | |
0.0067051520347595215, | |
0.0066938881874084475, | |
0.006646783828735352, | |
0.006681600093841553, | |
0.006673408031463623, | |
0.006666240215301514, | |
0.00667955207824707, | |
0.006665215969085693, | |
0.0066540160179138184 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.99089713979672 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.958747085397763e-08, | |
"ram": 4.351488340205823e-08, | |
"gpu": 1.7452101955704695e-07, | |
"total": 2.976233738130828e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3359951.1597097632 | |
} | |
} | |
} | |
} |