Skip to content

Commit

Permalink
does *not* fail in torch==1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCousineau-TRI committed Jul 18, 2020
1 parent 503d477 commit 86e3cee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions tmp/output_first.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Torch first
repro_issue12073.py(10): import torch
repro_issue12073.py(11): import cc_regex
repro_issue12073.py(16): print(cc_regex.get_name())
free(): invalid pointer
./repro.sh: line 34: <num> Aborted (core dumped) strace -o /tmp/strace.txt "$@"
+ :
<address>
nothing
repro_issue12073.py(17): print("[ Done ]")
[ Done ]
2 changes: 1 addition & 1 deletion tmp/repro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cd $(dirname $0)

if [[ ! -d ./venv ]]; then
python3 -m virtualenv -p python3 ./venv --system-site-packages
./venv/bin/pip install torch==1.3.0
./venv/bin/pip install torch==1.4.0
fi

python=${PWD}/venv/bin/python
Expand Down

0 comments on commit 86e3cee

Please sign in to comment.