guan404ming opened a new pull request, #420:
URL: https://github.com/apache/tvm-ffi/pull/420

   ## Summary
   - Fixed DLPack version compatibility check to allow runtime minor version >= 
compile-time minor version
   - Changed strict equality check (`==`) to greater-or-equal check (`>=`) for 
minor version
   
   ## Root Cause
   The test was checking for exact DLPack version equality between compile-time 
and runtime:
   - Test compiled against DLPack v1.2 (from `3rdparty/dlpack` submodule)  
   - PyTorch runtime provides DLPack v1.3
   
   According to DLPack compatibility rules, minor version mismatches are safe 
when the runtime has a higher minor version than the compile-time version. The 
major version must match exactly, but minor versions are backward compatible.
   
   ## Test Plan
   - Existing test `test_dlpack_exchange_api` will pass with PyTorch providing 
DLPack v1.3
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to