diff --git a/.github/workflows/test_workflow.yml b/.github/workflows/test_workflow.yml index ab9c07f..b0ed6f1 100644 --- a/.github/workflows/test_workflow.yml +++ b/.github/workflows/test_workflow.yml @@ -26,7 +26,7 @@ jobs: - name: Install dependencies run: | - pdm install && pdm install -G test + pdm install -G test - name: Run test suite run: | diff --git a/README.md b/README.md index c8785e1..bcff9c3 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py Please run: ```bash -pdm install +pdm install -G core ``` **Note**: If you want to run the tests or the experiments, please install the additional dependencies, i.e., `test` and `exps`, respectively, using the following command: diff --git a/pdm.lock b/pdm.lock index 38b19ef..7eb8c48 100644 --- a/pdm.lock +++ b/pdm.lock @@ -2,10 +2,10 @@ # It is not intended for manual editing. [metadata] -groups = ["default", "test", "exps"] +groups = ["default", "core", "exps", "test"] strategy = ["cross_platform"] lock_version = "4.4" -content_hash = "sha256:440b9bbf3b91ee28aee37a71d818d459661984e75d2fa89ef19d3f15328ec7d7" +content_hash = "sha256:4601d1a24088d1a408ecd180151540159416215b4b9aa7ab28f70d63fd48cfa4" [[package]] name = "aiohttp" diff --git a/pyproject.toml b/pyproject.toml index c511bd2..3c646e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,7 @@ dependencies = [ "scikit-learn>=1.2.2", "scipy>=1.9.3", "setuptools>=67.7.2", + "torch>=2.0.0", ] requires-python = ">=3.9" readme = "README.md" @@ -27,7 +28,9 @@ url = "https://download.pytorch.org/whl/cpu/torch_stable.html" name = "torch" [tool.pdm.dev-dependencies] +core = [] test = [ + "docopt>=0.6.2", "mypy>=1.2.0", "plotly>=5.14.1", "pylint>=2.17.2", @@ -39,7 +42,6 @@ exps = [ "pillow>=9.5.0", "plotly>=5.14.1", "setuptools-rust>=1.6.0", - "torch>=2.0.0", "torchvision>=0.15.2", "transformers>=4.28.1", "umap-learn>=0.5.3",