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

bug fix for torch gpu #438

Merged
merged 1 commit into from
Jul 11, 2023
Merged

bug fix for torch gpu #438

merged 1 commit into from
Jul 11, 2023

Conversation

haifeng-jin
Copy link
Collaborator

Test keras_core/optimizers/adam_test.py::AdamTest::test_ema fails with torch backend on GPU.
This PR fix it by correctly converting the tensor to numpy.

@fchollet fchollet merged commit 02872cb into main Jul 11, 2023
@haifeng-jin haifeng-jin deleted the haifeng-bug branch July 11, 2023 16:14
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