Update maxtext-setup/setup.sh
Browse files- maxtext-setup/setup.sh +8 -8
maxtext-setup/setup.sh
CHANGED
|
@@ -17,16 +17,16 @@ cd ~
|
|
| 17 |
# axel -a -n 128 https://files.mistral-7b-v0-1.mistral.ai/mistral-7B-v0.1.tar
|
| 18 |
# tar -xf mistral-7B-v0.1.tar
|
| 19 |
# rm -rf mistral-7B-v0.1.tar
|
| 20 |
-
python3 /home/${user}/maxtext/MaxText/llama_or_mistral_ckpt.py --base-model-path /home/${user}/mistral-7B-v0.1 --model-size mistral-7b --maxtext-model-path /home/${user}/maxtext-models/mistral-7b
|
| 21 |
|
| 22 |
# convert checkpoint to param only
|
| 23 |
-
python3 /home/${user}/maxtext/MaxText/generate_param_only_checkpoint.py \
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
|
| 31 |
# done! now you can use byobu to run the server
|
| 32 |
# to run the server, run mistral_inference_test.sh after copying mistral-server-config.yaml to /hom$e/{user}
|
|
|
|
| 17 |
# axel -a -n 128 https://files.mistral-7b-v0-1.mistral.ai/mistral-7B-v0.1.tar
|
| 18 |
# tar -xf mistral-7B-v0.1.tar
|
| 19 |
# rm -rf mistral-7B-v0.1.tar
|
| 20 |
+
# python3 /home/${user}/maxtext/MaxText/llama_or_mistral_ckpt.py --base-model-path /home/${user}/mistral-7B-v0.1 --model-size mistral-7b --maxtext-model-path /home/${user}/maxtext-models/mistral-7b
|
| 21 |
|
| 22 |
# convert checkpoint to param only
|
| 23 |
+
# python3 /home/${user}/maxtext/MaxText/generate_param_only_checkpoint.py \
|
| 24 |
+
# /home/${user}/maxtext/MaxText/configs/base.yml \
|
| 25 |
+
# base_output_directory=/home/${user}/maxtext-testing-output \
|
| 26 |
+
# load_parameters_path=/home/${user}/maxtext-models/mistral-7b/0/items \
|
| 27 |
+
# run_name=/home/${user}/maxtext-models/mistral-param-only \
|
| 28 |
+
# model_name='mistral-7b' \
|
| 29 |
+
# force_unroll=true
|
| 30 |
|
| 31 |
# done! now you can use byobu to run the server
|
| 32 |
# to run the server, run mistral_inference_test.sh after copying mistral-server-config.yaml to /hom$e/{user}
|