Commit d0f2f07
Moving bionemo-core loads to bionemo-scdl, so that it's fully standalone. (#1133)
The load functions in bionemo-core are moved into bionemo-scdl. This
creates some code duplication, but allows SCDL to be a fully standalone
package. Additionally, this assumes that the downloads are always a
resource, not a model.
An awkward part of this setup is that some scdl resources are listed in
both bionemo-core (when used in geneformer) and in bionemo-scdl.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added SCDL data-loading utilities with caching and support for NGC and
S3 (PBSS); public API to discover and load named resources.
- **Data**
- Added several SCDL test datasets to package resources and removed
duplicate entries from core resources.
- **Tests**
- Added tests for local resource discovery and loader behavior;
simplified fixtures and removed startup delays.
- **Dependencies**
- Updated runtime deps (pooch, tqdm) and test extras (removed one
package, added psutil).
- **Chores**
- Cleaned test setup and moved test data handling into the SCDL package.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Signed-off-by: polinabinder1 <pbinder@nvidia.com>
Signed-off-by: Polina Binder <pbinder@nvidia.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>1 parent 4bf3878 commit d0f2f07
8 files changed
Lines changed: 564 additions & 39 deletions
File tree
- sub-packages
- bionemo-core/src/bionemo/core/data/resources
- bionemo-scdl
- src/bionemo/scdl/data
- resources
- tests/bionemo/scdl
- data
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | | - | |
27 | | - | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments