Skip to content
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

remove quantization feature #110

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading