Skip to content

Commit ccf2c6b

Browse files
author
fabioferreira
committed
Refresh Travis for PyTorch
1 parent 71a8bbc commit ccf2c6b

2 files changed

Lines changed: 8 additions & 14 deletions

File tree

.travis.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,22 @@
11
language: python
22

33
python:
4-
- "3.6"
4+
- "3.11"
55

6-
env:
7-
- TENSORFLOW_VERSION=1.5
8-
- TENSORFLOW_VERSION=1.6
9-
- TENSORFLOW_VERSION=1.7
10-
11-
before_install:
12-
13-
# command to install dependencies
6+
# install the package + dependencies
147
install:
15-
- pip install -q .
16-
- pip install numpy --upgrade # prevents TF1.5 and Python 3.6 from failing due to numpy error
17-
- pip install -q tensorflow==$TENSORFLOW_VERSION
18-
8+
- pip install --upgrade pip wheel
9+
- pip install -q -r requirements.txt
10+
- pip install --break-system-packages -e .
1911

2012
# command to run tests
2113
script:
2214
- python tests/unittests_estimators.py
2315
- python tests/unittests_evaluations.py
2416
- python tests/unittests_simulations.py
2517
- python tests/unittests_utils.py
18+
#- python tests/test_nf_torch.py
19+
#- python tests/test_kmn_torch.py
2620

2721
notifications:
2822
email:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Conditional Density Estimation (CDE)
44

5-
**Update:** Conditional Density Estimation now runs with PyTorch on the `main` branch (formerly `pytorch-migration`); the legacy TensorFlow implementation lives in the `tensorflow` branch. All core estimators, runners, and examples are tested with the latest PyTorch release.
5+
**Update:** Conditional Density Estimation now runs with PyTorch. The legacy TensorFlow implementation lives in the `tensorflow` branch. All core estimators, runners, and examples are tested with the latest PyTorch release.
66

77
## Description
88
Implementations of various methods for conditional density estimation

0 commit comments

Comments
 (0)