Skip to content

Conversation

@junrushao
Copy link
Member

This PR found a workaround that prevents the nigthly windows pypi package of TVM Unity to be released. Basically it splits out a deeply nested method into several smaller ones so that MSVC's internal handling is supposed to be slightly simpler and less error prone.

This PR found a workaround that prevents the nigthly windows pypi
package of TVM Unity to be released. Basically it splits out a deeply
nested method into several smaller ones so that MSVC's internal handling
is supposed to be slightly simpler and less error prone.
Copy link
Member

@yzh119 yzh119 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 the patch.
Some additional context: in windows CI/CD, the visual studio encounters internal compilation error on https://github.com/apache/tvm/blob/e4af30220f34a42cc3f0a9f4a564bb72c31de3c4/src/tir/transforms/compact_buffer_region.cc#L504.

@Hzfengsy Hzfengsy merged commit dc745fc into mlc-ai:mlc Jul 22, 2023
junrushao pushed a commit to mlc-ai/package that referenced this pull request Jul 22, 2023
Duplicate of #37 but pulled from `mlc-ai/decouple-win-mac` to enable self-hosted runners.

The Windows build should have been fixed in mlc-ai/relax#271, kudos to @ junrushao.
The Mac x86-64 is still buggy and is waiting for Cython 3 compatibility fix in TVM mainline.

Let's merge this PR and make windows wheel work first.
MasterJH5574 pushed a commit that referenced this pull request Jul 25, 2023
This PR found a workaround that prevents the nigthly windows pypi
package of TVM Unity to be released. Basically it splits out a deeply
nested method into several smaller ones so that MSVC's internal handling
is supposed to be slightly simpler and less error prone.
tqchen pushed a commit that referenced this pull request Aug 1, 2023
[Bugfix] Work around "Internal Compiler Error" in MSVC (#271)

This PR found a workaround that prevents the nigthly windows pypi
package of TVM Unity to be released. Basically it splits out a deeply
nested method into several smaller ones so that MSVC's internal handling
is supposed to be slightly simpler and less error prone.
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