notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

sd_textual_inversion_training.ipynb: Issue with "import required libraries"

Open redw04 opened this issue 2 years ago • 0 comments
trafficstars

Hi,

When trying to run the TI Colab, there seems to be an issue with the Xformers libraries. When running the "import required libraries" cell, I get the following error:

WARNING:xformers:WARNING: /usr/local/lib/python3.8/dist-packages/xformers/_C.so: undefined symbol: _ZNK3c104impl13OperatorEntry20reportSignatureErrorENS0_12CppSignatureE
Need to compile C++ extensions to get sparse attention support. Please run python setup.py build develop

/usr/local/lib/python3.8/dist-packages/xformers/_C.so: undefined symbol: _ZNK3c104impl13OperatorEntry20reportSignatureErrorENS0_12CppSignatureE

The problem is, when I navigate to the path mentioned in the error, this is no /_C.so folder.

image

Any idea how to fix this? Training is impossible without this step.

Thank you!

redw04 avatar Dec 19 '22 05:12 redw04