DeepSeek-OCR-2 / modeling_deepseekocr2.py

Commit History

Fix: explicitly cast to bool tensor before masked scatter
8c1b50a
verified

JLFaller commited on

Update: cast to device instead of explicitly cude
2c8ec7c
verified

JLFaller commited on

Fix: don't cast input ids to long
bef6664
verified

JLFaller commited on

Update: support mps
bce55bf
verified

JLFaller commited on