Open RomanSahakyan03 opened 7 months ago
I am also trying to solve the problem of optimization a neural network on a GPU (LuxCUDA in Julia) and I also get the same GPU compilation error
I have the same bug with the GPU (LuxCUDA in Julia) and encounter the same GPU compilation error.
@sathvikbhagavan how can I assist you?
@sathvikbhagavan ?
@RomanSahakyan03, apologies for the late reply. I will try to finish it up by this weekend.
@sathvikbhagavan it's ok. Thank for your efforts! If you need assist. I can help
@sathvikbhagavan what about now? Did you finish it?
Hi @RomanSahakyan03, I have a draft PR #866 for fixing this, but currently running into some issues. Hopefully would get resolved.
Bug Description
Summary
When attempting to solve a neural network optimization problem on a GPU using Lux and LuxCUDA packages in Julia, a GPU compilation error occurs.
Steps to Reproduce
Expected Behavior
The optimization problem should be solved without errors, utilizing GPU acceleration provided by the LuxCUDA package. Observed Behavior
The GPU compilation of MethodInstance for broadcasting fails with a KernelError, specifically mentioning a non-bitstype argument issue. Code Snippet
Additional Information