gemini-code-assist[bot] commented on code in PR #227:
URL: https://github.com/apache/tvm-ffi/pull/227#discussion_r2492617102
##########
addons/torch_c_dlpack_ext/build_backend.py:
##########
@@ -83,5 +84,6 @@ def build_wheel(
"--build-with-cuda" if torch.cuda.is_available() else "",
],
check=True,
+ env={**os.environ, "TVM_FFI_DISABLE_TORCH_C_DLPACK": "1"},
Review Comment:

Since the project requires Python 3.9 or newer (as specified in
`pyproject.toml`), you can use the dictionary union operator (`|`) which was
introduced in Python 3.9. It's generally considered more concise and readable
for merging dictionaries.
```suggestion
env=os.environ | {"TVM_FFI_DISABLE_TORCH_C_DLPACK": "1"},
```
--
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]