Skip to content

Commit

Permalink
Move requantize.py to the quatnization/ dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJDick committed Aug 21, 2024
1 parent 38c2e78 commit e41025d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from optimum.quanto.models import QuantizedDiffusersModel
from optimum.quanto.models.shared_dict import ShardedStateDict

from invokeai.backend.requantize import requantize
from invokeai.backend.quantization.requantize import requantize


class FastQuantizedDiffusersModel(QuantizedDiffusersModel):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from transformers.models.auto import AutoModelForTextEncoding
from transformers.utils import SAFE_WEIGHTS_INDEX_NAME, SAFE_WEIGHTS_NAME, is_accelerate_available

from invokeai.backend.requantize import requantize
from invokeai.backend.quantization.requantize import requantize


class FastQuantizedTransformersModel(QuantizedTransformersModel):
Expand Down
File renamed without changes.

0 comments on commit e41025d

Please sign in to comment.