
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
86b679c
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.1+cu124", | |
"_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": 2, | |
"sequence_length": 16 | |
}, | |
"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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 890.003456, | |
"max_global_vram": 695.730176, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.3608616943359375 | |
], | |
"count": 1, | |
"total": 0.3608616943359375, | |
"mean": 0.3608616943359375, | |
"p50": 0.3608616943359375, | |
"p90": 0.3608616943359375, | |
"p95": 0.3608616943359375, | |
"p99": 0.3608616943359375, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1132.703744, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 133.139968 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007532544136047363, | |
0.0072499198913574215, | |
0.0071905279159545895, | |
0.007207935810089112, | |
0.00710041618347168, | |
0.007069695949554444, | |
0.007049215793609619, | |
0.007067647933959961, | |
0.0072202239036560055, | |
0.007146431922912598, | |
0.0071198720932006835, | |
0.007126016139984131, | |
0.007155712127685547, | |
0.007130112171173096, | |
0.007165952205657959, | |
0.007223296165466309, | |
0.007227359771728515, | |
0.007192575931549072, | |
0.0072202239036560055, | |
0.007236608028411865, | |
0.007168000221252442, | |
0.007123968124389648, | |
0.007124991893768311, | |
0.007225344181060791, | |
0.007215104103088379, | |
0.007201791763305664, | |
0.007173120021820068, | |
0.007150591850280762, | |
0.007196671962738037, | |
0.007132160186767578, | |
0.007131135940551757, | |
0.007142399787902832, | |
0.007099455833435059, | |
0.007203839778900147, | |
0.007597087860107422, | |
0.007703551769256592, | |
0.007582655906677246, | |
0.007506944179534912, | |
0.007520256042480469, | |
0.007505919933319092, | |
0.007468031883239746, | |
0.007550975799560547, | |
0.007521279811859131, | |
0.0075478401184082035, | |
0.007536640167236328, | |
0.007670783996582031, | |
0.007622655868530274, | |
0.007619584083557129, | |
0.007737279891967774, | |
0.00809267234802246, | |
0.0076574721336364745, | |
0.00764415979385376, | |
0.007517183780670166, | |
0.007561215877532959, | |
0.00757862377166748, | |
0.007489535808563232, | |
0.007601151943206787, | |
0.007536640167236328, | |
0.007498752117156982, | |
0.0074967041015625, | |
0.007642111778259277, | |
0.008429568290710449, | |
0.0075038719177246095, | |
0.007314432144165039, | |
0.007294976234436036, | |
0.00733900785446167, | |
0.007324672222137451, | |
0.007319551944732666, | |
0.007359488010406494, | |
0.007377920150756836, | |
0.007460864067077637, | |
0.007709695816040039, | |
0.00739734411239624, | |
0.007292895793914795, | |
0.007358463764190673, | |
0.007316480159759522, | |
0.0072683200836181645, | |
0.0071833600997924804, | |
0.007795711994171142, | |
0.0071536960601806645, | |
0.0071188478469848635, | |
0.007136256217956543, | |
0.007019519805908203, | |
0.007065631866455078, | |
0.007063551902770996, | |
0.007061503887176514, | |
0.006970367908477783, | |
0.006941696166992187, | |
0.007013376235961914, | |
0.007051231861114502, | |
0.007041024208068848, | |
0.007014400005340577, | |
0.00709119987487793, | |
0.007168000221252442, | |
0.007188479900360107, | |
0.007292928218841553, | |
0.007442431926727295, | |
0.007245823860168457, | |
0.00710041618347168, | |
0.007098368167877197, | |
0.007127039909362793, | |
0.006834176063537598, | |
0.006870016098022461, | |
0.006779903888702392, | |
0.006747136116027832, | |
0.006796256065368652, | |
0.006752255916595459, | |
0.0067686400413513184, | |
0.006820864200592041, | |
0.006812672138214112, | |
0.006806528091430664, | |
0.006782976150512696, | |
0.007508992195129394, | |
0.006979584217071533, | |
0.00727347183227539, | |
0.007226367950439453, | |
0.007174143791198731, | |
0.007211008071899414, | |
0.007228352069854736, | |
0.007184383869171143, | |
0.00729804801940918, | |
0.007165952205657959, | |
0.007196671962738037, | |
0.007187456130981445, | |
0.007156735897064209, | |
0.007122943878173828, | |
0.0071157760620117185, | |
0.007185408115386963, | |
0.007217152118682861, | |
0.00720684814453125, | |
0.007238656044006348, | |
0.007194623947143554, | |
0.0071823358535766605, | |
0.0072837119102478025, | |
0.007663616180419922, | |
0.007290880203247071, | |
0.007223296165466309, | |
0.007175168037414551 | |
], | |
"count": 138, | |
"total": 1.0020440011024476, | |
"mean": 0.007261188413785852, | |
"p50": 0.007207391977310181, | |
"p90": 0.007598307085037231, | |
"p95": 0.007664691352844239, | |
"p99": 0.00798279701709747, | |
"stdev": 0.00026159115208173917, | |
"stdev_": 3.6025941922274165 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 275.4370064551508 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.528893850919317e-08, | |
"ram": 4.660658988206361e-08, | |
"gpu": 2.0770000628776855e-07, | |
"total": 3.395955346790253e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 5889358.945459443 | |
} | |
} | |
} | |
} |