
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
4d86fd7
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": {}, | |
"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, | |
"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": 787.705856, | |
"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.437072265625, | |
"mean": 7.437072265625, | |
"stdev": 0.0, | |
"p50": 7.437072265625, | |
"p90": 7.437072265625, | |
"p95": 7.437072265625, | |
"p99": 7.437072265625, | |
"values": [ | |
7.437072265625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.319695466094547e-06, | |
"ram": 2.3517983227062206e-06, | |
"gpu": 4.983615098000057e-06, | |
"total": 1.1655108886800824e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 973.840384, | |
"max_global_vram": 1040.71168, | |
"max_process_vram": 0.0, | |
"max_reserved": 396.361728, | |
"max_allocated": 245.323264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 153, | |
"total": 1.0021479368209836, | |
"mean": 0.0065499865151698285, | |
"stdev": 0.0002517447826190777, | |
"p50": 0.0065075201988220215, | |
"p90": 0.006674636936187745, | |
"p95": 0.007059046268463135, | |
"p99": 0.007850456275939941, | |
"values": [ | |
0.006829055786132812, | |
0.006821887969970703, | |
0.00794316816329956, | |
0.007368703842163086, | |
0.007088128089904785, | |
0.007049215793609619, | |
0.00709222412109375, | |
0.007073791980743408, | |
0.007295936107635498, | |
0.006368256092071533, | |
0.006264832019805908, | |
0.006201344013214111, | |
0.00624128007888794, | |
0.006209536075592041, | |
0.006218751907348633, | |
0.006232063770294189, | |
0.006205440044403076, | |
0.0062679038047790524, | |
0.006221824169158936, | |
0.00638259220123291, | |
0.006441984176635742, | |
0.006490111827850342, | |
0.006516736030578613, | |
0.006487040042877197, | |
0.0065372161865234375, | |
0.006562816143035889, | |
0.006462463855743408, | |
0.006526976108551025, | |
0.006526976108551025, | |
0.006477759838104248, | |
0.006604832172393799, | |
0.006504447937011719, | |
0.006486015796661377, | |
0.006551551818847656, | |
0.006499360084533692, | |
0.006553599834442139, | |
0.006552576065063476, | |
0.006469632148742676, | |
0.006482944011688232, | |
0.006490111827850342, | |
0.0064174079895019534, | |
0.0064737281799316405, | |
0.0064132800102233885, | |
0.006493184089660644, | |
0.00653004789352417, | |
0.006386688232421875, | |
0.006575104236602783, | |
0.00652288007736206, | |
0.00648089599609375, | |
0.00652185583114624, | |
0.006468607902526856, | |
0.006499328136444092, | |
0.006565887928009034, | |
0.006409215927124024, | |
0.006534143924713135, | |
0.00658022403717041, | |
0.006463488101959228, | |
0.006532159805297852, | |
0.006517792224884033, | |
0.006475776195526123, | |
0.0065484800338745115, | |
0.0064778242111206055, | |
0.006528031826019287, | |
0.006518784046173095, | |
0.0064767999649047855, | |
0.00653107213973999, | |
0.006533120155334473, | |
0.006457344055175781, | |
0.006535168170928955, | |
0.0065382399559021, | |
0.006490111827850342, | |
0.00653107213973999, | |
0.006463488101959228, | |
0.006749184131622315, | |
0.006526976108551025, | |
0.006899712085723877, | |
0.006583295822143555, | |
0.0065495362281799314, | |
0.006493184089660644, | |
0.006546432018280029, | |
0.006510591983795166, | |
0.006423552036285401, | |
0.006526976108551025, | |
0.006546432018280029, | |
0.006489088058471679, | |
0.006553599834442139, | |
0.0064880638122558594, | |
0.006489088058471679, | |
0.006546432018280029, | |
0.00648089599609375, | |
0.006549503803253174, | |
0.006533120155334473, | |
0.006495232105255127, | |
0.006525951862335205, | |
0.006556672096252441, | |
0.006481919765472412, | |
0.006545407772064209, | |
0.0065054078102111815, | |
0.0064849920272827145, | |
0.006772736072540283, | |
0.00653926420211792, | |
0.006551551818847656, | |
0.006685696125030518, | |
0.007853151798248291, | |
0.007847968101501466, | |
0.0068351998329162595, | |
0.006525951862335205, | |
0.006520832061767578, | |
0.006455296039581298, | |
0.006531007766723633, | |
0.006532095909118653, | |
0.006470655918121338, | |
0.006543360233306885, | |
0.006524928092956543, | |
0.006551551818847656, | |
0.006543360233306885, | |
0.006467648029327392, | |
0.006543360233306885, | |
0.006510591983795166, | |
0.006412288188934326, | |
0.0065177597999572755, | |
0.006469632148742676, | |
0.0065075201988220215, | |
0.0065136637687683106, | |
0.0064460158348083494, | |
0.006460415840148926, | |
0.006561791896820069, | |
0.0064440321922302245, | |
0.0064880638122558594, | |
0.006472703933715821, | |
0.006451200008392334, | |
0.006533120155334473, | |
0.0064522562026977535, | |
0.006457344055175781, | |
0.006484000205993652, | |
0.006432767868041992, | |
0.006463488101959228, | |
0.0064542717933654785, | |
0.006510591983795166, | |
0.006504447937011719, | |
0.006495264053344727, | |
0.0064839677810668945, | |
0.0066304001808166506, | |
0.006478847980499268, | |
0.006508543968200684, | |
0.006472703933715821, | |
0.006423488140106202, | |
0.0063907837867736815, | |
0.006367231845855713, | |
0.00636518383026123, | |
0.0065710082054138185, | |
0.006451200008392334, | |
0.006492159843444824 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 152.67207003922692 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.450902317133215e-08, | |
"ram": 4.0604341822494545e-08, | |
"gpu": 1.59857766775e-07, | |
"total": 2.749711317688267e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3636745.4051166303 | |
} | |
} | |
} | |
} |