
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
e6490e3
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, | |
"num_choices": 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.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_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 889.602048, | |
"max_global_vram": 695.730176, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.3635824584960938 | |
], | |
"count": 1, | |
"total": 0.3635824584960938, | |
"mean": 0.3635824584960938, | |
"p50": 0.3635824584960938, | |
"p90": 0.3635824584960938, | |
"p95": 0.3635824584960938, | |
"p99": 0.3635824584960938, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010955796562430564, | |
"ram": 6.002692024440874e-05, | |
"gpu": 0.00014641122823999997, | |
"total": 0.00031599611410871437 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1133.965312, | |
"max_global_vram": 798.490624, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 133.139968 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.007392255783081054, | |
0.007046144008636474, | |
0.006972415924072266, | |
0.007121920108795166, | |
0.007383039951324463, | |
0.007431168079376221, | |
0.007378943920135498, | |
0.007398399829864502, | |
0.00738099193572998, | |
0.007390207767486572, | |
0.007374783992767334, | |
0.007442431926727295, | |
0.007513088226318359, | |
0.007546879768371582, | |
0.0074741759300231934, | |
0.00748748779296875, | |
0.007506944179534912, | |
0.0074035201072692874, | |
0.0073810238838195805, | |
0.007505919933319092, | |
0.007489535808563232, | |
0.007456736087799072, | |
0.007400447845458984, | |
0.0075212159156799316, | |
0.007450623989105225, | |
0.007324672222137451, | |
0.007347263813018799, | |
0.0073820161819458, | |
0.00738099193572998, | |
0.0073400321006774905, | |
0.007422976016998291, | |
0.007478271961212158, | |
0.007341055870056152, | |
0.007402592182159424, | |
0.007358463764190673, | |
0.007349247932434082, | |
0.007327744007110596, | |
0.0074035201072692874, | |
0.007379968166351319, | |
0.007333888053894043, | |
0.0074629120826721195, | |
0.007517183780670166, | |
0.007504896163940429, | |
0.007548927783966064, | |
0.00749567985534668, | |
0.0074629120826721195, | |
0.007478271961212158, | |
0.00743833589553833, | |
0.007456768035888672, | |
0.007455743789672851, | |
0.007469056129455566, | |
0.007326720237731933, | |
0.007501823902130127, | |
0.007390207767486572, | |
0.007326720237731933, | |
0.0073400321006774905, | |
0.007197696208953858, | |
0.007370751857757568, | |
0.007360479831695557, | |
0.007307295799255371, | |
0.00705840015411377, | |
0.007146495819091797, | |
0.007229375839233399, | |
0.007206912040710449, | |
0.007333888053894043, | |
0.007280640125274658, | |
0.007371776103973389, | |
0.007398399829864502, | |
0.007646207809448242, | |
0.007102464199066162, | |
0.006978559970855713, | |
0.0069928960800170895, | |
0.006971392154693603, | |
0.006945792198181152, | |
0.006951935768127441, | |
0.0069110078811645504, | |
0.006949888229370117, | |
0.007187456130981445, | |
0.006970367908477783, | |
0.0069283838272094726, | |
0.007014400005340577, | |
0.006964223861694336, | |
0.006941696166992187, | |
0.006993919849395752, | |
0.007047167778015137, | |
0.006912000179290771, | |
0.0069324798583984375, | |
0.00693555212020874, | |
0.006931456089019775, | |
0.006914048194885254, | |
0.006958079814910889, | |
0.006941696166992187, | |
0.007063551902770996, | |
0.007023615837097168, | |
0.006932447910308838, | |
0.006923264026641846, | |
0.007250944137573242, | |
0.007460864067077637, | |
0.007127039909362793, | |
0.007037951946258545, | |
0.0069212160110473635, | |
0.006971392154693603, | |
0.0069283838272094726, | |
0.006939712047576904, | |
0.0069621758460998535, | |
0.006973440170288086, | |
0.006918144226074219, | |
0.007021567821502686, | |
0.0069816322326660156, | |
0.007176191806793213, | |
0.006986752033233643, | |
0.0069324798583984375, | |
0.006900735855102539, | |
0.006946815967559815, | |
0.00693555212020874, | |
0.006953983783721924, | |
0.006920191764831543, | |
0.006946815967559815, | |
0.006945792198181152, | |
0.006937600135803222, | |
0.007063551902770996, | |
0.00695091199874878, | |
0.006900735855102539, | |
0.006938623905181885, | |
0.006906879901885986, | |
0.006937600135803222, | |
0.007046080112457275, | |
0.007018496036529541, | |
0.006915071964263916, | |
0.00694374418258667, | |
0.006933504104614257, | |
0.00693452787399292, | |
0.0069847040176391605, | |
0.0069283838272094726, | |
0.006926303863525391, | |
0.00692633581161499, | |
0.007061471939086914, | |
0.007037951946258545, | |
0.0069632000923156735 | |
], | |
"count": 139, | |
"total": 0.9982227177619934, | |
"mean": 0.007181458401165419, | |
"p50": 0.007127039909362793, | |
"p90": 0.007478271961212158, | |
"p95": 0.007506022357940674, | |
"p99": 0.007548149538040161, | |
"stdev": 0.0002274800382198977, | |
"stdev_": 3.167602254480536 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 278.4949641531637 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.136212646499343e-08, | |
"ram": 4.444042179529538e-08, | |
"gpu": 2.0472428858904128e-07, | |
"total": 3.305268368493301e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 6050945.874968983 | |
} | |
} | |
} | |
} |