Closed renatobellotti closed 1 year ago
Are GPU evaluations supported?
I think you will likely get a better answer if you can ask a slightly more precise question given that GPU evaluations are supported and other people have worked with them in the past (e.g. https://github.com/JuliaNLSolvers/Optim.jl/pull/946). Is your goal to use CuArray with L-BFGS?
I don't know why this example code has not worked before. It does now and I can use my GPU evaluations, so I'm closing this issue.
Hi,
I wonder whether
Optim.jl
supports efficient optimisations on the GPU. For me this is essential because each function evaluation is quite expensive and I have a big design vector (length ~10^5) that should stay on on the GPU throughout the optimisation to avoid unnecessary communication between host/device.Here is a minimum example of a simple optimisation that does not seem to work:
Error message: