FS#61141 - [python-pytorch-cuda] from caffe2.python import workspace fails with AttributeError

Attached to Project: Community Packages
Opened by Jeanem (Jeanem) - Thursday, 20 December 2018, 16:03 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 26 December 2018, 06:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

>>> from caffe2.python import workspace
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.7/site-packages/caffe2/python/workspace.py", line 49, in <module>
GetCuDNNVersion = C.get_cudnn_version
AttributeError: module 'caffe2.python._import_c_extension' has no attribute 'get_cudnn_version'

I have python-pytorch-cuda 1.0rc1-6. This is seemingly a build issue according to https://github.com/pytorch/pytorch/issues/15313, hence I am filing it here instead of the PyTorch bug tracker.

The line in question is called by tensorboardX when creating a SummaryWriter.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Wednesday, 26 December 2018, 06:28 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 23 December 2018, 00:57 GMT
Should be fixed as of python-pytorch 1.0.0-3, please test.

Loading...