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

Library Reorganization for v0.2.1 (v0.3.0) release #242

Closed
wants to merge 2 commits into from

Conversation

iancze
Copy link
Collaborator

@iancze iancze commented Dec 25, 2023

Massive WIP branch to collect several library improvement efforts. These will most likely involve a large and coordinated change to the structure of the codebase, so I'm grouping them together so that they land as a single PR rather than incremental and uncoordinated changes to main.

These changes are grouped thematically by their aim to improve the quality of MPoL as a PyTorch library

  • improvements to stability of core routines
  • aligning core usage patterns with established PyTorch idioms (e.g., prioritizing torch.tensor ahead of numpy.array , thinking about memory locations of arrays during optimization loops) should yield speed and stability improvements
  • documentation changes to be up front about how MPoL (at least the core package) is designed to function as an interferometric imaging library for PyTorch, which might lead to further discussions about what is in/out of scope for the core 'plumbing' package, and what might make more sense in visread (pure numpy visibility manipulations and plotting) or another MPoL-dev package (as 'plumbing', to use Git's terminology).

Updates

  • the proposed changes under consideration are now tracked by the "Architecture + Design" GitHub project board on MPoL-dev (available internally).
  • Milestone was closed as redundent.

In rough order of planned approach:

Coverage, bug-fix, and 'foundational' changes

Changes to introduce Stochastic Gradient Descent workflow

Further documentation changes

  • Reorganize SimpleNet and the entire GriddedDataset workflow as an alternative option to SGD, with documentation about the use cases when one or the other might be preferred.
  • Consolidate or remove redundant tutorials.
  • Think about what content makes sense as rendered docs (code demonstrating key library functionality, building blocks, preferably concise) or as a longer .py file in examples/ (actual workflows following official pytorch/examples. E.g.,
  • Make sure all routines render in the API docs
  • Detailed migration/updated instructions from v0.2.0 => v0.2.1 in changelog, e.g. in the style of Julia Release Notes.

Though, if we manage to accomplish everything I've listed here a v0.3.0 makes more sense than a v0.2.1.

@iancze iancze self-assigned this Dec 25, 2023
@iancze iancze changed the title Library Reorganization for v0.2.1 release Library Reorganization for v0.2.1 (v0.3.0) release Dec 25, 2023
@iancze
Copy link
Collaborator Author

iancze commented Dec 25, 2023

Superseded by #243 after branch name v0.2.1 => v0.3.0

@iancze iancze closed this Dec 25, 2023
@iancze iancze deleted the WIP-v0.2.1-lib-reorg branch December 25, 2023 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inconsistent documentation for classes with .from_image_properties class method
1 participant