swjng commented on PR #19498:
URL: https://github.com/apache/tvm/pull/19498#issuecomment-4366358314

   Thanks. Narrowed it as suggested in the follow-up commit: a local 
non-mutating `resolve` returns a Constant only for 1D-int64 param Vars, and 
only the all-shape-like fast path consumes the resolved list. The tensor 
fallback uses the original `inputs`, so `Concat(input, weight)` still 
references `weight` as a runtime Var.
   
   Added `test_concat_with_param_tensor_keeps_runtime_param` covering exactly 
that case (asserts `w` stays in `main`'s params and is recovered by 
`detach_params`).


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