
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
2ceead0
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": "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, | |
"latency": true, | |
"memory": 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.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.31.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": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 952.17664, | |
"max_global_vram": 1047.003136, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 253.912576 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 183, | |
"total": 0.9995998072624206, | |
"mean": 0.005462294028756397, | |
"stdev": 0.00036061093319922263, | |
"p50": 0.005385216236114502, | |
"p90": 0.005613772869110108, | |
"p95": 0.005961391782760621, | |
"p99": 0.007498485984802247, | |
"values": [ | |
0.007987199783325195, | |
0.007576576232910156, | |
0.007481344223022461, | |
0.006820864200592041, | |
0.005643263816833496, | |
0.005602303981781006, | |
0.005568511962890625, | |
0.005626880168914795, | |
0.005549088001251221, | |
0.005752831935882568, | |
0.005559296131134033, | |
0.00597603178024292, | |
0.005230591773986816, | |
0.005092351913452148, | |
0.00521830415725708, | |
0.0051138558387756345, | |
0.005092351913452148, | |
0.005085184097290039, | |
0.005092351913452148, | |
0.005265408039093018, | |
0.005526527881622314, | |
0.005504000186920166, | |
0.005432320117950439, | |
0.00541593599319458, | |
0.005784575939178467, | |
0.005388288021087646, | |
0.005420032024383545, | |
0.005385216236114502, | |
0.005484543800354004, | |
0.005416959762573242, | |
0.005405695915222168, | |
0.005362688064575195, | |
0.005544896125793457, | |
0.005544960021972656, | |
0.005616640090942383, | |
0.005600255966186523, | |
0.005385216236114502, | |
0.005402624130249023, | |
0.005352447986602784, | |
0.005371903896331787, | |
0.0053975038528442385, | |
0.005348351955413819, | |
0.005548031806945801, | |
0.005409791946411133, | |
0.005362688064575195, | |
0.00536678409576416, | |
0.005442560195922852, | |
0.005388256072998047, | |
0.005403647899627686, | |
0.005388288021087646, | |
0.00537395191192627, | |
0.005413887977600097, | |
0.005598176002502442, | |
0.00555622386932373, | |
0.005578752040863037, | |
0.005391359806060791, | |
0.005432320117950439, | |
0.00539961576461792, | |
0.005385216236114502, | |
0.005421055793762207, | |
0.005371903896331787, | |
0.005419007778167725, | |
0.005338111877441406, | |
0.005307392120361328, | |
0.005355519771575928, | |
0.0054568958282470706, | |
0.005395455837249756, | |
0.005407743930816651, | |
0.005434368133544922, | |
0.005386240005493164, | |
0.005393407821655274, | |
0.005398528099060058, | |
0.005504000186920166, | |
0.005745664119720459, | |
0.0058091521263122555, | |
0.005430304050445557, | |
0.005395391941070557, | |
0.005371903896331787, | |
0.005396480083465576, | |
0.005550079822540284, | |
0.005399551868438721, | |
0.005453824043273926, | |
0.00537395191192627, | |
0.005585919857025146, | |
0.005454847812652588, | |
0.00542310380935669, | |
0.005426176071166992, | |
0.005405695915222168, | |
0.005406655788421631, | |
0.005426208019256592, | |
0.005387263774871826, | |
0.005372928142547607, | |
0.005586944103240967, | |
0.0053606400489807126, | |
0.005361663818359375, | |
0.005567488193511963, | |
0.00536678409576416, | |
0.005485536098480225, | |
0.0053760318756103515, | |
0.005359615802764893, | |
0.005494783878326416, | |
0.005829631805419922, | |
0.0061337599754333495, | |
0.006210559844970703, | |
0.006269951820373535, | |
0.006211584091186524, | |
0.0062904319763183595, | |
0.00582144021987915, | |
0.005450751781463623, | |
0.00535756778717041, | |
0.005340159893035889, | |
0.005402624130249023, | |
0.00536575984954834, | |
0.0055552000999450684, | |
0.00536678409576416, | |
0.005332992076873779, | |
0.005547008037567139, | |
0.005337088108062744, | |
0.005323775768280029, | |
0.005313536167144775, | |
0.005245952129364013, | |
0.00532480001449585, | |
0.005380095958709717, | |
0.005310463905334473, | |
0.005412864208221436, | |
0.005420032024383545, | |
0.0053637118339538575, | |
0.00530841588973999, | |
0.005346303939819336, | |
0.005305344104766845, | |
0.005295104026794434, | |
0.005356544017791748, | |
0.005246975898742676, | |
0.005221375942230225, | |
0.005250048160552978, | |
0.005375999927520752, | |
0.005209023952484131, | |
0.005386240005493164, | |
0.005231616020202637, | |
0.005227519989013672, | |
0.005261312007904053, | |
0.005224448204040527, | |
0.005213183879852295, | |
0.005281792163848877, | |
0.0052930560111999515, | |
0.005305344104766845, | |
0.005311488151550293, | |
0.005329984188079834, | |
0.005248000144958496, | |
0.005263423919677735, | |
0.005259263992309571, | |
0.005249023914337158, | |
0.005245952129364013, | |
0.005286911964416504, | |
0.005250048160552978, | |
0.005220352172851562, | |
0.005451776027679443, | |
0.005284863948822022, | |
0.0053821120262146, | |
0.005251071929931641, | |
0.005499904155731201, | |
0.00537497615814209, | |
0.005303296089172363, | |
0.005303264141082764, | |
0.005344287872314453, | |
0.00531763219833374, | |
0.0052971520423889164, | |
0.005339136123657226, | |
0.005319583892822266, | |
0.005327775955200196, | |
0.005356544017791748, | |
0.005345280170440674, | |
0.00530944013595581, | |
0.005331967830657959, | |
0.005343232154846191, | |
0.005325823783874512, | |
0.005538815975189209, | |
0.00530838394165039, | |
0.005462016105651855, | |
0.0053637118339538575, | |
0.00530841588973999, | |
0.00530944013595581, | |
0.005347328186035156 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.07326459093423 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.334465561491072e-08, | |
"ram": 3.463145499638893e-08, | |
"gpu": 1.350803219679018e-07, | |
"total": 2.3305643257920144e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4290806.260668913 | |
} | |
} | |
} | |
} |