
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
79cc89e
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": 787.726336, | |
"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.41991943359375, | |
"mean": 7.41991943359375, | |
"stdev": 0.0, | |
"p50": 7.41991943359375, | |
"p90": 7.41991943359375, | |
"p95": 7.41991943359375, | |
"p99": 7.41991943359375, | |
"values": [ | |
7.41991943359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.310494330194262e-06, | |
"ram": 2.346878700820317e-06, | |
"gpu": 6.8616721560004965e-06, | |
"total": 1.3519045187015075e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 973.709312, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 1.0007008943557734, | |
"mean": 0.006761492529430905, | |
"stdev": 0.00020027579058468767, | |
"p50": 0.006732288122177124, | |
"p90": 0.0070719937324523925, | |
"p95": 0.007135027098655701, | |
"p99": 0.007246991214752197, | |
"values": [ | |
0.007166975975036621, | |
0.007196671962738037, | |
0.007195648193359375, | |
0.007226367950439453, | |
0.007265279769897461, | |
0.007074816226959229, | |
0.007113728046417236, | |
0.00709939193725586, | |
0.007097343921661377, | |
0.00704204797744751, | |
0.006986720085144043, | |
0.007111680030822754, | |
0.00704307222366333, | |
0.00695091199874878, | |
0.006863872051239014, | |
0.006974463939666748, | |
0.007011328220367432, | |
0.0070522880554199216, | |
0.006779903888702392, | |
0.006793216228485107, | |
0.006774784088134766, | |
0.0068618240356445315, | |
0.006927360057830811, | |
0.006997056007385254, | |
0.007085055828094483, | |
0.007103487968444824, | |
0.00678604793548584, | |
0.006806528091430664, | |
0.0067983360290527345, | |
0.006687744140625, | |
0.00675328016281128, | |
0.0067645440101623535, | |
0.006721536159515381, | |
0.006769728183746338, | |
0.0067010560035705566, | |
0.006609920024871826, | |
0.006595583915710449, | |
0.00667955207824707, | |
0.006734816074371338, | |
0.006621183872222901, | |
0.006779839992523193, | |
0.006682591915130615, | |
0.0066744318008422855, | |
0.006772736072540283, | |
0.006858751773834228, | |
0.00677785587310791, | |
0.00679423999786377, | |
0.006812672138214112, | |
0.006717440128326416, | |
0.006635519981384277, | |
0.006768703937530518, | |
0.006740992069244385, | |
0.006732800006866455, | |
0.006774784088134766, | |
0.00675328016281128, | |
0.006662176132202148, | |
0.006653952121734619, | |
0.00667955207824707, | |
0.006623231887817383, | |
0.00677785587310791, | |
0.006754271984100342, | |
0.006597631931304931, | |
0.006691840171813965, | |
0.006731776237487793, | |
0.006639616012573242, | |
0.006690815925598144, | |
0.006697951793670654, | |
0.006654975891113281, | |
0.006812672138214112, | |
0.006818816184997558, | |
0.006795263767242431, | |
0.006759424209594727, | |
0.00678604793548584, | |
0.0067338237762451176, | |
0.006722559928894043, | |
0.007054336071014404, | |
0.0069324798583984375, | |
0.007045119762420654, | |
0.006882304191589355, | |
0.006842368125915528, | |
0.006766592025756836, | |
0.006684607982635498, | |
0.006496255874633789, | |
0.007215104103088379, | |
0.006763519763946534, | |
0.006905856132507324, | |
0.006908927917480469, | |
0.006820864200592041, | |
0.006855679988861084, | |
0.007337984085083008, | |
0.006968319892883301, | |
0.007024640083312988, | |
0.007070784091949463, | |
0.007041024208068848, | |
0.006952960014343262, | |
0.006846464157104492, | |
0.006766592025756836, | |
0.007146495819091797, | |
0.006987775802612305, | |
0.0065812478065490725, | |
0.006625279903411865, | |
0.006681600093841553, | |
0.00657919979095459, | |
0.006663167953491211, | |
0.006536191940307618, | |
0.006593503952026367, | |
0.006524928092956543, | |
0.006553599834442139, | |
0.006590464115142822, | |
0.0065136637687683106, | |
0.006550528049468994, | |
0.006532063961029053, | |
0.006502399921417237, | |
0.0065474557876586915, | |
0.006585343837738037, | |
0.006501376152038574, | |
0.006676479816436768, | |
0.006532095909118653, | |
0.006591487884521485, | |
0.006602752208709717, | |
0.0067123198509216305, | |
0.0065443840026855465, | |
0.006565887928009034, | |
0.0065218877792358396, | |
0.006583295822143555, | |
0.006590464115142822, | |
0.006523903846740723, | |
0.0065474557876586915, | |
0.006555647850036621, | |
0.006520832061767578, | |
0.006545407772064209, | |
0.006708223819732666, | |
0.006535168170928955, | |
0.006565887928009034, | |
0.006677504062652588, | |
0.006511648178100586, | |
0.006551551818847656, | |
0.006527999877929688, | |
0.00652288007736206, | |
0.006569983959197998, | |
0.006534111976623535, | |
0.006561791896820069, | |
0.006599679946899414, | |
0.0065136637687683106, | |
0.006555647850036621, | |
0.006555647850036621, | |
0.006631423950195312, | |
0.006598656177520752 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 147.89634028985122 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.444462014569177e-08, | |
"ram": 4.069690291159903e-08, | |
"gpu": 1.6276401910000145e-07, | |
"total": 2.779055421572923e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3598344.934891612 | |
} | |
} | |
} | |
} |