Glenn Jocher c215878f11
YOLOv5 Apple Metal Performance Shader (MPS) support (#7878)
* Apple Metal Performance Shader (MPS) device support

Following https://pytorch.org/blog/introducing-accelerated-pytorch-training-on-mac/

Should work with Apple M1 devices with PyTorch nightly installed with command `--device mps`. Usage examples:
```bash
python train.py --device mps
python detect.py --device mps
python val.py --device mps
```

* Update device strategy to fix MPS issue
2022-05-24 13:34:32 +02:00
..
2022-02-16 10:13:05 +01:00
2022-05-20 16:13:40 +02:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00
2021-10-11 23:47:18 -07:00