Janus icon indicating copy to clipboard operation
Janus copied to clipboard

Update app_januspro.py

Open wscarval opened this issue 11 months ago • 2 comments

Change visual and device types (issues in MacOS and Windows 11 Version)

wscarval avatar Jan 29 '25 21:01 wscarval

seems the config is not taking effect, config.language_config._attn_implementation = 'eager' if device.type == 'cpu' else 'flash_attention_2'

annizhengnz avatar Jan 30 '25 03:01 annizhengnz

https://github.com/deepseek-ai/Janus/pull/81 is a bit more complete

andrusha avatar Jan 30 '25 19:01 andrusha