-
Notifications
You must be signed in to change notification settings - Fork 57
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
Always killed #1
Comments
When written naively, this layer consume a lot of memory. The optimal memory usage is zero extra memory beyond the parameters (coeff size = 2inputdimoutputdim*gridsize) , inputs and outputs, which can be obtained by manually fusing : https://github.com/GistNoesis/FusedFourierKAN The code is not yet optimized, and painful to install, so performance may not be as fast as some code that use more memory. Some other project https://github.com/Blealtan/efficient-kan maybe more user friendly with respect to memory. |
Thanks a lot. I will try other versions. |
Hi, thanks for your great work. I wonder if it is possible to provide some guidance about memory trade-off setting. I intend to allcoate a KAN with 3072 as input dimension and 2000 as output dimension. I always get killed. Normal MLP does not meet such error. Thanks a lot
The text was updated successfully, but these errors were encountered: