Skip to content

Commit 53d1d22

Browse files
change to pip install maxtext package
1 parent 64f30f3 commit 53d1d22

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/UnitTests.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,17 @@ jobs:
4141
run: |
4242
# This command is adapted from your DAG for a single-slice configuration.
4343
cd maxtext && \
44-
pip install -e . --no-dependencies \
45-
XLA_PYTHON_CLIENT_MEM_FRACTION=0.65 TF_FORCE_GPU_ALLOW_GROWTH=true \
44+
pip install .
45+
46+
export XLA_PYTHON_CLIENT_MEM_FRACTION=0.65
47+
export TF_FORCE_GPU_ALLOW_GROWTH=true
48+
4649
python3 -m MaxText.train MaxText/configs/base.yml \
47-
steps=2 \
48-
enable_checkpointing=false \
49-
attention=dot_product \
50-
run_name=rbierneni-test-maxtext-gpu \
51-
base_output_directory=gs://rbierneni-multipod-dev/maxtext/${{ github.run_id }}
50+
steps=2 \
51+
enable_checkpointing=false \
52+
attention=dot_product \
53+
run_name=rbierneni-test-maxtext-gpu \
54+
base_output_directory=gs://rbierneni-multipod-dev/maxtext/${{ github.run_id }}
5255
5356
# # STAGE 1: PULL MAXDIFFUSION IMAGE AND RUN WORKLOAD
5457
# maxdiffusion_workload:

0 commit comments

Comments
 (0)