
IlyasMoutawwakil
HF staff
Upload cuda_inference_timm_image-classification_timm/resnet50.a1_in1k/benchmark.json with huggingface_hub
bdb0bcc
verified
{ | |
"config": { | |
"name": "cuda_inference_timm_image-classification_timm/resnet50.a1_in1k", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": 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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-211.872.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 852.959232, | |
"max_global_vram": 688.390144, | |
"max_process_vram": 0.0, | |
"max_reserved": 123.731968, | |
"max_allocated": 102.475264 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.70288134765625, | |
"mean": 7.70288134765625, | |
"stdev": 0.0, | |
"p50": 7.70288134765625, | |
"p90": 7.70288134765625, | |
"p95": 7.70288134765625, | |
"p99": 7.70288134765625, | |
"values": [ | |
7.70288134765625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.310661548611429e-06, | |
"ram": 2.325298093587319e-06, | |
"gpu": 6.212782748000003e-06, | |
"total": 1.284874239019875e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1092.440064, | |
"max_global_vram": 791.150592, | |
"max_process_vram": 0.0, | |
"max_reserved": 148.897792, | |
"max_allocated": 114.685952 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 138, | |
"total": 1.0003666901588435, | |
"mean": 0.007249033986658289, | |
"stdev": 0.0002485768211008665, | |
"p50": 0.007319552183151246, | |
"p90": 0.007537561702728271, | |
"p95": 0.007594393730163574, | |
"p99": 0.007743477621078491, | |
"values": [ | |
0.007684095859527588, | |
0.007696383953094482, | |
0.007608320236206055, | |
0.007619584083557129, | |
0.007591936111450195, | |
0.007570496082305908, | |
0.00752950382232666, | |
0.0074711041450500485, | |
0.007485439777374267, | |
0.0074670081138610836, | |
0.007542784214019775, | |
0.007924736022949219, | |
0.007352320194244385, | |
0.007374847888946533, | |
0.007482367992401123, | |
0.007436287879943848, | |
0.007526400089263916, | |
0.007539711952209473, | |
0.007521279811859131, | |
0.00745472002029419, | |
0.007392255783081054, | |
0.007512063980102539, | |
0.007771135807037354, | |
0.007528448104858398, | |
0.007476223945617676, | |
0.007520319938659668, | |
0.007584767818450928, | |
0.0076605439186096195, | |
0.007536640167236328, | |
0.007525375843048096, | |
0.0074711041450500485, | |
0.007515200138092041, | |
0.00724889612197876, | |
0.006972415924072266, | |
0.007003136157989502, | |
0.007071743965148926, | |
0.00704204797744751, | |
0.007102464199066162, | |
0.007408639907836914, | |
0.007350336074829102, | |
0.0074291200637817386, | |
0.0074035201072692874, | |
0.007433184146881103, | |
0.007443520069122314, | |
0.007436287879943848, | |
0.007386112213134765, | |
0.007324672222137451, | |
0.007375872135162354, | |
0.0074301438331604, | |
0.0073768959045410155, | |
0.007377920150756836, | |
0.007396351814270019, | |
0.007391263961791992, | |
0.007316480159759522, | |
0.0073400321006774905, | |
0.00728275203704834, | |
0.007460864067077637, | |
0.0073359360694885255, | |
0.007291903972625732, | |
0.007312384128570557, | |
0.007365632057189942, | |
0.007291903972625732, | |
0.007378943920135498, | |
0.0073697280883789065, | |
0.007386112213134765, | |
0.007544832229614258, | |
0.007444479942321777, | |
0.007408639907836914, | |
0.007419904232025146, | |
0.007392255783081054, | |
0.007417856216430664, | |
0.007367680072784424, | |
0.007296000003814697, | |
0.007346176147460938, | |
0.0073994240760803225, | |
0.00725708818435669, | |
0.007423999786376953, | |
0.0074414081573486324, | |
0.007187456130981445, | |
0.0073431038856506346, | |
0.00713318395614624, | |
0.007006207942962647, | |
0.006960127830505371, | |
0.006999040126800537, | |
0.00707583999633789, | |
0.007301119804382325, | |
0.007280640125274658, | |
0.007322624206542969, | |
0.007398399829864502, | |
0.007560192108154297, | |
0.0071578240394592286, | |
0.007097343921661377, | |
0.007006239891052246, | |
0.007074816226959229, | |
0.007017471790313721, | |
0.006924287796020508, | |
0.006964223861694336, | |
0.006975488185882568, | |
0.006974463939666748, | |
0.006930431842803955, | |
0.0069816322326660156, | |
0.006990848064422607, | |
0.006986752033233643, | |
0.0069324798583984375, | |
0.006953983783721924, | |
0.007302144050598145, | |
0.006982656002044678, | |
0.007015423774719238, | |
0.00694374418258667, | |
0.00693555212020874, | |
0.006931456089019775, | |
0.00694271993637085, | |
0.006918079853057861, | |
0.006930431842803955, | |
0.0069324798583984375, | |
0.006893631935119629, | |
0.006931456089019775, | |
0.006940576076507568, | |
0.007136256217956543, | |
0.006918144226074219, | |
0.006946879863739014, | |
0.006974463939666748, | |
0.006968319892883301, | |
0.006895616054534912, | |
0.007018527984619141, | |
0.006941696166992187, | |
0.006965248107910156, | |
0.006907904148101806, | |
0.006966271877288818, | |
0.006947840213775635, | |
0.006940671920776367, | |
0.006898719787597657, | |
0.006975488185882568, | |
0.0069417600631713865, | |
0.006951935768127441, | |
0.006907904148101806, | |
0.007008255958557129, | |
0.006947840213775635 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 137.94941530698867 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.190492577586137e-08, | |
"ram": 4.478319826497166e-08, | |
"gpu": 1.6793500024827558e-07, | |
"total": 2.9462312428910863e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3394166.7084445045 | |
} | |
} | |
} | |
} |