Skip to content

Commit a003c56

Browse files
committed
add gcloud auth piece
Signed-off-by: Jack Luar <[email protected]>
1 parent 35bff37 commit a003c56

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

tools/AutoTuner/distributed/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ upload:
3232

3333
up:
3434
@echo "Starting Ray cluster..."
35-
@. .venv/bin/activate && ray up -y public.yaml
35+
@ray up -y public.yaml
3636

3737
down:
3838
@echo "Stopping Ray cluster..."
39-
@. .venv/bin/activate && ray down -y public.yaml
39+
@ray down -y public.yaml

tools/AutoTuner/distributed/README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,18 @@ There are two different ways for ORFS setup on Ray Cluster, namely:
1616
Make sure Autotuner prerequisites are installed. To do so, refer to the installation script.
1717

1818
```bash
19-
make init
19+
pip install ray google-api-python-client cryptography
2020
```
2121

2222
## Public cluster setup
2323

24+
0. Authenticate the necessary GCP account with enough privileges to do:
25+
- `setIamPolicy`
26+
27+
```bash
28+
gcloud auth application-default login
29+
```
30+
2431
1. Set up `.env` with Docker registry username/password. Also, set up the `public.yaml`
2532
file accordingly to your desired specifications.
2633

tools/AutoTuner/requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ tensorboard>=2.14.0,<=2.16.2
99
protobuf==3.20.3
1010
SQLAlchemy==1.4.17
1111
urllib3<=1.26.15
12+
google-api-python-client==2.151.0
13+
cryptography==44.0.0

0 commit comments

Comments
 (0)