
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
44892d3
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.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.860928, | |
"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.4283193359375, | |
"mean": 7.4283193359375, | |
"stdev": 0.0, | |
"p50": 7.4283193359375, | |
"p90": 7.4283193359375, | |
"p95": 7.4283193359375, | |
"p99": 7.4283193359375, | |
"values": [ | |
7.4283193359375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.3197911646631025e-06, | |
"ram": 2.3513170050428777e-06, | |
"gpu": 6.407227347999742e-06, | |
"total": 1.3078335517705721e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 975.781888, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 143, | |
"total": 0.9953446073532107, | |
"mean": 0.0069604517996728, | |
"stdev": 0.00042658563527226686, | |
"p50": 0.006917088031768799, | |
"p90": 0.00727971830368042, | |
"p95": 0.007510319995880127, | |
"p99": 0.00820701173782349, | |
"values": [ | |
0.0073697280883789065, | |
0.007387135982513428, | |
0.007282559871673584, | |
0.007516160011291504, | |
0.007206912040710449, | |
0.007396351814270019, | |
0.007080927848815918, | |
0.007700479984283447, | |
0.007846911907196046, | |
0.008347647666931152, | |
0.010541055679321289, | |
0.007590911865234375, | |
0.006944767951965332, | |
0.007040927886962891, | |
0.007057184219360351, | |
0.007158783912658692, | |
0.007035999774932861, | |
0.007104512214660645, | |
0.007268352031707764, | |
0.007032832145690918, | |
0.006972415924072266, | |
0.007070687770843506, | |
0.007219200134277344, | |
0.007153664112091064, | |
0.007286784172058106, | |
0.007044095993041993, | |
0.0070860800743103025, | |
0.007177216053009033, | |
0.007035903930664063, | |
0.007130112171173096, | |
0.007013376235961914, | |
0.007013376235961914, | |
0.006933504104614257, | |
0.007084127902984619, | |
0.007008255958557129, | |
0.007065599918365479, | |
0.006960159778594971, | |
0.0071526398658752445, | |
0.008012800216674805, | |
0.007174143791198731, | |
0.007166079998016358, | |
0.007198719978332519, | |
0.0070594558715820314, | |
0.007159808158874512, | |
0.007056352138519287, | |
0.0069202561378479, | |
0.007043104171752929, | |
0.006806655883789063, | |
0.006860799789428711, | |
0.006760447978973389, | |
0.0068392958641052244, | |
0.006966271877288818, | |
0.006700032234191895, | |
0.006782976150512696, | |
0.006669312000274658, | |
0.006863872051239014, | |
0.007175168037414551, | |
0.007045119762420654, | |
0.007036928176879883, | |
0.007101439952850342, | |
0.007017471790313721, | |
0.006994944095611572, | |
0.0069959678649902345, | |
0.007072768211364746, | |
0.007457759857177735, | |
0.007741439819335938, | |
0.007216127872467041, | |
0.007195648193359375, | |
0.007310336112976074, | |
0.007060480117797851, | |
0.0070348801612854, | |
0.007029759883880615, | |
0.0069212160110473635, | |
0.007027711868286133, | |
0.006971392154693603, | |
0.006976511955261231, | |
0.00690176010131836, | |
0.0067359042167663575, | |
0.006882304191589355, | |
0.006951871871948242, | |
0.0067123198509216305, | |
0.0066406397819519045, | |
0.006658207893371582, | |
0.007109632015228271, | |
0.0068055038452148435, | |
0.006790143966674805, | |
0.006817791938781738, | |
0.006838272094726563, | |
0.006871039867401123, | |
0.007032896041870117, | |
0.006863872051239014, | |
0.0067348480224609375, | |
0.006917088031768799, | |
0.0067686400413513184, | |
0.006766592025756836, | |
0.006814720153808594, | |
0.006748159885406494, | |
0.006722591876983643, | |
0.0067645440101623535, | |
0.006660160064697266, | |
0.006625279903411865, | |
0.006668288230895996, | |
0.006631423950195312, | |
0.006624256134033203, | |
0.006614016056060791, | |
0.006665215969085693, | |
0.006820864200592041, | |
0.006610879898071289, | |
0.006552576065063476, | |
0.00653926420211792, | |
0.006631423950195312, | |
0.006700032234191895, | |
0.006781951904296875, | |
0.006676479816436768, | |
0.006623231887817383, | |
0.006685696125030518, | |
0.006584320068359375, | |
0.006561791896820069, | |
0.00687718391418457, | |
0.0066826238632202144, | |
0.006652927875518798, | |
0.006659071922302246, | |
0.00659660816192627, | |
0.006614016056060791, | |
0.00667852783203125, | |
0.006661119937896728, | |
0.006652927875518798, | |
0.006860832214355469, | |
0.00674508810043335, | |
0.006617087841033936, | |
0.0067123198509216305, | |
0.006598656177520752, | |
0.00660694408416748, | |
0.00662937593460083, | |
0.006624256134033203, | |
0.006563839912414551, | |
0.006670335769653321, | |
0.006658048152923584, | |
0.006661119937896728, | |
0.006628352165222168, | |
0.006672287940979004, | |
0.006565887928009034, | |
0.0066078720092773435 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.6688348372743 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.837582283637558e-08, | |
"ram": 4.285305646169452e-08, | |
"gpu": 1.6467268508609137e-07, | |
"total": 2.8590156438416146e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3497707.339076731 | |
} | |
} | |
} | |
} |