-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Description
with
Traceback (most recent call last):
File "/Users/runner/work/vision/vision/pytorch/vision/test/smoke_test.py", line 103, in <module>
main()
File "/Users/runner/work/vision/vision/pytorch/vision/test/smoke_test.py", line 99, in main
smoke_test_torchvision_resnet50_classify("mps")
File "/Users/runner/work/vision/vision/pytorch/vision/test/smoke_test.py", line 52, in smoke_test_torchvision_resnet50_classify
img = read_image(str(SCRIPT_DIR / ".." / "gallery" / "assets" / "dog2.jpg")).to(device)
RuntimeError: MPS backend out of memory (MPS allocated: 0 bytes, other allocations: 0 bytes, max allowed: 1.70 GB). Tried to allocate 0 bytes on private pool. Use PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 to disable upper limit for memory allocations (may cause system failure).
example: https://github.com/pytorch/vision/actions/runs/9157662717/job/25174485539?pr=7990
Metadata
Metadata
Assignees
Labels
No labels