Skip to content

Commit

Permalink
Merge pull request #141 from OMalenfantThuot/pyup-update-torchvision-…
Browse files Browse the repository at this point in the history
…0.7.0-to-0.8.0

Update torchvision to 0.8.0
  • Loading branch information
OMalenfantThuot committed Oct 27, 2020
2 parents bcee482 + f8a032a commit 5ad3470
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
7 changes: 0 additions & 7 deletions mlcalcdriver/calculators/schnetpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ def __init__(
self.model = load_model(
os.environ["MODELDIR"] + model_dir, map_location=self.device
)

# Bugfix to make older models work with PyTorch 1.6
# Hopefully temporary
for mod in self.model.modules():
if not hasattr(mod, "_non_persistent_buffers_set"):
mod._non_persistent_buffers_set = set()

super(SchnetPackCalculator, self).__init__(units=units)
self._get_representation_type()

Expand Down
8 changes: 4 additions & 4 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
pip==20.2.3
pip==20.2.4
wheel==0.35.1
black==20.8b1
numpy==1.19.2
torch==1.6.0
torchvision==0.7.0
torch==1.7.0
torchvision==0.8.0
twine==3.2.0
pytest==6.0.2
pytest==6.1.1
pytest-cov==2.10.1
pytest-sugar==0.9.4
coveralls==2.1.2
Expand Down

0 comments on commit 5ad3470

Please sign in to comment.