ifckpt_path.endswith("_shuffle.pth")orckpt_path.endswith("_shuffle.safetensors")orckpt_path.endswith("_shuffle_fp16.safetensors"):#TODO: smarter way of enabling global_average_pooling
ifckpt_path.endswith("_shuffle.pth")orckpt_path.endswith("_shuffle.safetensors")orckpt_path.endswith("_shuffle_fp16.safetensors"):#TODO: smarter way of enabling global_average_pooling