You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow additional args to be passed many times (#1102)
This would allow
```
-a "scan_layers=false max_target_length=4096 use_iota_embed=true logits_dot_in_fp32=false"
```
to be
```
-a scan_layers=false
-a max_target_length=4096
-a use_iota_embed=true
-a logits_dot_in_fp32=false
```
It will help avoid issues if quotes are not present during string
interpolation.
Copy file name to clipboardExpand all lines: .github/container/test-maxtext.sh
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ usage() {
13
13
echo"Usage: $0 [OPTIONS]"
14
14
echo""
15
15
echo" OPTIONS DESCRIPTION"
16
-
echo" -a, --additional-args Additional args to pass to MaxText/train.py"
16
+
echo" -a, --additional-args Additional args to pass to MaxText/train.py. Can be passed many times."
17
17
echo" --mem-fraction Specify the percentage of memory to preallocate for XLA. Example: 0.90, 0.85, 0.65". Default to 0.90, contradicting JAX default of 0.75.
18
18
echo" --model-name Specify the model names to run [Preferred]. If you specify model name then you do not need to specify decoder-block. Currently supported ootb models:
0 commit comments