
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
9e97f1b
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, | |
"llama_cpp_version": null, | |
"llama_cpp_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 789.970944, | |
"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.44907666015625, | |
"mean": 7.44907666015625, | |
"stdev": 0.0, | |
"p50": 7.44907666015625, | |
"p90": 7.44907666015625, | |
"p95": 7.44907666015625, | |
"p99": 7.44907666015625, | |
"values": [ | |
7.44907666015625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.448328415552775e-06, | |
"ram": 2.4133930994508054e-06, | |
"gpu": 6.5272274440000356e-06, | |
"total": 1.3388948959003616e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 976.166912, | |
"max_global_vram": 1049.100288, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 146, | |
"total": 1.001489757061005, | |
"mean": 0.006859518883979484, | |
"stdev": 0.00023679174851116768, | |
"p50": 0.006910975933074951, | |
"p90": 0.0071567361354827885, | |
"p95": 0.007200255990028381, | |
"p99": 0.007286132812500001, | |
"values": [ | |
0.007176127910614014, | |
0.006987775802612305, | |
0.006987775802612305, | |
0.007066624164581299, | |
0.007047167778015137, | |
0.006936575889587402, | |
0.006783999919891357, | |
0.006804480075836182, | |
0.006850560188293457, | |
0.007178239822387696, | |
0.007080959796905518, | |
0.007070720195770264, | |
0.007123968124389648, | |
0.007097343921661377, | |
0.006840479850769043, | |
0.007026656150817871, | |
0.00703385591506958, | |
0.007192575931549072, | |
0.00724070405960083, | |
0.006780928134918213, | |
0.006753119945526123, | |
0.006709248065948486, | |
0.00689356803894043, | |
0.007205855846405029, | |
0.007453695774078369, | |
0.007076863765716553, | |
0.007023615837097168, | |
0.007202816009521484, | |
0.007008255958557129, | |
0.007155712127685547, | |
0.007014400005340577, | |
0.00722431993484497, | |
0.0070553598403930665, | |
0.006903872013092041, | |
0.00693452787399292, | |
0.006864895820617676, | |
0.007182432174682617, | |
0.007157760143280029, | |
0.007044095993041993, | |
0.007007199764251709, | |
0.006976511955261231, | |
0.007046144008636474, | |
0.007113728046417236, | |
0.007153664112091064, | |
0.007146495819091797, | |
0.007162911891937256, | |
0.007038784027099609, | |
0.0072540478706359865, | |
0.0071188478469848635, | |
0.007116799831390381, | |
0.006945663928985595, | |
0.00713318395614624, | |
0.007001088142395019, | |
0.007134208202362061, | |
0.006910975933074951, | |
0.007049215793609619, | |
0.007031807899475098, | |
0.007096320152282715, | |
0.006924287796020508, | |
0.006938623905181885, | |
0.007000063896179199, | |
0.007180287837982178, | |
0.007000063896179199, | |
0.006925375938415528, | |
0.006967296123504638, | |
0.007312384128570557, | |
0.007054336071014404, | |
0.007120927810668945, | |
0.007029759883880615, | |
0.007043104171752929, | |
0.00700435209274292, | |
0.006931456089019775, | |
0.006999040126800537, | |
0.006910975933074951, | |
0.007037951946258545, | |
0.006923264026641846, | |
0.006982656002044678, | |
0.00683622407913208, | |
0.006756351947784424, | |
0.007230624198913575, | |
0.006967296123504638, | |
0.006707200050354004, | |
0.006557631969451905, | |
0.006563807964324951, | |
0.0066457920074462894, | |
0.006770688056945801, | |
0.006940671920776367, | |
0.006987775802612305, | |
0.007018496036529541, | |
0.007101439952850342, | |
0.00708403205871582, | |
0.006731776237487793, | |
0.006604800224304199, | |
0.006543360233306885, | |
0.00690176010131836, | |
0.006727712154388428, | |
0.006573247909545899, | |
0.006829055786132812, | |
0.0065812478065490725, | |
0.0065474557876586915, | |
0.006630591869354248, | |
0.006597631931304931, | |
0.006574143886566162, | |
0.006594560146331787, | |
0.00659660816192627, | |
0.0065177597999572755, | |
0.006591455936431885, | |
0.006535168170928955, | |
0.006593535900115967, | |
0.006710271835327148, | |
0.006554624080657959, | |
0.00658022403717041, | |
0.006788095951080322, | |
0.006578335762023926, | |
0.0064841279983520505, | |
0.006754303932189941, | |
0.006568960189819336, | |
0.006524928092956543, | |
0.006543360233306885, | |
0.006551648139953613, | |
0.00658022403717041, | |
0.00664467191696167, | |
0.006520864009857178, | |
0.0065443840026855465, | |
0.006619135856628418, | |
0.006553599834442139, | |
0.00659449577331543, | |
0.006571968078613281, | |
0.006533120155334473, | |
0.006593376159667969, | |
0.006646783828735352, | |
0.006690815925598144, | |
0.006618112087249756, | |
0.006714367866516113, | |
0.006574079990386963, | |
0.006565887928009034, | |
0.006597439765930176, | |
0.006602719783782959, | |
0.0066713600158691405, | |
0.006668320178985596, | |
0.006569856166839599, | |
0.006592512130737305, | |
0.0065474238395690915, | |
0.006583295822143555, | |
0.006553599834442139, | |
0.006562816143035889 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 145.78281901599777 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.721684647328927e-08, | |
"ram": 4.22194067329189e-08, | |
"gpu": 1.635084280649356e-07, | |
"total": 2.829446812711438e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3534259.755325485 | |
} | |
} | |
} | |
} |