-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Description
🐛 Bug
Python crashes when attempt to index a tensor. Cannot reproduce in python2.7.
To Reproduce
Minimal example:
import torch
store = torch.randn((12,100,6,50))
store[:, :, 0, :]
produces
dyld: lazy symbol binding failed: Symbol not found: _PySlice_Unpack
Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torch/lib/libtorch_python.dylib
Expected in: flat namespace
dyld: Symbol not found: _PySlice_Unpack
Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/torch/lib/libtorch_python.dylib
Expected in: flat namespace
Abort trap: 6
Environment
PyTorch version: 1.0.1.post2
Is debug build: No
CUDA used to build PyTorch: None
OS: Mac OSX 10.13.6
GCC version: Could not collect
CMake version: version 3.1.2
Python version: 3.6
Is CUDA available: No
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
Versions of relevant libraries:
[pip3] numpy==1.16.1
[pip3] torch==1.0.1.post2
[conda] Could not collect
Additional Info
Installed using pip3 install torch
GoingMyWay and davidwesby
Metadata
Metadata
Assignees
Labels
No labels