
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
6514b98
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.227-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": 884.617216, | |
"max_global_vram": 695.730176, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.36581170654296874 | |
], | |
"count": 1, | |
"total": 0.36581170654296874, | |
"mean": 0.36581170654296874, | |
"p50": 0.36581170654296874, | |
"p90": 0.36581170654296874, | |
"p95": 0.36581170654296874, | |
"p99": 0.36581170654296874, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1127.313408, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 133.139968 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007455743789672851, | |
0.0068237118721008305, | |
0.006804480075836182, | |
0.0067992000579833985, | |
0.0067431039810180666, | |
0.007186431884765625, | |
0.007342080116271973, | |
0.007308288097381592, | |
0.007491583824157715, | |
0.00729702377319336, | |
0.007312416076660156, | |
0.007400447845458984, | |
0.00725708818435669, | |
0.0071833600997924804, | |
0.007217152118682861, | |
0.007398399829864502, | |
0.007337984085083008, | |
0.0073134078979492185, | |
0.007284736156463623, | |
0.007271423816680909, | |
0.007304192066192627, | |
0.007269279956817627, | |
0.0072919678688049315, | |
0.007277567863464355, | |
0.007252960205078125, | |
0.0073697280883789065, | |
0.007130112171173096, | |
0.007180287837982178, | |
0.0072130560874938965, | |
0.007188640117645264, | |
0.0072130560874938965, | |
0.007226367950439453, | |
0.007217152118682861, | |
0.007286784172058106, | |
0.007349247932434082, | |
0.007354368209838867, | |
0.007426047801971435, | |
0.007282688140869141, | |
0.007168159961700439, | |
0.007159808158874512, | |
0.007302015781402588, | |
0.007303167819976806, | |
0.007287807941436767, | |
0.007215104103088379, | |
0.007320576190948487, | |
0.007270431995391845, | |
0.007187456130981445, | |
0.007198719978332519, | |
0.007127039909362793, | |
0.007188640117645264, | |
0.0073820161819458, | |
0.007212096214294433, | |
0.007185408115386963, | |
0.007312384128570557, | |
0.007193600177764893, | |
0.007291903972625732, | |
0.007367680072784424, | |
0.007237631797790528, | |
0.007215104103088379, | |
0.007218175888061523, | |
0.007196671962738037, | |
0.007108607769012451, | |
0.007175168037414551, | |
0.007123968124389648, | |
0.0071496000289916995, | |
0.0071495680809020995, | |
0.007128064155578613, | |
0.007153600215911865, | |
0.007136256217956543, | |
0.007229440212249756, | |
0.007135231971740722, | |
0.0072468481063842774, | |
0.007153664112091064, | |
0.0071905279159545895, | |
0.007171072006225586, | |
0.007208960056304932, | |
0.007208960056304932, | |
0.007184383869171143, | |
0.0071504321098327635, | |
0.007133120059967041, | |
0.0074200000762939455, | |
0.00725708818435669, | |
0.007301119804382325, | |
0.007147615909576416, | |
0.007203839778900147, | |
0.00743936014175415, | |
0.007202816009521484, | |
0.007316351890563965, | |
0.008231072425842286, | |
0.008229887962341309, | |
0.008156160354614257, | |
0.007309311866760254, | |
0.007314432144165039, | |
0.007352479934692383, | |
0.007323647975921631, | |
0.007315455913543701, | |
0.007268352031707764, | |
0.007225344181060791, | |
0.007473120212554932, | |
0.0073062081336975095, | |
0.007433119773864746, | |
0.007342080116271973, | |
0.007351295948028564, | |
0.007308288097381592, | |
0.0073062400817871095, | |
0.007300096035003662, | |
0.007274496078491211, | |
0.007180287837982178, | |
0.00764415979385376, | |
0.0072631359100341795, | |
0.007137279987335205, | |
0.007171103954315186, | |
0.007282688140869141, | |
0.007371776103973389, | |
0.007742464065551758, | |
0.007184351921081543, | |
0.007147520065307617, | |
0.0072202239036560055, | |
0.007184383869171143, | |
0.00724889612197876, | |
0.007238656044006348, | |
0.007274496078491211, | |
0.007247903823852539, | |
0.007302144050598145, | |
0.007318528175354004, | |
0.00725708818435669, | |
0.007262207984924316, | |
0.007271423816680909, | |
0.007354368209838867, | |
0.007386112213134765, | |
0.00722431993484497, | |
0.007261184215545655, | |
0.007222271919250488, | |
0.007267327785491944, | |
0.007215104103088379, | |
0.0071495680809020995, | |
0.007124127864837647, | |
0.007176191806793213 | |
], | |
"count": 138, | |
"total": 1.0031812191009524, | |
"mean": 0.007269429123919943, | |
"p50": 0.00725708818435669, | |
"p90": 0.007389798498153686, | |
"p95": 0.0074583502531051634, | |
"p99": 0.0082026087474823, | |
"stdev": 0.00018743835598129745, | |
"stdev_": 2.5784467086216503 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 275.1247678334233 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.19824000191585e-08, | |
"ram": 4.480251690597838e-08, | |
"gpu": 1.9648483151724162e-07, | |
"total": 3.2326974844237846e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6186783.66793264 | |
} | |
} | |
} | |
} |