MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / quantize

Method quantize

diffsynth/models/kolors_text_encoder.py:1103–1106  ·  view source on GitHub ↗
(self, weight_bit_width: int)

Source from the content-addressed store, hash-verified

1101 )
1102
1103 def quantize(self, weight_bit_width: int):
1104 # from .quantization import quantize
1105 quantize(self.encoder, weight_bit_width)
1106 return self
1107
1108
1109class ChatGLMForConditionalGeneration(ChatGLMPreTrainedModel):

Callers 1

__init__Method · 0.45

Calls 1

quantizeFunction · 0.85

Tested by

no test coverage detected