
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
c468b86
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.285632, | |
"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.996096, | |
"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.4426962890625, | |
"mean": 7.4426962890625, | |
"stdev": 0.0, | |
"p50": 7.4426962890625, | |
"p90": 7.4426962890625, | |
"p95": 7.4426962890625, | |
"p99": 7.4426962890625, | |
"values": [ | |
7.4426962890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.352722730901506e-06, | |
"ram": 2.369537364398013e-06, | |
"gpu": 6.799449884000103e-06, | |
"total": 1.3521709979299623e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.433152, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 150, | |
"total": 1.0005904951095586, | |
"mean": 0.006670603300730387, | |
"stdev": 0.00027546236694249237, | |
"p50": 0.0066288640499114985, | |
"p90": 0.00684912633895874, | |
"p95": 0.0072657918453216475, | |
"p99": 0.007710883903503418, | |
"values": [ | |
0.006956031799316406, | |
0.007023615837097168, | |
0.006952960014343262, | |
0.00694374418258667, | |
0.007006207942962647, | |
0.006845439910888672, | |
0.007463935852050781, | |
0.006882304191589355, | |
0.0066375679969787596, | |
0.0066304001808166506, | |
0.0067041277885437015, | |
0.0066826238632202144, | |
0.006622208118438721, | |
0.006781951904296875, | |
0.006673408031463623, | |
0.006624256134033203, | |
0.006648831844329834, | |
0.00662937593460083, | |
0.006638591766357422, | |
0.006709248065948486, | |
0.006729728221893311, | |
0.006619135856628418, | |
0.006659071922302246, | |
0.0066375679969787596, | |
0.006638591766357422, | |
0.0066344962120056155, | |
0.0067123198509216305, | |
0.006631423950195312, | |
0.006639616012573242, | |
0.006626304149627686, | |
0.006716383934020996, | |
0.006624256134033203, | |
0.006622208118438721, | |
0.006619071960449219, | |
0.006636544227600098, | |
0.006673408031463623, | |
0.006618112087249756, | |
0.006628352165222168, | |
0.006675456047058105, | |
0.0067010560035705566, | |
0.0066406397819519045, | |
0.0066007041931152345, | |
0.006617152214050293, | |
0.006749248027801514, | |
0.006586368083953857, | |
0.006583295822143555, | |
0.006711296081542969, | |
0.0066007041931152345, | |
0.006673408031463623, | |
0.00773632001876831, | |
0.007628799915313721, | |
0.0067686400413513184, | |
0.006730751991271973, | |
0.006765567779541016, | |
0.006681632041931152, | |
0.006694911956787109, | |
0.006691840171813965, | |
0.006689792156219483, | |
0.006815743923187256, | |
0.006684671878814697, | |
0.006628352165222168, | |
0.006619135856628418, | |
0.0066304001808166506, | |
0.006625311851501465, | |
0.006721536159515381, | |
0.0066273918151855465, | |
0.006620160102844238, | |
0.006605823993682861, | |
0.006676479816436768, | |
0.006683616161346435, | |
0.006606847763061524, | |
0.006621183872222901, | |
0.006619135856628418, | |
0.006605823993682861, | |
0.006636544227600098, | |
0.006628352165222168, | |
0.006660096168518067, | |
0.0066375679969787596, | |
0.006621183872222901, | |
0.006594560146331787, | |
0.006657023906707763, | |
0.006642687797546387, | |
0.006612991809844971, | |
0.0067348480224609375, | |
0.006624256134033203, | |
0.0066119680404663084, | |
0.006621151924133301, | |
0.006623231887817383, | |
0.0067123198509216305, | |
0.0066109437942504885, | |
0.006632448196411133, | |
0.0065812478065490725, | |
0.006633471965789795, | |
0.006609920024871826, | |
0.0065894718170166015, | |
0.006624256134033203, | |
0.006739967823028564, | |
0.007702527999877929, | |
0.007718912124633789, | |
0.007689248085021973, | |
0.007671807765960693, | |
0.007669760227203369, | |
0.006595583915710449, | |
0.006524928092956543, | |
0.006500351905822754, | |
0.006525951862335205, | |
0.0064133119583129885, | |
0.0063805441856384275, | |
0.006408192157745361, | |
0.006352896213531494, | |
0.00636518383026123, | |
0.006372352123260498, | |
0.0063569917678833006, | |
0.006323200225830078, | |
0.006958079814910889, | |
0.006590464115142822, | |
0.006590464115142822, | |
0.006762495994567871, | |
0.006663167953491211, | |
0.006651904106140137, | |
0.006642687797546387, | |
0.006634463787078857, | |
0.006646783828735352, | |
0.00674508810043335, | |
0.00658022403717041, | |
0.006559743881225586, | |
0.006574079990386963, | |
0.006564864158630371, | |
0.00657203197479248, | |
0.006557759761810303, | |
0.006575104236602783, | |
0.006585343837738037, | |
0.00658841609954834, | |
0.0067010560035705566, | |
0.0067870721817016606, | |
0.0065895037651062015, | |
0.006456319808959961, | |
0.006345664024353027, | |
0.006275072097778321, | |
0.006269951820373535, | |
0.006232063770294189, | |
0.006251520156860352, | |
0.0062863359451293946, | |
0.006310912132263183, | |
0.0063385281562805176, | |
0.006336512088775635, | |
0.006307839870452881, | |
0.006367231845855713, | |
0.00648089599609375, | |
0.006355967998504639 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 149.9114780053712 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.938303218947518e-08, | |
"ram": 4.3298179804999866e-08, | |
"gpu": 1.7766866065333386e-07, | |
"total": 3.003498726478089e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3329450.3879234293 | |
} | |
} | |
} | |
} |