HPT
HPT copied to clipboard
Getting this error while executing the python demo/demo.py
PS E:\HyperGAI\hpt> python demo/demo.py --image_path demo/einstein.jpg --text 'What is unusual about this image?' --model hpt-edge-1-5
Matplotlib is building the font cache; this may take a moment.
flash-attention
package not found, consider installing for better performance: No module named 'flash_attn'.
Current flash-attenton
does not support window_size
. Either upgrade or use attn_implementation='eager'
.
Loading checkpoint shards: 0%| | 0/4 [00:00<?, ?it/s]
Traceback (most recent call last):
File "E:\HyperGAI\hpt\demo\demo.py", line 26, in