-
Notifications
You must be signed in to change notification settings - Fork 191
Migrate to pydantic >= 2.0 #613
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
Merged
Merged
Changes from 37 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
24aabf8
first pass at migration to pydantic > 2.0
Vectorrent 62bd489
fix linting and tests
Vectorrent 8801689
migrate deprecated torch.cuda.amp imports to torch.amp
Vectorrent 78cfaed
add if/else check to handle differences between torch versions
Vectorrent 51542ed
fix linting
Vectorrent b254425
update wandb package, fixing docker build
Vectorrent 945176a
fix validators, and pass tests locally in Docker
Vectorrent 6ca96f4
fix deprecated pkg_resources import
Vectorrent 5cfe829
fix 2 tests
Vectorrent 917eda7
fix pkg_resources again
Vectorrent c968b58
pain
Vectorrent c1dc7e2
partial fix of p2pd
Vectorrent 42aa111
revert to old failing method for now
Vectorrent 6f43d74
oops
Vectorrent 46efb9b
fix pydantic deprecations, p2pd path handling
Vectorrent 3045008
update black version
Vectorrent d4a4d26
revert black
Vectorrent 055d1ce
make path handling work across all Python versions
Vectorrent df9f4e9
revert path handling
Vectorrent a55e527
Merge branch 'master' into upgrade-pydantic
justheuristic 3d3e444
Merge branch 'master' into upgrade-pydantic
justheuristic bc5a52f
Merge commit '3d3e444618ca1b757061c607fe7a399f750ca0e3' into upgrade-…
Vectorrent 32a1c68
revert to v1 api
Vectorrent cdb3de8
test 3.12 as well
Vectorrent 3e22780
this error message has changed slightly
Vectorrent eba80fa
update test with unexpected error message
Vectorrent a8ae34b
rerun tests
Vectorrent 84e225d
fix another edge case
Vectorrent 5a8c31f
address comments
Vectorrent 47d932c
revert changes
Vectorrent da4d798
restore broken amp
Vectorrent 3cd9d38
revert to 2.0.0
Vectorrent d3593eb
un-fix other things
Vectorrent 19004cc
nit
Vectorrent b2d95c8
nit
Vectorrent ad080ed
Restore Max's optimizer commit
Vectorrent 6df0176
Merge branch 'master' into upgrade-pydantic
mryab 13bfad3
restore a line break
Vectorrent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.