text: Title: Export to NCNN format no longer works with Ultralytics 8.3.71 and torch 2.6.0+cpu on Raspberry Pi 4
  Body: ### Search before asking
  
  - [x] I have searched the Ultralytics YOLO [issues](https://github.com/ultralytics/ultralytics/issues) and found no similar bug report.
  
  
  ### Ultralytics YOLO Component
  
  Export
  
  ### Bug
  
  The latest version of `ultralytics 8.3.71` in conjunction with `torch-2.6.0+cpu` causes the `yolo export model=yolo11n.pt format=ncnn` to longer work. It results in the following output, and the model does not get converted to NCNN format. If you downgrade the libraries to `ultralytics 8.3.70` and `torch-2.5.1+cpu`, it does work.
  
  Can you please resolve this issue? Is there any way I can help?
  
  ```
  yolo export model=my_model.pt format=ncnn
  Ultralytics 8.3.71     Python-3.11.2 torch-2.6.0+cpu CPU (Cortex-A72)
  YOLO11n summary (fused): 238 layers, 2,583,127 parameters, 0 gradients, 6.3 GFLOPs
  
  PyTorch: starting from 'my_model.pt' with input shape (1, 3, 480, 480) BCHW and output shape(s) (1, 9, 4725) (5.2 MB)
  
  TorchScript: starting export with torch 2.6.0+cpu...
  Illegal instruction
  ```
  
  ![Image](https://github.com/user-attachments/assets/9794a459-f174-4f16-8fa8-662c3dc61909)
  
  Thanks to the Ultralytics team for all your great work on this library!
  
  
  ### Environment
  
  (venv) evan@raspberrypi:~/yolo/yolo3 $ yolo checks
  Ultralytics 8.3.71 🚀 Python-3.11.2 torch-2.6.0+cpu CPU (Cortex-A72)
  Setup complete ✅ (4 CPUs, 7.6 GB RAM, 12.0/27.8 GB disk)
  
  OS                  Linux-6.6.62+rpt-rpi-v8-aarch64-with-glibc2.36
  Environment         Linux
  Python              3.11.2
  Install             pip
  RAM                 7.63 GB
  Disk                12.0/27.8 GB
  CPU                 Cortex-A72
  CPU count           4
  GPU                 None
  GPU count           None
  CUDA                None
  
  numpy               ✅ 2.1.1<=2.1.1,>=1.23.0
  matplotlib          ✅ 3.10.0>=3.3.0
  opencv-python       ✅ 4.11.0.86>=4.6.0
  pillow              ✅ 11.1.0>=7.1.2
  pyyaml              ✅ 6.0.2>=5.3.1
  requests            ✅ 2.32.3>=2.23.0
  scipy               ✅ 1.15.1>=1.4.1
  torch               ✅ 2.6.0>=1.8.0
  torch               ✅ 2.6.0!=2.4.0,>=1.8.0; sys_platform == "win32"
  torchvision         ✅ 0.21.0>=0.9.0
  tqdm                ✅ 4.67.1>=4.64.0
  psutil              ✅ 6.1.1
  py-cpuinfo          ✅ 9.0.0
  pandas              ✅ 2.2.3>=1.1.4
  seaborn             ✅ 0.13.2>=0.11.0
  ultralytics-thop    ✅ 2.0.14>=2.0.0
  
  ### Minimal Reproducible Example
  
  **Steps to reproduce**
  
  This is all run on a Raspberry Pi 4b 8GB using 64-bit Raspberry Pi OS version 12 (Bookworm). The OS is freshly installed on an SD cardusing Raspberry Pi Imager.
  
  Open a terminal and run the following commands:
  
  1. `sudo apt update && sudo apt upgrade -y`
  2. `mkdir yolo && cd yolo`
  3. `python3 -m venv venv`
  4. `source venv/bin/activate`
  5. `pip install ultralytics ncnn`
  6. `yolo export model=yolo11n.pt format=ncnn`
  
  The error will occur upon running that last command. The error no longer occurs if you downgrade using `pip install ultralytics==8.3.70 torch==2.5.1`.
  
  ### Additional
  
  _No response_
  
  ### Are you willing to submit a PR?
  
  - [ ] Yes I'd like to help by submitting a PR!