Lunderberg commented on PR #17283:
URL: https://github.com/apache/tvm/pull/17283#issuecomment-2310839431

   With a few more debug print statements, the error appears unrelated to the 
use of `f16` primitives.  The last print statement occurs in `LLVMModule`, just 
before the `PackedFunc` call to `(*faddr)(arg_values, arg_type_codes, ...)`.  
The print statement at the start of the TIR implementation (`"Start of 
function\n"`) does not get printed, so the compiled PrimFunc must not be 
entered at all.  To verify this, I'm running a version of the test where both 
the input and output are `float32`.
   
   If this is the case, it may be related to [this 
issue](https://github.com/actions/runner-images/issues/10020#issuecomment-2220037354)
 in the github runners for Windows.  From what I can tell, the Windows image 
shipped with a MSVC compiler newer than its MSVC runtime, causing 
incompatibilities between generated code and the runtime.  The issue has a 
workaround in some cases, but several users have reported that the workaround 
is very fragile, and depends on (1) DLL load order, (2) whether any other 
program provided an older version of the MSVC runtime, and (3) whether the 
`C:\hostedtoolcache\windows` path contains leftover files from a previous CI 
run.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to