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

Torchvision conflicts with the whl #388

Open
staylorTT opened this issue Mar 4, 2025 · 2 comments
Open

Torchvision conflicts with the whl #388

staylorTT opened this issue Mar 4, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@staylorTT
Copy link
Contributor

When trying to create some demos to use with the tt-torch wheel I was hitting some conflicts where pip install torchvision would override a value needed by the mlir_debug_build and make it so the CompilerConfig could not be imported.

@LPanosTT please add more details as I know you had some thoughts on how this could be fixed.

We were able to get a work around but it wasn't very clean and then I started hitting other build issues so I am not sure if it actually works.

pip install torchvision=0.20

Lets try to get this figured out so I can get some demos added for tt-torch in tt-forge/demos

@staylorTT staylorTT added the bug Something isn't working label Mar 4, 2025
@LPanosTT
Copy link
Contributor

LPanosTT commented Mar 4, 2025

I've spoken to @AleksKnezevic, and due to PyTorch not shipping with the C++ ABI by default, and torchvision not publishing a wheel that uses the ABI, we need to instruct the user that if they wish to use torch vision, they must build the wheel themselves and install it. We can provide instructions to do so and maybe even a shell script too.

@AleksKnezevic
Copy link
Contributor

For some added context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants