Skip to content

Commit

Permalink
adding windows specific dep file
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewq11 committed Nov 7, 2024
1 parent 06e708a commit 1880c8c
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 4 deletions.
4 changes: 1 addition & 3 deletions env.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
channels:
- conda-forge
- pytorch
- pyg # Add for Windows

dependencies:
- python >3.9,<3.12
Expand Down Expand Up @@ -35,7 +33,7 @@ dependencies:
- lightning >=2.0
- torchmetrics
- ogb
- pyg >=2.0 # Use `pyg` for Windows instead of `pytorch_geometric`
- pytorch_geometric >=2.0
- wandb >=0.18.5
- mup
- pytorch_sparse >=0.6
Expand Down
86 changes: 86 additions & 0 deletions env_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
channels:
- conda-forge
- pytorch
- pyg

dependencies:
- python >3.9,<3.12
- pip
- typer
- loguru
- omegaconf >=2.0.0
- hydra-core >=1.3.2
- tqdm
- platformdirs

# scientific
- numpy <=1.25.0
- scipy >=1.4
- pandas >=1.0
- scikit-learn
- fastparquet

# viz
- matplotlib >=3.0.1
- seaborn

# cloud IO
- fsspec >=2021.6
- s3fs >=2021.6
- gcsfs >=2021.6

# ML packages
- cuda-version # works also with CPU-only system.
- pytorch >=1.12,<2.5
- lightning >=2.0
- torchmetrics
- ogb
- pyg >=2.0
- wandb >=0.18.5
- mup
- pytorch-sparse >=0.6
- pytorch-cluster >=1.5
- pytorch-scatter >=2.0

# chemistry
- rdkit <=2024.03.4
- datamol >=0.10
- boost # needed by rdkit

# Optional deps
- sympy
- tensorboard
- pydantic <2 # because of lightning. See https://github.com/Lightning-AI/lightning/issues/18026 and https://github.com/Lightning-AI/lightning/pull/18022

# Dev
- pytest >=6.0
- pytest-xdist
- pytest-cov
- pytest-forked
- nbconvert
- black >=23
- jupyterlab
- ipywidgets

# Doc
- mkdocs
- mkdocs-material
- mkdocs-material-extensions
- mkdocstrings
- mkdocstrings-python
- mkdocs-jupyter
- markdown-include
- mike >=1.0.0
- doxygen

# graphium_cpp build dependencies
- pybind11
- librdkit-dev

# Optional
- pytdc

- pip:
# Build deps
- setuptools-scm
- build
2 changes: 1 addition & 1 deletion tests/test_datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_ogb_datamodule(self):
# test module
assert ds.num_edge_feats == 5
assert ds.num_node_feats == 50
assert len(ds) == 642
assert len(ds) == 642 or len(ds) == 644 # Accounting for differences in csv file reads across Linux & OSX

# test batch loader
batch = next(iter(ds.train_dataloader()))
Expand Down

0 comments on commit 1880c8c

Please sign in to comment.