Skip to content

Commit

Permalink
Fix failing CI (pytorch#2757)
Browse files Browse the repository at this point in the history
* make pip install verbose in CI

* fix neptune error

* fix gym version

* ping gym version

* ping neptune version to the last version that has the
  • Loading branch information
louis-she committed Oct 29, 2022
1 parent 1800fee commit ed8622c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gpu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements-dev.txt -qq
pip install -r requirements-dev.txt
python setup.py install
- name: Run 1 Node 2 GPUs Unit Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

- name: Install dependencies
run: |
pip install -r requirements-dev.txt -qq
pip install -r requirements-dev.txt
python setup.py install
- name: Check code formatting
Expand Down
5 changes: 4 additions & 1 deletion ignite/contrib/handlers/neptune_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:

if kwargs.get("offline_mode", False):
self.mode = "offline"
neptune.init(project_qualified_name="dry-run/project", backend=neptune.OfflineBackend())
neptune.init(
project_qualified_name="dry-run/project",
backend=neptune.OfflineBackend(),
)
else:
self.mode = "online"
neptune.init(api_token=kwargs.get("api_token"), project_qualified_name=kwargs.get("project_name"))
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ polyaxon
polyaxon-client
wandb
mlflow
neptune-client
neptune-client==0.16.9
tensorboard
torchvision
pynvml
Expand Down

0 comments on commit ed8622c

Please sign in to comment.