You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by "DarkSharpness (via GitHub)" <gi...@apache.org> on 2026/02/06 08:31:05 UTC
[I] [Feature] Support overriding CUDA version [tvm-ffi]
DarkSharpness opened a new issue, #430:
URL: https://github.com/apache/tvm-ffi/issues/430
Related issue: https://github.com/sgl-project/sglang/issues/18108
Root cause: `CUDA Driver Version: 470.82.01` (too old), which leads to failure in version detectection in line 148
https://github.com/apache/tvm-ffi/blob/437323c9aecce445409820527abcf237c1c66dc1/python/tvm_ffi/cpp/extension.py#L135-L158
I wonder if users can manually specify the cuda major/minor version when building jit modules.
--
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: discuss-archive-unsubscribe@tvm.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [I] [Feature] Support specifying CUDA version [tvm-ffi]
Posted by "DarkSharpness (via GitHub)" <gi...@apache.org>.
DarkSharpness commented on issue #430:
URL: https://github.com/apache/tvm-ffi/issues/430#issuecomment-3872031876
I just realized `TVM_FFI_CUDA_ARCH_LIST` can fit this need by 1. overiding the env var 2. build JIT kernel 3. reset the env var. This brings a little inconvenience for user side, but can fit in every case. I'm not sure whether we really need a special argument to override the version.
--
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: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [I] [Feature] Support specifying CUDA version [tvm-ffi]
Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen commented on issue #430:
URL: https://github.com/apache/tvm-ffi/issues/430#issuecomment-4622037479
closing for now since there is alternative support in sglang
--
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: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [I] [Feature] Support specifying CUDA version [tvm-ffi]
Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen commented on issue #430:
URL: https://github.com/apache/tvm-ffi/issues/430#issuecomment-3872213062
sounds good, maybe we can suggest `TVM_FFI_CUDA_ARCH_LIST` first then update the api if needed, whatever the path we think convenient for the user side.
--
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: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [I] [Feature] Support specifying CUDA version [tvm-ffi]
Posted by "mvanhorn (via GitHub)" <gi...@apache.org>.
mvanhorn commented on issue #430:
URL: https://github.com/apache/tvm-ffi/issues/430#issuecomment-4619692616
Implemented in https://github.com/apache/tvm-ffi/pull/605.
--
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: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [I] [Feature] Support specifying CUDA version [tvm-ffi]
Posted by "junrushao (via GitHub)" <gi...@apache.org>.
junrushao commented on issue #430:
URL: https://github.com/apache/tvm-ffi/issues/430#issuecomment-3903356369
A related issue: https://github.com/apache/tvm-ffi/pull/440.
Could you all suggest actionable plan?
--
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: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [I] [Feature] Support specifying CUDA version [tvm-ffi]
Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen commented on issue #430:
URL: https://github.com/apache/tvm-ffi/issues/430#issuecomment-3871533222
@DarkSharpness would `TVM_FFI_CUDA_ARCH_LIST` fit this need? or are you suggesting we pass them as arguments in the API.
Both should be fine approaches, and i think we would be happy to take a pr
--
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: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org
Re: [I] [Feature] Support specifying CUDA version [tvm-ffi]
Posted by "tqchen (via GitHub)" <gi...@apache.org>.
tqchen closed issue #430: [Feature] Support specifying CUDA version
URL: https://github.com/apache/tvm-ffi/issues/430
--
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: discuss-archive-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: discuss-archive-unsubscribe@tvm.apache.org
For additional commands, e-mail: discuss-archive-help@tvm.apache.org