Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torchrec_Introduction.ipynb error #1630

Open
JerryQGui opened this issue Jan 15, 2024 · 1 comment
Open

Torchrec_Introduction.ipynb error #1630

JerryQGui opened this issue Jan 15, 2024 · 1 comment

Comments

@JerryQGui
Copy link

Running the Torchrec_Introduction on pytorch.org at
https://pytorch.org/tutorials/intermediate/torchrec_tutorial.html
with the provided Google Colab
https://colab.research.google.com/github/pytorch/torchrec/blob/main/Torchrec_Introduction.ipynb#scrollTo=fgB-KSOTbPf7

gives an error when trying to run the first bit of python code

ImportError: Failed to load PyTorch C extensions:
It appears that PyTorch has loaded the torch/_C folder
of the PyTorch repository rather than the C extensions which
are expected in the torch._C namespace. This can occur when
using the install workflow. e.g.
$ python setup.py install && python -c "import torch"

I am hoping to learn torchrec through the tutorial, and I hope that the tutorial can be fixed for other beginner developers looking to learn about how to use torchrec.

@KossaiSbai
Copy link

Happy to take a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants