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

Calling Flux.gpu on a view dumps core #125

Closed
jessebett opened this issue Jul 18, 2019 · 1 comment
Closed

Calling Flux.gpu on a view dumps core #125

jessebett opened this issue Jul 18, 2019 · 1 comment
Labels
bug Something isn't working cuda array Stuff about CuArray.

Comments

@jessebett
Copy link

using MLDataUtils
using CuArrays
using Flux

x = rand(4,10)
x_b = batchview(x,7)
x_g = gpu.(x_b) # works

x_g = gpu(x_b) # aborts with core dumped

Not clear if this is a CuArrays problem or a Flux.gpu issue, but if you call gpu on a view, like provided by MLDataUtils.batchview broadcasted it will abort with (core dumped)

@maleadt maleadt transferred this issue from JuliaGPU/CuArrays.jl May 27, 2020
@maleadt maleadt added bug Something isn't working cuda array Stuff about CuArray. labels May 27, 2020
@maleadt
Copy link
Member

maleadt commented Apr 27, 2024

Going to close this stale issue. If something like this still happens, please open a new issue with updated information

@maleadt maleadt closed this as completed Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda array Stuff about CuArray.
Projects
None yet
Development

No branches or pull requests

2 participants