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

[Hotfix] Revert driver API pass ordering that breaks MLC, mark failing test #16770

Merged
merged 3 commits into from
Mar 23, 2024

Conversation

slyubomirsky
Copy link
Contributor

@slyubomirsky slyubomirsky commented Mar 22, 2024

Following up from discussion in #16769, this is a smaller-scale reversion that patches the MLC build by reverting only the changes that broke it (the driver API pass reordering). However, these changes came from #16569 and were needed to fix failing tests. That test has been marked as skippable here but should be fixed along with MLC.

Copy link
Contributor

@Lunderberg Lunderberg left a comment

Choose a reason for hiding this comment

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

Thank you for making the more targeted reversion, and for linking back to the discussions. Those links are always a big help in tracing back changes after the fact.

@@ -482,6 +482,12 @@ def simple_compute(
assert generated_code == expected_cuda_script


@pytest.mark.skip(
Copy link
Contributor

Choose a reason for hiding this comment

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

I like the documentation, both to indicate what needs to be resolved in order to re-enable functionality, and where the existing discussions are

@slyubomirsky slyubomirsky changed the title [Hotfix] Revert codegen changes that break MLC, mark failing tests [Hotfix] Revert driver API pass ordering that breaks MLC, mark failing test Mar 22, 2024
@slyubomirsky
Copy link
Contributor Author

Tianqi clarified that only the driver API pass ordering caused the MLC failures, so that's the only change being reverted here now.

Copy link
Contributor

@MasterJH5574 MasterJH5574 left a comment

Choose a reason for hiding this comment

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

Thanks so much @slyubomirsky @Lunderberg @tqchen. Just checked on my local side: this PR can fix the model compilation error.

@slyubomirsky
Copy link
Contributor Author

The CI error looks to be spurious. We will have to retrigger it.

@slyubomirsky
Copy link
Contributor Author

@tvm-bot rerun

@tqchen tqchen merged commit 21e1380 into apache:main Mar 23, 2024
21 of 23 checks passed
thaisacs pushed a commit to thaisacs/tvm that referenced this pull request Apr 3, 2024
…g test (apache#16770)

* Revert changes that cause failures in MLC, mark and skip the failing tests



* Restore changes unrelated to driver API reordering
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