Question: pre-existing copy of the model.
caniyabanci76 opened this issue · comments
caniyabanci76 commented
Not a bug, but a question. If I already have a local copy of the moondream model, what do i need to change to make it point to that instead of the cached version that it tries to download?
AlexL commented
What you can try is to place all the files into ConfyUI/models/moondream2 and change the following code:
124: self.model = AutoModel.from_pretrained(
125: "ComfyUI/models/moondream2",
126: trust_remote_code=trust_remote_code,
127: revision=model_revision
128: ).to(dev)
129: self.tokenizer = Tokenizer.from_pretrained("ComfyUI/models/moondream2")
caniyabanci76 commented
Thanks!