Skip to content

Commit

Permalink
Added Kans
Browse files Browse the repository at this point in the history
  • Loading branch information
HMUNACHI committed Aug 28, 2024
1 parent 5f729f3 commit d0633bb
Show file tree
Hide file tree
Showing 6 changed files with 292 additions and 229 deletions.
16 changes: 15 additions & 1 deletion nanodl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@
LlamaDataParallelTrainer,
RotaryPositionalEncoding,
)
from nanodl.__src.models.kan import(
KANLinear,
ChebyKANLinear,
LegendreKANLinear,
MonomialKANLinear,
FourierKANLinear,
HermiteKANLinear,
)
from nanodl.__src.models.mistral import (
GroupedRotaryShiftedWindowMultiHeadAttention,
Mistral,
Expand Down Expand Up @@ -147,7 +155,7 @@
)

__all__ = [
# Sklearn GPU
# Classical
"NaiveBayesClassifier",
"PCA",
"KMeans",
Expand Down Expand Up @@ -285,6 +293,12 @@
"geometric",
"gamma",
"chisquare",
"KANLinear",
"ChebyKANLinear",
"LegendreKANLinear",
"MonomialKANLinear",
"FourierKANLinear",
"HermiteKANLinear",
]

import importlib
Expand Down
227 changes: 0 additions & 227 deletions nanodl/__src/experimental/kan.py

This file was deleted.

Loading

0 comments on commit d0633bb

Please sign in to comment.