Skip to content

DYLD_LIBRARY_PATH not visible when running guild train #2

@alan

Description

@alan

When Tensorflow is installed with GPU support using DYLD_LIBRARY_PATH to find the GPU libs guild train does not work while executing python directly works. The issue seems to be that guild doesn't set the same DYLD_LIBRARY_PATH.

ImportError: dlopen(/usr/local/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so, 10): Library not loaded: @rpath/libcudart.8.0.dylib
  Referenced from: /usr/local/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so
  Reason: image not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions