MPS Memory error
recently i was training a yolo model on mps but i got below error. im new to mac can some one help me please
RuntimeError: MPS backend out of memory (MPS allocated: 11.39 GB, other allocations: 6.69 GB, max allowed: 18.13 GB). Tried to allocate 300.00 MB on private pool. Use PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 to disable upper limit for memory allocations (may cause system failure).
MacBook Pro 14″, macOS 14.0