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

Fix bionemo-size-aware-batching, standardize pyproject.toml's & dependencies #284

Merged
merged 2 commits into from
Oct 9, 2024

Conversation

malcolmgreaves
Copy link
Collaborator

@malcolmgreaves malcolmgreaves commented Oct 8, 2024

Fix bionemo-size-aware-batching's dependencies: was missing required bionemo-core dependency for torch!
Also includes minor tweaks and touch-ups to its README.md.

Fix dependencies of bionemo-fw that are already specified by bionemo-core (PyTorch Lightning).

Standardizes the format & structure of all pyproject.toml files under sub-packages/.

Makes sure that every bionemo sub-package depends on bionemo-core (minus bionemo-core itself).
Make sure that bionemo-fw depends on every other bionemo sub-package (minus intentional exceptions).

Additionally, ensures that the top level pyproject.toml ("bionemo-meta") correctly lists all bionemo
sub-packages in the workspace. Specifically, fixes tool.uv.sources, project.dependencies, and
tool.pyright.

@malcolmgreaves malcolmgreaves self-assigned this Oct 8, 2024
@malcolmgreaves malcolmgreaves added the bug_fix_for_v24.10 all features going into v24.10 release both for bionemo1 and main label Oct 8, 2024
@malcolmgreaves malcolmgreaves force-pushed the mg/fix_size_aware_batching_deps branch from 6ed8706 to 94558a2 Compare October 8, 2024 22:09
@malcolmgreaves
Copy link
Collaborator Author

/build-ci

@malcolmgreaves malcolmgreaves enabled auto-merge (squash) October 8, 2024 22:09
@malcolmgreaves
Copy link
Collaborator Author

This one should make it into main for the release -- cc @trvachov , @jstjohn

@malcolmgreaves malcolmgreaves force-pushed the mg/fix_size_aware_batching_deps branch 2 times, most recently from ceb5286 to 8bed3d1 Compare October 8, 2024 22:25
@malcolmgreaves malcolmgreaves force-pushed the mg/fix_size_aware_batching_deps branch from 8bed3d1 to 0b1ba67 Compare October 8, 2024 22:28
@malcolmgreaves
Copy link
Collaborator Author

malcolmgreaves commented Oct 8, 2024

Hey @DejunL, PR feedback that is at the level of nits shouldn't be review blocking. Do you have any review-blocking feedback for this PR? Or was the rejection here accidental?

Screenshot 2024-10-08 at 6 30 58 PM

@malcolmgreaves malcolmgreaves force-pushed the mg/fix_size_aware_batching_deps branch from 0b1ba67 to 2608fc7 Compare October 8, 2024 22:33
@DejunL
Copy link
Collaborator

DejunL commented Oct 8, 2024

@malcolmgreaves I just don't like maintaining the import in the API doc. It's not executable code to import anything for

@malcolmgreaves malcolmgreaves force-pushed the mg/fix_size_aware_batching_deps branch from 2608fc7 to 75064d2 Compare October 8, 2024 22:49
@DejunL
Copy link
Collaborator

DejunL commented Oct 9, 2024

@malcolmgreaves approved as my comments are not blocking but I'd like to remove those "..." from the README's API doc (see the inline comments above)

@malcolmgreaves
Copy link
Collaborator Author

Ok I can revert those code changes, np. Thank you @DejunL !

@malcolmgreaves malcolmgreaves force-pushed the mg/fix_size_aware_batching_deps branch from 75064d2 to 2801a8d Compare October 9, 2024 02:23
…dencies

Fix `bionemo-size-aware-batching`'s dependencies: was missing required `bionemo-core` dependency for `torch`!
Also includes minor tweaks and touch-ups to its README.md.

Fix dependencies of `bionemo-fw` that are already specified by `bionemo-core` (PyTorch Lightning).

Standardizes the format & structure of all pyproject.toml files under sub-packages/.

Makes sure that every bionemo sub-package depends on bionemo-core (minus bionemo-core itself).
Make sure that `bionemo-fw` depends on every other bionemo sub-package (minus intentional exceptions).

Eensures that the top level pyproject.toml (`"bionemo-meta"`) correctly lists all bionemo sub-packages
in the workspace. Specifically, fixes `tool.uv.sources`, `project.dependencies`, and `tool.pyright`.

Finally, fixes a few errors from linting with `ruff` that somehow were not caught during previous PRs.
@malcolmgreaves malcolmgreaves force-pushed the mg/fix_size_aware_batching_deps branch from 2801a8d to 21788ae Compare October 9, 2024 02:25
@malcolmgreaves
Copy link
Collaborator Author

/build-ci

@malcolmgreaves
Copy link
Collaborator Author

/build-ci

@malcolmgreaves malcolmgreaves merged commit 3e8c1a3 into main Oct 9, 2024
4 checks passed
@malcolmgreaves malcolmgreaves deleted the mg/fix_size_aware_batching_deps branch October 9, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug_fix_for_v24.10 all features going into v24.10 release both for bionemo1 and main
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants