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

[WIP] GPU pinns #183

Merged
merged 7 commits into from
Jan 6, 2021
Merged

[WIP] GPU pinns #183

merged 7 commits into from
Jan 6, 2021

Conversation

KirillZubov
Copy link
Member

No description provided.

@KirillZubov KirillZubov changed the title gpu pinns [WIP] GPU pinns Nov 29, 2020
@@ -43,12 +43,15 @@ dx = 0.25; dy= 0.25; dt = 0.25
# Neural network
chain = FastChain(FastDense(3,16,Flux.σ),FastDense(16,16,Flux.σ),FastDense(16,1)) |>gpu

initθ = initial_params(chain) |>gpu
strategy = QuadratureTraining(algorithm=CubaCuhre(),reltol= 1e-5,abstol= 1e-5,maxiters=50)
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure if the quadrature algorithms will sample on GPUs. I don't think they can.

Base automatically changed from quadrature_training to master December 1, 2020 23:26
@ChrisRackauckas ChrisRackauckas merged commit c7351dc into master Jan 6, 2021
@ChrisRackauckas ChrisRackauckas deleted the gpu_pinns branch January 6, 2021 14:20
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.

GPU training does not work with at least Flux optimizers
2 participants