-
Notifications
You must be signed in to change notification settings - Fork 417
Switch to installable Python module hierarchy ; replace imports and executable calls to match ; disable failing tests with new test-global flags
#1482
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets change the description of this PR to be descriptive and include the checklist please -- one of the automatic tests also requires it.
|
Down to just 1 file missing license Copybara failed running your registered migration: 1 file(s) failed the validation of verify_match 'Licensed under the Apache |
… executable calls to match ; disable failing tests with new test-global flags
a0d432e to
70a609f
Compare
|
I believe there are conflicts with main based on our internal integration flow, can you try rebasing to main? I've added rebase + squash instructions in an earlier comment (you might know of a better way though) There might be non-trivial merge conflicts you have to resolve - our internal tool flagged three files
|
|
okay we are making progress, it looks like we need a small internal integration change Can you explain how setup.py is used https://github.com/AI-Hypercomputer/maxtext/pull/1482/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7? |
|
We are working on internal copybara changes to support this |
More details: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/ I squashed the commits on this branch a minute before your comment! - Let me know if there's anything left for me to do. |
|
Removing and Adding back Pull Ready to pick up new copybara changes |
# Conflicts: # MaxText/llama_or_mistral_ckpt.py # end_to_end/tpu/deepseek/v2-16b/test_deepseek.sh # end_to_end/tpu/deepseek/v3-671b/test_deepseek.sh
|
|
||
| @pytest.mark.integration_test | ||
| @pytest.mark.tpu_only | ||
| @pytest.mark.skipif(TEST_DISABLE_SUBPROCESS, reason=TEST_DISABLE_SUBPROCESS_STR) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, these tests also pass with changes in main.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong. This test does not pass. Sent through commit a66854f reverting enacting your position.
…ectness_test}.py] Enable previously skipped tests
You're welcome =) Yes I disable the subprocess tests as discussed on Thursday's call. Tests disabled, toggleable by setting env var or changing vals in
|
…p test @SurbhiJainUSC told me to not skip after claim of it passing
# Conflicts: # MaxText/convert_deepseek_ckpt.py
40dc490
into
AI-Hypercomputer:main
- `tensorflow-cpu == 2.19.0` is, probably mistakenly, incompatible with `tensorflow-text==2.19.0`; pin `tensorflow-cpu==2.18.1` for now - AI-Hypercomputer/maxtext#1482 broke the old way of launching MaxText training tests
Description
FIXES (in part): #1107
For commentary see #1108
Created with:
Recommend merging this PR first; before the rest.
Tests
python -m pytestandpytestshould both now work when run from repository root.Checklist
Before submitting this PR, please make sure (put X in square brackets):