Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use numpy < 2.0.0 to calculate metrics #915

Merged
merged 10 commits into from
Jun 24, 2024
2 changes: 1 addition & 1 deletion .github/workflows/_test_maxtext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ jobs:
- name: Run pytest
shell: bash -eux {0}
run: |
pip install pytest pytest-reportlog tensorboard
pip install 'numpy<2.0.0' pytest pytest-reportlog tensorboard
for i in ${{ inputs.FW_NAME }}-${GITHUB_RUN_ID}-*; do
JOB_NAME=$(echo $i | awk -F "${GITHUB_RUN_ID}-" '{print $2}')
METRIC_PATH=${JOB_NAME}_metrics.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test_pax_rosetta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ jobs:
- name: Run pytest
shell: bash -eux {0}
run: |
pip install pytest pytest-reportlog tensorboard
pip install 'numpy<2.0.0' pytest pytest-reportlog tensorboard
for i in ${{ inputs.FW_NAME }}-${GITHUB_RUN_ID}-*; do
JOB_NAME=$(echo $i | awk -F "${GITHUB_RUN_ID}-" '{print $2}')
METRIC_PATH=${JOB_NAME}_metrics.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test_t5x_rosetta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ jobs:
- name: Run pytest
shell: bash -eux {0}
run: |
pip install pytest pytest-reportlog tensorboard
pip install 'numpy<2.0.0' pytest pytest-reportlog tensorboard
for i in ${{ inputs.FW_NAME }}-${GITHUB_RUN_ID}-* ${{ inputs.FW_NAME }}-vit-${GITHUB_RUN_ID}-*; do
JOB_NAME=$(echo $i | awk -F "${GITHUB_RUN_ID}-" '{print $2}')
METRIC_PATH=${JOB_NAME}_metrics.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test_upstream_pax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ jobs:
- name: Run pytest
shell: bash -eux {0}
run: |
pip install pytest pytest-reportlog tensorboard
pip install 'numpy<2.0.0' pytest pytest-reportlog tensorboard
for i in ${{ inputs.FW_NAME }}-${GITHUB_RUN_ID}-*; do
JOB_NAME=$(echo $i | awk -F "${GITHUB_RUN_ID}-" '{print $2}')
METRIC_PATH=${JOB_NAME}_metrics.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test_upstream_t5x.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ jobs:
- name: Run pytest
shell: bash -eux {0}
run: |
pip install pytest pytest-reportlog tensorboard
pip install 'numpy<2.0.0' pytest pytest-reportlog tensorboard
for i in ${{ inputs.FW_NAME }}-${GITHUB_RUN_ID}-*; do
JOB_NAME=$(echo $i | awk -F "${GITHUB_RUN_ID}-" '{print $2}')
METRIC_PATH=${JOB_NAME}_metrics.json
Expand Down
Loading