clab / clab/dynet

import error

Open
#1,503 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
3.4k
Forks
701
PR merge metrics
No merged PRs in 30d

Description

Hello,

I would like to use DyNet with GPU support and I've successfully installed

$ BACKEND=cuda pip install git+https://github.com/clab/dynet#egg=dynet
Collecting dynet from git+https://github.com/clab/dynet#egg=dynet
Cloning https://github.com/clab/dynet to /tmp/pip-install-JaxIGT/dynet
Requirement already satisfied: cython in ./system/anaconda2/lib/python2.7/site-packages (from dynet) (0.25.2)
Requirement already satisfied: numpy in ./system/anaconda2/lib/python2.7/site-packages (from dynet) (1.15.0)
Building wheels for collected packages: dynet
Running setup.py bdist_wheel for dynet ... done
Stored in directory: /tmp/pip-ephem-wheel-cache-oRa8zR/wheels/9d/7c/54/a2d66acfb1330579b24afd1bb8bdadbb99c89a3379c274ff23
Successfully built dynet
Installing collected packages: dynet
Successfully installed dynet-0.0.0

However, the import dynet fails with

>>> import dynet
Traceback (most recent call last):
File "", line 1, in
File "/data/lily/rz268/system/anaconda2/lib/python2.7/site-packages/dynet.py", line 15, in
from _dynet import *
ImportError: /home/lily/rz268/system/anaconda2/lib/libdynet.so: undefined symbol: cublasSgemmStridedBatched
>>>

Do you know what's the problem?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.