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

[Dynamic] M2 for S3: Compute Inline #173

Merged
merged 2 commits into from
Apr 9, 2023
Merged

Conversation

jinhongyii
Copy link
Member

@jinhongyii
Copy link
Member Author

@jinhongyii
Copy link
Member Author

Problem:

  • The check of compute_inline rejects the body using symbolic var n
  • The rewrite algorithm doesn’t work across multiple blocks (because the block_read_write_detector fails for nested blocks)

M1:

@MasterJH5574 MasterJH5574 merged commit 75d1588 into mlc-ai:dyn Apr 9, 2023
spectrometerHBH pushed a commit that referenced this pull request Apr 9, 2023
Problem after S3's fix:
 - cannot get producer outside current scope
 - cannot handle dynamic shape in ReverseComputeInliner

Fix:
 - try to get leaf producer block outside current scope
- ignore non-index var when substituting in ReverseComputeInliner's
substituter

This PR depends on #173 and should be merged after #173 
cc: @tqchen @spectrometerHBH @junrushao @MasterJH5574
MasterJH5574 pushed a commit that referenced this pull request Apr 10, 2023
Problem after S3's fix:
 - cannot get producer outside current scope
 - cannot handle dynamic shape in ReverseComputeInliner

Fix:
 - try to get leaf producer block outside current scope
- ignore non-index var when substituting in ReverseComputeInliner's
substituter

This PR depends on #173 and should be merged after #173 
cc: @tqchen @spectrometerHBH @junrushao @MasterJH5574
MasterJH5574 pushed a commit that referenced this pull request Apr 10, 2023
Problem after S3's fix:
 - cannot get producer outside current scope
 - cannot handle dynamic shape in ReverseComputeInliner

Fix:
 - try to get leaf producer block outside current scope
- ignore non-index var when substituting in ReverseComputeInliner's
substituter

This PR depends on #173 and should be merged after #173 
cc: @tqchen @spectrometerHBH @junrushao @MasterJH5574
MasterJH5574 pushed a commit that referenced this pull request Apr 13, 2023
Problem after S3's fix:
 - cannot get producer outside current scope
 - cannot handle dynamic shape in ReverseComputeInliner

Fix:
 - try to get leaf producer block outside current scope
- ignore non-index var when substituting in ReverseComputeInliner's
substituter

This PR depends on #173 and should be merged after #173 
cc: @tqchen @spectrometerHBH @junrushao @MasterJH5574
MasterJH5574 pushed a commit that referenced this pull request Apr 14, 2023
Problem after S3's fix:
 - cannot get producer outside current scope
 - cannot handle dynamic shape in ReverseComputeInliner

Fix:
 - try to get leaf producer block outside current scope
- ignore non-index var when substituting in ReverseComputeInliner's
substituter

This PR depends on #173 and should be merged after #173 
cc: @tqchen @spectrometerHBH @junrushao @MasterJH5574
tqchen pushed a commit that referenced this pull request Apr 23, 2023
MasterJH5574 pushed a commit that referenced this pull request May 3, 2023
vinx13 pushed a commit to vinx13/mlc-relax that referenced this pull request May 8, 2023
Fix relax-hexagon tests to use set_input api, which is the correct way to invoke a function over RPC.
junrushao pushed a commit that referenced this pull request May 9, 2023
junrushao pushed a commit that referenced this pull request May 10, 2023
tqchen pushed a commit that referenced this pull request May 20, 2023
tqchen pushed a commit that referenced this pull request May 20, 2023
tqchen pushed a commit that referenced this pull request May 25, 2023
tqchen pushed a commit that referenced this pull request May 25, 2023
tqchen pushed a commit that referenced this pull request Jun 1, 2023
tqchen pushed a commit that referenced this pull request Jun 14, 2023
tqchen pushed a commit that referenced this pull request Jun 17, 2023
tqchen pushed a commit that referenced this pull request Jun 17, 2023
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