-
Notifications
You must be signed in to change notification settings - Fork 139
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
Fix the bug of output_type=np or latent. #996
Conversation
Signed-off-by: yuanwu <[email protected]>
@yuanwu2017 Please provide a command or a script to reproduce the bug |
@regisss
HPU
You can see that our image type always is list, but it is list for pil, tensor for pt and latent, numpy.ndarray for np, when running with Cuda device. It will make some pytest failed. For example, HPU After applying the patch.
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Can you also run
pip install -U ruff
make style
please?
Done. |
Signed-off-by: yuanwu <[email protected]>
What does this PR do?
Fixes # (issue)
Before submitting