Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ jobs:
test-mps:
strategy:
matrix:
runner: [macos-m1-stable ]
runner: [macos-14-xlarge]
runs-on: ${{matrix.runner}}
steps:
- name: Checkout repo
Expand Down Expand Up @@ -695,6 +695,16 @@ jobs:
export MODEL_PATH=checkpoints/stories15M/stories15M.pt
export MODEL_NAME=stories15M
export MODEL_DIR=/tmp
python - <<'PY'
import torch
if torch.backends.mps.is_available():
try:
print("MPS current:", torch.mps.current_allocated_memory() / (1024**3), "GiB")
print("MPS driver :", torch.mps.driver_allocated_memory() / (1024**3), "GiB")
print("MPS peak :", torch.mps.driver_allocated_memory() / (1024**3), "GiB")
except Exception:
pass
PY

python3 torchchat.py generate --device mps --checkpoint-path ${MODEL_PATH} --temperature 0

Expand Down Expand Up @@ -768,7 +778,7 @@ jobs:
test-mps-dtype:
strategy:
matrix:
runner: [macos-m1-stable ]
runner: [macos-14-xlarge]
runs-on: ${{matrix.runner}}
steps:
- name: Checkout repo
Expand Down Expand Up @@ -1213,7 +1223,7 @@ jobs:
test-torchao-experimental-mps:
strategy:
matrix:
runner: [macos-m1-stable]
runner: [macos-14-xlarge]
runs-on: ${{matrix.runner}}
steps:
- name: Checkout repo
Expand Down
Loading