hughperkins / pytorch

Python wrappers for torch and lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Segmentation fault importing PyTorch with Torch 1.0.0

lpuglia opened this issue · comments

commented

Hello,

First of all thank you for the library, it worked like a charm until i upgraded torch to the most recent version (1.0.0), here is what i get on my machine:

>>> import PyTorch
>>> import torch
>>> torch.zeros(10)
Fatal Python error: Segmentation fault

or if you import Torch before PyTorch:

>>> import torch
>>> import PyTorch
Fatal Python error: Segmentation fault

Do you think there is a easy fix to solve this incompatibility?

My system:

> python --version
Python 3.6.5 :: Anaconda, Inc.
> pip list | grep -i torch
PyTorch (4.1.1-SNAPSHOT)
torch (1.0.0)