-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Typed Tuple Returns in Warp Cause Error #302
Labels
bug
Something isn't working
Comments
Hi @yzx9, thanks for reporting this issue, we'll look into it! |
shi-eric
pushed a commit
that referenced
this issue
Sep 5, 2024
shi-eric
pushed a commit
that referenced
this issue
Sep 5, 2024
Fix `wp.func` With `Tuple` As a Return Type Hint Closes GH-302 See merge request omniverse/warp!719
HydrogenSulfate
pushed a commit
to HydrogenSulfate/warp
that referenced
this issue
Sep 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
Warp supports multi-value returns, but it seems that they cannot be properly typed.
Reproduction Steps
Actual Outcome
The code fails with the following error message:
Change
tuple
totyping.Tuple
receive same results. However, if the typing is removed, the code works as expected.Excepted
The code should work correctly with typed multi-value returns.
System Information
Warp 1.3.1 initialized:
CUDA Toolkit 12.5, Driver 12.5
Devices:
"cpu" : "CPU"
"cuda:0" : "NVIDIA GeForce RTX 4090" (24 GiB, sm_89, mempool enabled)
Kernel cache:
/home/yzx9/.cache/warp/1.3.1
The text was updated successfully, but these errors were encountered: