add comment to conversion

This commit is contained in:
nopperl 2024-07-18 08:28:27 +02:00
parent b16c09a1cc
commit 126201d1a2

View file

@ -3432,6 +3432,7 @@ class ChameleonModel(Model):
def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iterable[tuple[str, Tensor]]: def modify_tensors(self, data_torch: Tensor, name: str, bid: int | None) -> Iterable[tuple[str, Tensor]]:
# ignore image tokenizer for now # ignore image tokenizer for now
# TODO: remove this once image support is implemented for Chameleon
if name.startswith("model.vqmodel"): if name.startswith("model.vqmodel"):
return [] return []