-
Notifications
You must be signed in to change notification settings - Fork 96
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
Fix setup.py for Anaconda #17111
base: main
Are you sure you want to change the base?
Fix setup.py for Anaconda #17111
Conversation
Looks like this attempt to do the right thing has broken the packaging of some kernels. Need to triage.
info: |
ah to get needed files in I'm not sure if that's correct, but that's what we did before |
I’m trying to combine auto discovery with manual adjust in this PR. Let’s see if I can get there. |
@tt-rkim for when you are feeling better. I manually add ttnn.cpp in the latest commit and same failure. what is this python black magic? maybe these cpp files are supposed to be mentioned in the manifest? |
Problem description
For some reason we are manually specifying the python modules to be packaged into a wheel, and/or installed using pip.
We aren't relying on auto-discovery.
When I tried to package in Anaconda with Python 3.10, I could not import ttnn.
What's changed
Adjusted to use auto discovery function.
For some reason I had to add an
__init__.py
tott_lib.fused_ops
Checklist