-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for Recent Changes and Granite Model Class Support (#11)
* Update for granite model class support Signed-off-by: Mustafa Eyceoz <[email protected]> * Add mixins Signed-off-by: Mustafa Eyceoz <[email protected]> * Removing rmsnorm options to avoid optional checks Signed-off-by: Mustafa Eyceoz <[email protected]> * Remove TP import Signed-off-by: Mustafa Eyceoz <[email protected]> * Add config init Signed-off-by: Mustafa Eyceoz <[email protected]> * Remove granite moe Signed-off-by: Mustafa Eyceoz <[email protected]> * Remove mixtral Signed-off-by: Mustafa Eyceoz <[email protected]> * Remove excess register stuff Signed-off-by: Mustafa Eyceoz <[email protected]> --------- Signed-off-by: Mustafa Eyceoz <[email protected]>
- Loading branch information
1 parent
da678a5
commit 5fca4cc
Showing
59 changed files
with
3,055 additions
and
1,836 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DEFAULT_NORMALIZATION_IMPLEMENTATION = "torch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from .dense import BaseModelMixin, CausalLMModelMixin, PreTrainedModelMixin | ||
#from .dense_TP import BaseModelMixin_TP, CausalLMModelMixin_TP, PreTrainedModelMixin_TP | ||
from .moe import BaseMoEModelMixin, CausalLMMoEModelMixin, PreTrainedMoEModelMixin | ||
#from .moe_TP import BaseMoEModelMixin_TP, CausalLMMoEModelMixin_TP, PreTrainedMoEModelMixin_TP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from .base import BaseModelMixin, PreTrainedModelMixin | ||
from .main import CausalLMModelMixin |
Oops, something went wrong.