Skip to content

Commit

Permalink
Move to reservated TPU capacity (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Obliviour authored Mar 22, 2024
1 parent c794fbe commit 948a57a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Verify gcp setup
run: gcloud info
- name: Create an XPK Cluster with 2x v4-8 nodepools
run: python xpk.py cluster create --cluster test-2-v4-8-nodepool --device-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --spot --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
run: python xpk.py cluster create --cluster test-2-v4-8-nodepool --device-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --reservation='${{ secrets.GCP_TPU_V4_RESERVATION }}' --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
- name: Delete the cluster created
if: always()
run: python xpk.py cluster delete --cluster test-2-v4-8-nodepool --zone=us-central2-b
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
- name: Verify gcp setup
run: gcloud info
- name: Create an XPK Cluster with zero node pools
run: python xpk.py cluster create --cluster test-zero-nodepool --device-type=v4-8 --num-slices=0 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --spot --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
run: python xpk.py cluster create --cluster test-zero-nodepool --device-type=v4-8 --num-slices=0 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --reservation='${{ secrets.GCP_TPU_V4_RESERVATION }}' --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
- name: Delete the cluster created
run: python xpk.py cluster delete --cluster test-zero-nodepool --zone=us-central2-b
if: always()
- name: Create an XPK Cluster with 2x v4-8 nodepools
run: python xpk.py cluster create --cluster test-2-v4-8-nodepool --device-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --spot --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
run: python xpk.py cluster create --cluster test-2-v4-8-nodepool --device-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --reservation='${{ secrets.GCP_TPU_V4_RESERVATION }}' --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
- name: Delete the cluster created
if: always()
run: python xpk.py cluster delete --cluster test-2-v4-8-nodepool --zone=us-central2-b
Expand Down

0 comments on commit 948a57a

Please sign in to comment.