Visual Document Retrieval
ColPali
Safetensors
English
vidore-experimental
vidore
tonywu71 commited on
Commit
36b7849
·
verified ·
1 Parent(s): a12a745

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -68,7 +68,7 @@ model = ColQwen2.from_pretrained(
68
  "vidore/colqwen2-v1.0",
69
  torch_dtype=torch.bfloat16,
70
  device_map="cuda:0", # or "mps" if on Apple Silicon
71
- attn_implementation="flash_attention_2" if is_flash_attn_2_available() else None, # or "eager" if "mps"
72
  ).eval()
73
  processor = ColQwen2Processor.from_pretrained("vidore/colqwen2-v1.0")
74
 
 
68
  "vidore/colqwen2-v1.0",
69
  torch_dtype=torch.bfloat16,
70
  device_map="cuda:0", # or "mps" if on Apple Silicon
71
+ attn_implementation="flash_attention_2" if is_flash_attn_2_available() else None,
72
  ).eval()
73
  processor = ColQwen2Processor.from_pretrained("vidore/colqwen2-v1.0")
74