Skip to content

[AOTI] Fix AOT inductor CMake build dependency order#157557

Closed
XuehaiPan wants to merge 7 commits intogh/XuehaiPan/349/basefrom
gh/XuehaiPan/349/head
Closed

[AOTI] Fix AOT inductor CMake build dependency order#157557
XuehaiPan wants to merge 7 commits intogh/XuehaiPan/349/basefrom
gh/XuehaiPan/349/head

Conversation

@XuehaiPan
Copy link
Copy Markdown
Collaborator

@XuehaiPan XuehaiPan commented Jul 3, 2025

[ghstack-poisoned]
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Jul 3, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/157557

Note: Links to docs will display an error until the docs builds have been completed.

⏳ No Failures, 1 Pending

As of commit 05226ef with merge base a6fab82 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@XuehaiPan XuehaiPan added module: aotinductor aot inductor ciflow/trunk Trigger trunk jobs on your pull request labels Jul 3, 2025
[ghstack-poisoned]
@XuehaiPan XuehaiPan requested a review from chenyang78 July 3, 2025 13:24
@XuehaiPan XuehaiPan requested review from Skylion007 and cyyever July 3, 2025 13:32
@XuehaiPan XuehaiPan changed the title Fix AOT inductor CMake build dependency order [AOTI] Fix AOT inductor CMake build dependency order Jul 3, 2025
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 3, 2025
[ghstack-poisoned]
@XuehaiPan
Copy link
Copy Markdown
Collaborator Author

The fix does not work.

[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 4, 2025
@XuehaiPan
Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Jul 4, 2025
…> `setuptools.build_meta` (#155998)

Change `build-system.build-backend`: `setuptools.build_meta:__legacy__` -> `setuptools.build_meta`. Also, move static package info from `setup.py` to `pyproject.toml`.

Now the repo can be installed from source via `pip` command instead of `python setup.py develop`:

```bash
python -m pip install --verbose --editable .

python -m pip install --verbose --no-build-isolation --editable .
```

In addition, the SDist is also buildable:

```bash
python -m build --sdist
python -m install dist/torch-*.tar.gz  # build from source using SDist
```

Note that we should build the SDist with a fresh git clone if we will upload the output to PyPI. Because all files under `third_party` will be included in the SDist. The SDist file will be huge if the git submodules are initialized.

Pull Request resolved: #155998
Approved by: https://github.com/ezyang, https://github.com/cyyever, https://github.com/atalman
ghstack dependencies: #157557
@github-actions github-actions Bot deleted the gh/XuehaiPan/349/head branch August 4, 2025 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants