
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
a46a26d
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.43.2", | |
"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.327872, | |
"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.46722216796875, | |
"mean": 7.46722216796875, | |
"stdev": 0.0, | |
"p50": 7.46722216796875, | |
"p90": 7.46722216796875, | |
"p95": 7.46722216796875, | |
"p99": 7.46722216796875, | |
"values": [ | |
7.46722216796875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.308220081859165e-06, | |
"ram": 2.3459129801239937e-06, | |
"gpu": 6.568616366012248e-06, | |
"total": 1.3222749427995406e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.330752, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 0.9958029136657713, | |
"mean": 0.006915298011567857, | |
"stdev": 0.00020476338256496273, | |
"p50": 0.006841343879699707, | |
"p90": 0.007261241722106934, | |
"p95": 0.007299840068817139, | |
"p99": 0.007395911593437195, | |
"values": [ | |
0.00744652795791626, | |
0.007396351814270019, | |
0.007390207767486572, | |
0.007395328044891358, | |
0.007338016033172607, | |
0.007259136199951172, | |
0.007243775844573975, | |
0.0072765440940856935, | |
0.007238656044006348, | |
0.007237631797790528, | |
0.007245823860168457, | |
0.007175168037414551, | |
0.007128064155578613, | |
0.007123904228210449, | |
0.007194623947143554, | |
0.007262144088745117, | |
0.007286784172058106, | |
0.007268352031707764, | |
0.007255040168762207, | |
0.007164927959442138, | |
0.007203839778900147, | |
0.007310336112976074, | |
0.00724889612197876, | |
0.007302144050598145, | |
0.007264256000518799, | |
0.007282688140869141, | |
0.007251967906951904, | |
0.006851583957672119, | |
0.006897664070129395, | |
0.006909952163696289, | |
0.006866943836212158, | |
0.006767615795135498, | |
0.006810624122619629, | |
0.006845439910888672, | |
0.006801407814025879, | |
0.006829055786132812, | |
0.006850560188293457, | |
0.006894591808319092, | |
0.006867968082427979, | |
0.006930431842803955, | |
0.006978559970855713, | |
0.006952960014343262, | |
0.006894591808319092, | |
0.006899712085723877, | |
0.006867968082427979, | |
0.0068085122108459475, | |
0.006941696166992187, | |
0.00688640022277832, | |
0.00688640022277832, | |
0.006833151817321777, | |
0.006875135898590088, | |
0.006781951904296875, | |
0.006825984001159668, | |
0.00676966381072998, | |
0.006960127830505371, | |
0.00684441614151001, | |
0.006758399963378906, | |
0.006851583957672119, | |
0.006852608203887939, | |
0.006841343879699707, | |
0.006796288013458252, | |
0.006841343879699707, | |
0.006973440170288086, | |
0.006936575889587402, | |
0.006936575889587402, | |
0.006973440170288086, | |
0.006996992111206054, | |
0.006811647891998291, | |
0.006880256175994873, | |
0.0068915200233459475, | |
0.006796288013458252, | |
0.0068351998329162595, | |
0.006810592174530029, | |
0.006731840133666992, | |
0.006604800224304199, | |
0.006552576065063476, | |
0.006752255916595459, | |
0.006754303932189941, | |
0.006543360233306885, | |
0.006463488101959228, | |
0.006406144142150879, | |
0.0065177597999572755, | |
0.0070399360656738285, | |
0.007094272136688232, | |
0.007093247890472412, | |
0.0071823358535766605, | |
0.007264256000518799, | |
0.007320576190948487, | |
0.007024640083312988, | |
0.006871039867401123, | |
0.006879231929779053, | |
0.00694374418258667, | |
0.006889472007751465, | |
0.006881279945373535, | |
0.006864895820617676, | |
0.006834176063537598, | |
0.0067696962356567384, | |
0.006808576107025147, | |
0.006803520202636719, | |
0.006766592025756836, | |
0.006834176063537598, | |
0.006785024166107178, | |
0.006818816184997558, | |
0.006770688056945801, | |
0.006811647891998291, | |
0.006797311782836914, | |
0.006766592025756836, | |
0.006782976150512696, | |
0.006825984001159668, | |
0.00675328016281128, | |
0.006776832103729248, | |
0.006781951904296875, | |
0.006783999919891357, | |
0.0067573761940002445, | |
0.006795263767242431, | |
0.006833151817321777, | |
0.006780928134918213, | |
0.006791168212890625, | |
0.006816703796386719, | |
0.00677785587310791, | |
0.006765567779541016, | |
0.006800384044647217, | |
0.006820864200592041, | |
0.0068853759765625, | |
0.0069283838272094726, | |
0.006793216228485107, | |
0.0067645440101623535, | |
0.006747072219848633, | |
0.006814720153808594, | |
0.0067870721817016606, | |
0.00676966381072998, | |
0.006821887969970703, | |
0.00679423999786377, | |
0.0067758078575134275, | |
0.006793216228485107, | |
0.006779903888702392, | |
0.006818816184997558, | |
0.006750207901000976, | |
0.006811647891998291, | |
0.006813695907592773, | |
0.006754303932189941, | |
0.006811647891998291, | |
0.006811647891998291, | |
0.006782976150512696 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 144.6069277603377 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.010651032487909e-08, | |
"ram": 4.379883373900064e-08, | |
"gpu": 1.7039991109454866e-07, | |
"total": 2.9430525515842834e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3397832.63286171 | |
} | |
} | |
} | |
} |