Simplify package dependencies by removing unnecessary imports
- Dominant language
- Python
- Stars
- 595
- Forks
- 133
- PR merge metrics
- No merged PRs in 30d
Description
I currently use NASLib as a backend for defining my own search space for a benchmark. I noticed while sharing my code that the following imports introduce a number of dependencies that are not strictly necessary in use cases where only a subset of all the search spaces defined by NASLib are to be used. Auto-importing these search spaces enforces the constraint that the dependencies of each and every search space must be satisfied in order to use any single one of the search spaces. Is this truly necessary? For reference, I am currently using only the NASBench-201 search space.
https://github.com/automl/NASLib/blob/afa98c3ffa623aabe8d38bfe243e51b93a845de4/naslib/search_spaces/__init__.py#L1-L10
Contributor guide
Assessment
This issue has not been assessed yet.