Move wandb, hydra-core, and pooch to optional [benchmark] extras - #10
Open
samuelstanton wants to merge 1 commit into
Open
Move wandb, hydra-core, and pooch to optional [benchmark] extras#10samuelstanton wants to merge 1 commit into
samuelstanton wants to merge 1 commit into
Conversation
The core package now installs with only botorch/numpy/pandas/torch. Experiment-tracking (wandb, hydra-core) and dataset-download (pooch) dependencies move to a new `benchmark` extras group. - Add requirements-benchmark.in and wire it into pyproject.toml - Lazily import wandb/omegaconf inside wandb_setup() with an actionable ImportError pointing users to `pip install pytorch-holo[benchmark]` - Add AbstractLookup._retrieve() to centralise pooch download logic and lazily import pooch with the same actionable error - Add AbstractLookup._build_lookup() to dedupe the dict/sort boilerplate that was repeated across DHFR, TFBIND8, and TrpB lookups - Refactor the three lookup subclasses to use the new helpers, dropping the module-level pooch import so they can be imported without it - Extract TFBIND8's FLEXS fallback into _load_flexs_fallback() and ensure a missing-pooch ImportError is re-raised rather than swallowed by the broad fallback handler - Update README install instructions Closes #9
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The core package now installs with only botorch/numpy/pandas/torch. Experiment-tracking (wandb, hydra-core) and dataset-download (pooch) dependencies move to a new
benchmarkextras group.pip install pytorch-holo[benchmark]Closes #9