Skip to content

Conversation

@fsx950223
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 22, 2025 03:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes prebuild file path issues by adjusting package configuration and path resolution logic. The changes address path discovery problems when the package structure differs between development and installed environments.

  • Removes "csrc" from the packages list in setup.py
  • Adds dynamic path resolution logic to locate the correct AITER_CORE_DIR
  • Inserts the meta directory into sys.path for proper module discovery

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
setup.py Removes "csrc" from the packages list to fix package structure
csrc/cpp_itfs/utils.py Adds conditional logic to dynamically resolve AITER_CORE_DIR path
aiter/jit/core.py Inserts AITER_META_DIR into sys.path for module discovery

@valarLip valarLip requested a review from amd-ruitang3 July 22, 2025 03:56
@amd-ruitang3
Copy link
Contributor

Hi, sixie~ AITER_CORE_DIR and AITER_META_DIR are coupled. Can you help check?

@valarLip valarLip merged commit 29b9da3 into main Jul 23, 2025
13 checks passed
@valarLip valarLip deleted the fix_build branch July 23, 2025 12:32
cagrikymk pushed a commit that referenced this pull request Jul 30, 2025
* fix prebuild file path

* fix path
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.

4 participants