Skip to content

Commit

Permalink
Merge pull request #511 from adrianeboyd/bugfix/torch-import-tensor
Browse files Browse the repository at this point in the history
Update for torch 1.9.0
  • Loading branch information
adrianeboyd authored Jun 16, 2021
2 parents 8881755 + 81b10a8 commit 501552c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
pip install -r requirements.txt
pip install tensorflow
pip install "mxnet; sys_platform != 'win32'"
pip install "torch==1.8.1+cpu" -f https://download.pytorch.org/whl/torch_stable.html
pip install "torch==1.9.0+cpu" -f https://download.pytorch.org/whl/torch_stable.html
pip install ipykernel pydot graphviz
python -m ipykernel install --name thinc-notebook-tests --user
python -m pytest --pyargs thinc --cov=thinc --cov-report=term
Expand Down
2 changes: 1 addition & 1 deletion thinc/about.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "8.0.4"
__version__ = "8.0.5"
__release__ = True
2 changes: 1 addition & 1 deletion thinc/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

try: # pragma: no cover
import torch
import torch.tensor
from torch import tensor
import torch.utils.dlpack

has_torch = True
Expand Down

0 comments on commit 501552c

Please sign in to comment.