From 9e0b4232a4f6a868e7bd21a2cadc2f286e1fe1c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 09:26:36 +0000 Subject: [PATCH 1/3] Bump readthedocs-sphinx-search from 0.1.1 to 0.3.2 in /docs Bumps [readthedocs-sphinx-search](https://github.com/readthedocs/readthedocs-sphinx-search) from 0.1.1 to 0.3.2. - [Changelog](https://github.com/readthedocs/readthedocs-sphinx-search/blob/main/CHANGELOG.rst) - [Commits](https://github.com/readthedocs/readthedocs-sphinx-search/compare/0.1.1...0.3.2) --- updated-dependencies: - dependency-name: readthedocs-sphinx-search dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index aac391aaf..00ec6b295 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,5 @@ sphinx==5.3.0 sphinx_rtd_theme==1.1.1 -readthedocs-sphinx-search==0.1.1 +readthedocs-sphinx-search==0.3.2 myst-parser toml From 1f69ace11a98fddb146767baeb07e7333a856a53 Mon Sep 17 00:00:00 2001 From: Giulia Crocioni <55382553+gcroci2@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:37:24 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fc2bcd2bf..c4317c29c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ | :------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **fairness** | [![fair-software.eu](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F-green)](https://fair-software.eu) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/6403/badge)](https://bestpractices.coreinfrastructure.org/projects/6403) | | **package** | [![PyPI version](https://badge.fury.io/py/deeprank2.svg)](https://badge.fury.io/py/deeprank2) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/b1bde03fc0334e07b0cd8a69ce2adeb3)](https://app.codacy.com/gh/DeepRank/deeprank2/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) | -| **docs** | [![Documentation Status](https://readthedocs.org/projects/deeprank2/badge/?version=latest)](https://deeprank2.readthedocs.io/en/latest/?badge=latest) [![DOI](https://zenodo.org/badge/450496579.svg)](https://zenodo.org/badge/latestdoi/450496579) | +| **docs** | [![Documentation Status](https://readthedocs.org/projects/deeprank2/badge/?version=latest)](https://deeprank2.readthedocs.io/en/latest/?badge=latest) [![RSD](https://img.shields.io/badge/RSD-deeprank2-pink)](https://research-software-directory.org/software/deeprankcore) [![DOI](https://zenodo.org/badge/450496579.svg)](https://zenodo.org/badge/latestdoi/450496579) | | **tests** | [![Build Status](https://github.com/DeepRank/deeprank2/actions/workflows/build-repo.yml/badge.svg)](https://github.com/DeepRank/deeprank2/actions) ![Linting status](https://github.com/DeepRank/deeprank2/actions/workflows/linting.yml/badge.svg?branch=main) [![Coverage Status](https://coveralls.io/repos/github/DeepRank/deeprank2/badge.svg?branch=main)](https://coveralls.io/github/DeepRank/deeprank2?branch=main) ![Python](https://img.shields.io/badge/python-3.10-blue.svg) | | **running on** | ![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge&logo=ubuntu&logoColor=white) | | **license** | [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/license/apache-2-0/) | From 822927025241f20230b0a18444246b755746de0e Mon Sep 17 00:00:00 2001 From: Giulia Crocioni Date: Wed, 21 Feb 2024 11:39:46 +0100 Subject: [PATCH 3/3] fix test_cuda in test_trainer.py::TestTrainer --- tests/test_trainer.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/tests/test_trainer.py b/tests/test_trainer.py index 591cb7cf3..695b78447 100644 --- a/tests/test_trainer.py +++ b/tests/test_trainer.py @@ -86,6 +86,7 @@ def _model_base_test( dataset_train, dataset_val, dataset_test, + cuda=use_cuda, output_exporters=output_exporters, ) @@ -94,20 +95,6 @@ def _model_base_test( for parameter in trainer.model.parameters(): assert parameter.is_cuda, f"{parameter} is not cuda" - data = dataset_train.get(0) - - for name, data_tensor in ( - ("x", data.x), - ("y", data.y), - (Efeat.INDEX, data.edge_index), - ("edge_attr", data.edge_attr), - (Nfeat.POSITION, data.pos), - ("cluster0", data.cluster0), - ("cluster1", data.cluster1), - ): - if data_tensor is not None: - assert data_tensor.is_cuda, f"data.{name} is not cuda" - with warnings.catch_warnings(record=UserWarning): trainer.train( nepoch=3,