Skip to content

Commit 85ba65e

Browse files
Merge pull request #333 from gurusai-voleti:ai-gsutil-migration-0db8d603601c4a51af0e15c59165731c
PiperOrigin-RevId: 875764071
2 parents 6e3b58b + b42d9bf commit 85ba65e

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ After installation completes, run the training script.
178178

179179
```bash
180180
BUCKET_NAME=my-bucket
181-
gsutil -m cp -r $TFRECORDS_DATASET_DIR gs://$BUCKET_NAME/${TFRECORDS_DATASET_DIR##*/}
181+
gcloud storage cp --recursive $TFRECORDS_DATASET_DIR gs://$BUCKET_NAME/${TFRECORDS_DATASET_DIR##*/}
182182
```
183183

184184
Now run the training command:
@@ -705,4 +705,3 @@ This script will automatically format your code with `pyink` and help you identi
705705
706706
The full suite of -end-to end tests is in `tests` and `src/maxdiffusion/tests`. We run them with a nightly cadance.
707707
708-

src/maxdiffusion/pedagogical_examples/save_sd_checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"""Load and save a checkpoint. This is useful for uploading checkpoints to gcs
1818
and later loading them from gcs directly.
1919
After calling this script, use gsutil to upload the weights to a bucket:
20-
gsutil -m cp -r sd-model-finetuned gs://<your-bucket>/sd_checkpoint/
20+
gcloud storage cp --recursive sd-model-finetuned gs://<your-bucket>/sd_checkpoint/
2121
"""
2222

2323
from typing import Sequence

src/maxdiffusion/pedagogical_examples/save_sdxl_checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"""Load and save a checkpoint. This is useful for uploading checkpoints to gcs
1818
and later loading them from gcs directly.
1919
After calling this script, use gsutil to upload the weights to a bucket:
20-
gsutil -m cp -r sdxl-model-finetuned gs://<your-bucket>/sdxl_1.0_base/
20+
gcloud storage cp --recursive sdxl-model-finetuned gs://<your-bucket>/sdxl_1.0_base/
2121
"""
2222

2323
from typing import Sequence

0 commit comments

Comments
 (0)