Skip to content

Commit

Permalink
Merge pull request #110 from SkywardAI/feat/arm
Browse files Browse the repository at this point in the history
remove quantization feature
  • Loading branch information
Aisuko authored Jul 1, 2024
2 parents 78021af + 24e1c12 commit a4507e4
Show file tree
Hide file tree
Showing 7 changed files with 412 additions and 599 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ poetry:
build:
@poetry build

.PHONY: lock
lock:
@poetry lock

.PHONY: install
install:
Expand Down
906 changes: 407 additions & 499 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@ keywords = ["transformers", "pytorch"]
python = "^3.11"
torch = "2.2.2"
transformers = "4.39.2"
sentencepiece = "0.2.0"
bitsandbytes = "0.43.0"
accelerate = "0.28.0"
datasets = "2.18.0"

[tool.poetry.group.dev.dependencies]
python = "^3.11"
torch = "2.2.2"
transformers = "4.39.2"
sentencepiece = "0.2.0"
bitsandbytes = "0.43.0"
accelerate = "0.28.0"
datasets = "2.18.0"

[tool.ruff]
# Exclude a variety of commonly ignored directories.
Expand Down
2 changes: 0 additions & 2 deletions src/kimchima/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
ModelFactory,
TokenizerFactory,
EmbeddingsFactory,
QuantizationFactory,
StreamerFactory,
PipelinesFactory,
ChatTemplateFactory,
Expand All @@ -34,7 +33,6 @@
'ModelFactory',
'TokenizerFactory',
'EmbeddingsFactory',
'QuantizationFactory',
'StreamerFactory',
'Devices',
'PipelinesFactory',
Expand Down
2 changes: 0 additions & 2 deletions src/kimchima/pkg/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
from .cross_encoder_factory import CrossEncoderFactory
from .tokenizer_factory import TokenizerFactory
from .embedding_factory import EmbeddingsFactory
from .quantization_factory import QuantizationFactory
from .streamer_factory import StreamerFactory
from .pipelines_factory import PipelinesFactory
from .chat_template_factory import ChatTemplateFactory
Expand All @@ -32,7 +31,6 @@
'ModelFactory',
'TokenizerFactory',
'EmbeddingsFactory',
'QuantizationFactory',
'StreamerFactory',
'PipelinesFactory',
'ChatTemplateFactory',
Expand Down
62 changes: 0 additions & 62 deletions src/kimchima/pkg/quantization_factory.py

This file was deleted.

30 changes: 0 additions & 30 deletions src/kimchima/tests/test_quantization_factory.py

This file was deleted.

0 comments on commit a4507e4

Please sign in to comment.