projects
/
platform
/
upstream
/
pytorch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba96db
)
import warnings in torch.hub & fix master CI travis (#19181)
author
Ailing Zhang
<ailzhang@fb.com>
Sat, 13 Apr 2019 04:26:27 +0000
(21:26 -0700)
committer
Facebook Github Bot
<facebook-github-bot@users.noreply.github.com>
Sat, 13 Apr 2019 04:35:31 +0000
(21:35 -0700)
Summary:
fix missing import in #18758
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19181
Differential Revision:
D14908198
Pulled By: ailzhang
fbshipit-source-id:
31e0dc4a27521103a1b93f72511ae1b64a36117f
torch/hub.py
patch
|
blob
|
history
diff --git
a/torch/hub.py
b/torch/hub.py
index
3ff95de
..
b744d7c
100644
(file)
--- a/
torch/hub.py
+++ b/
torch/hub.py
@@
-7,6
+7,7
@@
import shutil
import sys
import tempfile
import torch
+import warnings
import zipfile
if sys.version_info[0] == 2: