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

Invalid output on example/cg.py #219

Open
LWisteria opened this issue Apr 1, 2019 · 0 comments
Open

Invalid output on example/cg.py #219

LWisteria opened this issue Apr 1, 2019 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@LWisteria
Copy link
Member

CG is not converged only in GPU (outputs NaN)

$ python cg.py
Trial: 0
Running CPU...
Failed to converge. Increase max-iter or tol.
 CPU :  52.715649 sec
0.0486944550392
Running GPU...
Failed to converge. Increase max-iter or tol.
 GPU :  10.008114 sec
nan

Trial: 1
Running CPU...
 CPU :  39.463507 sec
6.96499403247e-05
Running GPU...
Failed to converge. Increase max-iter or tol.
 GPU :  9.536461 sec
486256.04841

Trial: 2
Running CPU...
 CPU :  39.770958 sec
4.97618615769e-05
Running GPU...
Failed to converge. Increase max-iter or tol.
 GPU :  9.568508 sec
nan
@LWisteria LWisteria added the bug Something isn't working label Apr 1, 2019
@LWisteria LWisteria added this to the v2.1.0rc2 milestone Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant