Skip to content

Commit

Permalink
fix moondream2
Browse files Browse the repository at this point in the history
  • Loading branch information
BBC-Esq authored Jul 27, 2024
1 parent 99706c6 commit bb5a9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module_process_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def initialize_model_and_tokenizer(self):

model = AutoModelForCausalLM.from_pretrained(model_id,
trust_remote_code=True,
revision="2024-05-20",
revision="2024-07-23",
torch_dtype=torch.float16,
cache_dir=cache_dir,
low_cpu_mem_usage=True).to(self.device)
Expand Down

0 comments on commit bb5a9b6

Please sign in to comment.