Commit 9cb7785
Refactor: Execute Maxtext inference as a module via
Updated the recommended execution command for the inference script
from `python3 MaxText/decode.py` to `python3 -m MaxText.decode`.
This change utilizes Python's standard module execution mechanism (`-m`),
ensuring the script runs within the proper package context (`MaxText`).
This improves consistency and robustness of import resolution.
No changes were made to the source code itself.
PiperOrigin-RevId: 749207719python3 -m
1 parent 51ab94c commit 9cb7785
File tree
3 files changed
+3
-3
lines changed- benchmarks/mlperf/scripts
- jetstream/tools/maxtext
3 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments