mirror of
https://github.com/velocitatem/PHANTOM.git
synced 2026-05-31 08:33:36 +00:00
chore: fixing previous error of software version
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
ZONE="us-central2-b"
|
||||
QR_NAME="v4-test-vm"
|
||||
ACCEL_TYPE="v4-8"
|
||||
RUNTIME_VERSION="v2-alpha-tpuv4"
|
||||
RUNTIME_VERSION="tpu-ubuntu2204-base"
|
||||
IS_SPOT="true"
|
||||
RUN_ID="phantom_v4_test_1"
|
||||
HF_REPO="velocitatem/capstone"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ZONE="us-central2-b"
|
||||
QR_NAME="v4-32-us-ondemand"
|
||||
ACCEL_TYPE="v4-32"
|
||||
RUNTIME_VERSION="v2-alpha-tpuv4"
|
||||
RUNTIME_VERSION="tpu-ubuntu2204-base"
|
||||
IS_SPOT="false"
|
||||
RUN_ID="phantom_v4_od_1"
|
||||
HF_REPO="velocitatem/capstone"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ZONE="us-central2-b"
|
||||
QR_NAME="v4-32-us-spot"
|
||||
ACCEL_TYPE="v4-32"
|
||||
RUNTIME_VERSION="v2-alpha-tpuv4"
|
||||
RUNTIME_VERSION="tpu-ubuntu2204-base"
|
||||
IS_SPOT="true"
|
||||
RUN_ID="phantom_v4_spot_1"
|
||||
HF_REPO="velocitatem/capstone"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ZONE="europe-west4-b"
|
||||
QR_NAME="v5e-64-eu-spot"
|
||||
ACCEL_TYPE="v5litepod-64"
|
||||
RUNTIME_VERSION="v2-alpha-tpuv5-lite"
|
||||
RUNTIME_VERSION="tpu-ubuntu2204-base"
|
||||
IS_SPOT="true"
|
||||
RUN_ID="phantom_v5e_eu_1"
|
||||
HF_REPO="velocitatem/capstone"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ZONE="us-central1-a"
|
||||
QR_NAME="v5e-64-us-spot"
|
||||
ACCEL_TYPE="v5litepod-64"
|
||||
RUNTIME_VERSION="v2-alpha-tpuv5-lite"
|
||||
RUNTIME_VERSION="tpu-ubuntu2204-base"
|
||||
IS_SPOT="true"
|
||||
RUN_ID="phantom_v5e_us_1"
|
||||
HF_REPO="velocitatem/capstone"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ZONE="europe-west4-a"
|
||||
QR_NAME="v6e-64-eu-spot"
|
||||
ACCEL_TYPE="v6e-64"
|
||||
RUNTIME_VERSION="v2-alpha-tpuv6e"
|
||||
RUNTIME_VERSION="tpu-ubuntu2204-base"
|
||||
IS_SPOT="true"
|
||||
RUN_ID="phantom_v6e_eu_1"
|
||||
HF_REPO="velocitatem/capstone"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ZONE="us-east1-d"
|
||||
QR_NAME="v6e-64-us-spot"
|
||||
ACCEL_TYPE="v6e-64"
|
||||
RUNTIME_VERSION="v2-alpha-tpuv6e"
|
||||
RUNTIME_VERSION="tpu-ubuntu2204-base"
|
||||
IS_SPOT="true"
|
||||
RUN_ID="phantom_v6e_us_1"
|
||||
HF_REPO="velocitatem/capstone"
|
||||
|
||||
@@ -62,6 +62,9 @@ cd /app/model
|
||||
if [ -f "requirements.txt" ]; then
|
||||
pip install -r requirements.txt
|
||||
fi
|
||||
if [ -f "sim/requirements.txt" ]; then
|
||||
pip install -r sim/requirements.txt
|
||||
fi
|
||||
|
||||
# 5. Restore state from Hugging Face Buckets
|
||||
echo "Restoring state from hf://buckets/$HF_REPO..."
|
||||
|
||||
@@ -95,7 +95,7 @@ while true; do
|
||||
fi
|
||||
|
||||
# Determine runtime version
|
||||
RT_VERSION=${RUNTIME_VERSION:-"v2-alpha-tpuv4"}
|
||||
RT_VERSION=${RUNTIME_VERSION:-"tpu-ubuntu2204-base"}
|
||||
|
||||
gcloud compute tpus queued-resources create $QR_NAME \
|
||||
--project=$PROJECT_ID \
|
||||
|
||||
Reference in New Issue
Block a user