-
Notifications
You must be signed in to change notification settings - Fork 518
Replace hardcoded bucket names with generic ones/env variables #3738
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,10 +110,10 @@ Note that `FILE_PATH` is optional; when provided, the script runs `ls -R` for pr | |
|
|
||
| ```sh | ||
| bash src/dependencies/scripts/setup_gcsfuse.sh \ | ||
| DATASET_GCS_BUCKET=maxtext-dataset \ | ||
| DATASET_GCS_BUCKET=gs://<DATASET_PATH> \ | ||
| MOUNT_PATH=/tmp/gcsfuse && \ | ||
| python3 -m maxtext.trainers.pre_train.train \ | ||
| run_name=<RUN_NAME> base_output_directory=gs://<MY_BUCKET> \ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replace Also, why are you changing
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh I missed that, thanks for catching. Will fix |
||
| run_name=<RUN_NAME> base_output_directory=gs://<GCS_BUCKET> \ | ||
| dataset_type=grain \ | ||
| grain_file_type=arrayrecord # or parquet \ | ||
| grain_train_files=/tmp/gcsfuse/array-record/c4/en/3.0.1/c4-train.array_record* \ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
<DATASET_PATH>