Skip to content

Commit 09309ff

Browse files
Merge pull request #3533 from AI-Hypercomputer:bvandermoon-uxr
PiperOrigin-RevId: 892995042
2 parents 1e97f2e + 52d952d commit 09309ff

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

docs/tutorials/posttraining/full_finetuning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ For instructions on installing MaxText on your VM, please refer to the [official
2828

2929
## Setup environment variables
3030

31-
Follow the instructions [here](https://huggingface.co/docs/huggingface_hub/v0.21.2/guides/cli) to login to Hugging Face using your access token using
31+
Login to Hugging Face. Provide your access token when prompted:
3232

3333
```bash
34-
huggingface-cli login
34+
hf auth login
3535
```
3636

3737
```sh

docs/tutorials/posttraining/rl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ For instructions on installing MaxText with post-training dependencies on your V
4848

4949
## Setup environment variables
5050

51-
Follow the instructions [here](https://huggingface.co/docs/huggingface_hub/v0.21.2/guides/cli) to login to Hugging Face using your access token using
51+
Login to Hugging Face. Provide your access token when prompted:
5252

5353
```bash
54-
huggingface-cli login
54+
hf auth login
5555
```
5656

5757
Setup following environment variables before running GRPO/GSPO:

docs/tutorials/posttraining/sft.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ For instructions on installing MaxText with post-training dependencies on your V
3030

3131
## Setup environment variables
3232

33-
Follow the instructions [here](https://huggingface.co/docs/huggingface_hub/v0.21.2/guides/cli) to login to Hugging Face using your access token using
33+
Login to Hugging Face. Provide your access token when prompted:
3434

3535
```bash
36-
huggingface-cli login
36+
hf auth login
3737
```
3838

3939
Set the following environment variables before running SFT.

src/maxtext/inference/mlperf/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,11 @@ python3 -m maxtext.checkpoint_conversion.load_and_quantize_checkpoint src/maxtex
131131
The quantized checkpoint is saved at `${SAVE_QUANT_PARAMS_PATH}`
132132

133133
### HuggingFace login
134-
```
135-
export HUGGING_FACE_TOKEN=<your_hugging_face_token>
136-
huggingface-cli login --token ${HUGGING_FACE_TOKEN?}
134+
135+
Login to Hugging Face. Provide your access token when prompted:
136+
137+
```bash
138+
hf auth login
137139
```
138140

139141
### Run Offline Benchmarks

0 commit comments

Comments
 (0)