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

[Doc] Fix typo + python_package build location change #2664

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jiangqucheng
Copy link

Based on the instructions above in Development.md, the build result of Python packages "torch_mlir", and "torch_mlir_e2e_test" didn't show up in pwd/build/python_packages/torch_mlir, but in another location that I added.
I found this path has been changed quite often in recent commits. To keep safe, both paths are kept. I have tested, and adding both locations at the same time won't hurt.
Also, change typo "tpython_packages", and add hyphens.

Based on the instructions above in `Development.md`, the build result of Python packages "torch_mlir", and "torch_mlir_e2e_test" didn't show up in `pwd/build/python_packages/torch_mlir`, but in another location that I added. To keep safe, two paths are both kept. 
Also, change typos.
@@ -109,13 +109,13 @@ cmake --build build
### Linux and macOS

```shell
export PYTHONPATH=`pwd`/build/python_packages/torch_mlir:`pwd`/projects/pt1/examples
export PYTHONPATH=`pwd`/build/python_packages/torch_mlir:`pwd`/build/tools/torch-mlir/python_packages/torch_mlir:`pwd`/projects/pt1/examples
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No wonder I had weird issues with running integration tests 😂

Copy link
Contributor

@wu-s-john wu-s-john left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this. I was about to make the same PR as well.

@dan-garvey
Copy link
Collaborator

I think we should probably fix the underlying problem in cmake that is causing the divergence of paths for different users. Can you two confirm the build command you use so we can triage? From what I understand, its an issue with out of tree llvm builds?

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

Successfully merging this pull request may close these issues.

3 participants