You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2024-12-04 03:22:29,241] [INFO] [real_accelerator.py:219:get_accelerator] Setting ds_accelerator to cuda (auto detect)
Traceback (most recent call last):
File "/workspace/kkkjr/Item/CogVLM/basic_demo/web_demo.py", line 20, in
from utils.utils import chat, llama2_tokenizer, llama2_text_processor_inference, get_image_processor, parse_response
File "/workspace/kkkjr/Item/CogVLM/utils/utils/init.py", line 2, in
from .language import llama2_tokenizer, llama2_text_processor, llama2_text_processor_inference
File "/workspace/kkkjr/Item/CogVLM/utils/utils/language.py", line 1, in
from sat.model.official.llama_model import LLaMAModel, rotate_half
ImportError: cannot import name 'rotate_half' from 'sat.model.official.llama_model' (/home/wpg/.local/lib/python3.10/site-packages/sat/model/official/llama_model.py)
anybody can help? Thanks!
The text was updated successfully, but these errors were encountered:
[2024-12-04 03:22:29,241] [INFO] [real_accelerator.py:219:get_accelerator] Setting ds_accelerator to cuda (auto detect)
Traceback (most recent call last):
File "/workspace/kkkjr/Item/CogVLM/basic_demo/web_demo.py", line 20, in
from utils.utils import chat, llama2_tokenizer, llama2_text_processor_inference, get_image_processor, parse_response
File "/workspace/kkkjr/Item/CogVLM/utils/utils/init.py", line 2, in
from .language import llama2_tokenizer, llama2_text_processor, llama2_text_processor_inference
File "/workspace/kkkjr/Item/CogVLM/utils/utils/language.py", line 1, in
from sat.model.official.llama_model import LLaMAModel, rotate_half
ImportError: cannot import name 'rotate_half' from 'sat.model.official.llama_model' (/home/wpg/.local/lib/python3.10/site-packages/sat/model/official/llama_model.py)
anybody can help? Thanks!
The text was updated successfully, but these errors were encountered: