Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bandaid for run-readme-pr-macos.yml incorrectly loading to MPS #1417

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
12 changes: 8 additions & 4 deletions .github/workflows/run-readme-pr-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
sysctl machdep.cpu.core_count
echo "::endgroup::"

.ci/scripts/run-docs readme
echo "using workaround for #1416 and #1315 by setting torchchat device explicitly"
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs readme

echo "::group::Completion"
echo "tests complete"
Expand Down Expand Up @@ -68,7 +69,8 @@ jobs:
sysctl machdep.cpu.core_count
echo "::endgroup::"

.ci/scripts/run-docs quantization
echo "using workaround for #1416 and #1315 by setting torchchat device explicitly"
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs quantization

echo "::group::Completion"
echo "tests complete"
Expand Down Expand Up @@ -103,7 +105,8 @@ jobs:
sysctl machdep.cpu.core_count
echo "::endgroup::"

.ci/scripts/run-docs gguf
echo "using workaround for #1416 and #1315 by setting torchchat device explicitly"
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs gguf

echo "::group::Completion"
echo "tests complete"
Expand Down Expand Up @@ -137,7 +140,8 @@ jobs:
sysctl machdep.cpu.core_count
echo "::endgroup::"

.ci/scripts/run-docs advanced
echo "using workaround for #1416 and #1315 by setting torchchat device explicitly"
TORCHCHAT_DEVICE=cpu .ci/scripts/run-docs advanced

echo "::group::Completion"
echo "tests complete"
Expand Down