
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
b831c95
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.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.52448, | |
"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.51589892578125, | |
"mean": 7.51589892578125, | |
"stdev": 0.0, | |
"p50": 7.51589892578125, | |
"p90": 7.51589892578125, | |
"p95": 7.51589892578125, | |
"p99": 7.51589892578125, | |
"values": [ | |
7.51589892578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.355993370215098e-06, | |
"ram": 2.3523166648052063e-06, | |
"gpu": 6.338060626000577e-06, | |
"total": 1.3046370661020882e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.400384, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 152, | |
"total": 1.0007092795372008, | |
"mean": 0.006583613681165796, | |
"stdev": 0.0002565955059071341, | |
"p50": 0.006606848001480103, | |
"p90": 0.0068452351093292235, | |
"p95": 0.007206912040710448, | |
"p99": 0.007381985116004945, | |
"values": [ | |
0.007265312194824219, | |
0.007305215835571289, | |
0.007274496078491211, | |
0.007238656044006348, | |
0.007229440212249756, | |
0.007245823860168457, | |
0.007188479900360107, | |
0.007612383842468261, | |
0.006584383964538574, | |
0.006363167762756348, | |
0.006436863899230957, | |
0.006370304107666015, | |
0.006314976215362549, | |
0.006346752166748047, | |
0.006339583873748779, | |
0.006313983917236328, | |
0.0063569917678833006, | |
0.006323232173919678, | |
0.006362112045288086, | |
0.006329343795776367, | |
0.0063569917678833006, | |
0.006379519939422608, | |
0.006325247764587402, | |
0.006340576171875, | |
0.0063569917678833006, | |
0.006358016014099121, | |
0.006461440086364746, | |
0.006330368041992188, | |
0.00636518383026123, | |
0.0063272957801818845, | |
0.006363135814666748, | |
0.006397952079772949, | |
0.006326272010803223, | |
0.006354944229125976, | |
0.006310912132263183, | |
0.0063498239517211915, | |
0.006354944229125976, | |
0.006345727920532227, | |
0.006335487842559814, | |
0.006342656135559082, | |
0.006351871967315674, | |
0.0065812478065490725, | |
0.006347775936126709, | |
0.006362112045288086, | |
0.006298624038696289, | |
0.006351903915405273, | |
0.006347775936126709, | |
0.006295551776885986, | |
0.006384640216827392, | |
0.006308864116668702, | |
0.00634771203994751, | |
0.006336512088775635, | |
0.006338560104370118, | |
0.006337535858154297, | |
0.006368256092071533, | |
0.006338560104370118, | |
0.006312960147857666, | |
0.006329343795776367, | |
0.006419456005096436, | |
0.006368256092071533, | |
0.006371327877044678, | |
0.0063201279640197755, | |
0.006348800182342529, | |
0.006341631889343262, | |
0.0063211522102355954, | |
0.006358016014099121, | |
0.006319104194641113, | |
0.006471680164337158, | |
0.006686719894409179, | |
0.007461887836456299, | |
0.006747136116027832, | |
0.00677785587310791, | |
0.006785024166107178, | |
0.006717440128326416, | |
0.006847487926483154, | |
0.006912000179290771, | |
0.00689356803894043, | |
0.006862815856933594, | |
0.006840320110321045, | |
0.006792191982269287, | |
0.006773759841918945, | |
0.006843391895294189, | |
0.006752255916595459, | |
0.006762464046478272, | |
0.006801407814025879, | |
0.006696959972381592, | |
0.006662144184112549, | |
0.006448128223419189, | |
0.006590464115142822, | |
0.0067051520347595215, | |
0.006499328136444092, | |
0.006342656135559082, | |
0.006330368041992188, | |
0.006409215927124024, | |
0.006405119895935059, | |
0.006427648067474365, | |
0.006493184089660644, | |
0.006783999919891357, | |
0.006845439910888672, | |
0.007008255958557129, | |
0.006986752033233643, | |
0.006617087841033936, | |
0.0066744318008422855, | |
0.0066498880386352535, | |
0.0066109437942504885, | |
0.006677504062652588, | |
0.0066744318008422855, | |
0.006612991809844971, | |
0.006685696125030518, | |
0.006792191982269287, | |
0.00659660816192627, | |
0.006619135856628418, | |
0.006718463897705078, | |
0.006724607944488525, | |
0.006611008167266846, | |
0.006660128116607666, | |
0.0066304001808166506, | |
0.006599679946899414, | |
0.006632448196411133, | |
0.0066109437942504885, | |
0.006594560146331787, | |
0.006631423950195312, | |
0.006620160102844238, | |
0.006631423950195312, | |
0.0066447358131408694, | |
0.006620160102844238, | |
0.0068351998329162595, | |
0.006660096168518067, | |
0.006638591766357422, | |
0.006612991809844971, | |
0.00669593620300293, | |
0.006617087841033936, | |
0.006603775978088379, | |
0.006665215969085693, | |
0.006652927875518798, | |
0.0066007041931152345, | |
0.0066641921997070315, | |
0.006642687797546387, | |
0.006614016056060791, | |
0.006636544227600098, | |
0.006609920024871826, | |
0.006748159885406494, | |
0.006632512092590332, | |
0.006616064071655273, | |
0.006598656177520752, | |
0.0066447358131408694, | |
0.00662937593460083, | |
0.006602752208709717, | |
0.006670335769653321, | |
0.006633471965789795, | |
0.006626304149627686, | |
0.006659071922302246 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 151.89226592392106 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.052906256594265e-08, | |
"ram": 4.40285815288249e-08, | |
"gpu": 1.6841661243537045e-07, | |
"total": 2.9297425653013806e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3413269.1788130905 | |
} | |
} | |
} | |
} |