Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ or install it directly with
pip install git+https://github.com/ChEB-AI/python-chebai-graph.git
```

The dependencies `torch`, `torch_geometric` and `torch-sparse` cannot be installed automatically.
The dependencies `torch`, `torch_geometric` and `torch_scatter` cannot be installed automatically.

Use the following command:

Expand All @@ -27,8 +27,8 @@ pip install torch torch_scatter torch_geometric -f https://data.pyg.org/whl/torc
```

Replace:
- `${TORCH}` with a PyTorch version (e.g., `2.6.0`; for later versions, check first if they are compatible with torch_scatter and torch_geometric)
- `${CUDA}` with e.g. `cpu`, `cu118`, or `cu121` depending on your system and CUDA version
- `${TORCH}` with a PyTorch version (e.g., `2.8.0`; for later versions, check first if they are compatible with torch_scatter and [torch_geometric](https://pytorch-geometric.readthedocs.io/en/latest/install/installation.html))
- `${CUDA}` with `cpu`, `cu118`, `cu121` (or other, depending on your system and CUDA version)

If you already have `torch` installed, make sure that `torch_scatter` and `torch_geometric` are compatible with your
PyTorch version and are installed with the same CUDA version.
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ authors = [
]
dependencies = [
"chebai",
"descriptastorus"
# below packages need to manually installed as mentioned in readme
# torch-geometric
# torch_scatter
]

[project.optional-dependencies]
dev = [
"tox",
"pre-commit",
"black"
"descriptastorus",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

descriptastorus is needed for creating datasets, right? I would put that under dependencies (as it is not just used for development)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The main dependencies should have only packages required to inference of the model. Hence, "descriptastorus" is placed under optional dependency as its not needed for inference but used during dataset creation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then we should follow the approach from #114 and differentiate between training and linters

]

inference = [
"chebai" # pip install chebai[inference]
# below packages need to manually installed as mentioned in readme
# torch-geometric
# torch_scatter
linters = [
"isort",
"pre-commit",
"black",
]

[build-system]
Expand Down