Skip to content
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

SDXL app: move await device to fix empty results #975

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

daveliddell
Copy link
Contributor

The output array was coming out empty. We discovered that the await device needs to be moved after the transfer to host but before the device array's items is read.

Copy link
Contributor

@monorimet monorimet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks

@monorimet monorimet merged commit 84a2a3a into nod-ai:main Feb 17, 2025
36 of 38 checks passed
renxida pushed a commit to renxida/shark-ai that referenced this pull request Feb 20, 2025
The output array was coming out empty. We discovered that the `await
device` needs to be moved after the transfer to host but before the
device array's `items` is read.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants