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
Traceback (most recent call last):
File "/usr/local/bin/llamafactory-cli", line 5, in <module>
from llamafactory.cli import main
File "/app/src/llamafactory/__init__.py", line 17, in <module>
from .cli import VERSION
File "/app/src/llamafactory/cli.py", line 22, in <module>
from . import launcher
File "/app/src/llamafactory/launcher.py", line 15, in <module>
from llamafactory.train.tuner import run_exp
File "/app/src/llamafactory/train/tuner.py", line 26, in <module>
from ..model import load_model, load_tokenizer
File "/app/src/llamafactory/model/__init__.py", line 15, in <module>
from .loader import load_config, load_model, load_tokenizer
File "/app/src/llamafactory/model/loader.py", line 28, in <module>
from .patcher import patch_config, patch_model, patch_tokenizer, patch_valuehead_model
File "/app/src/llamafactory/model/patcher.py", line 30, in <module>
from .model_utils.longlora import configure_longlora
File "/app/src/llamafactory/model/model_utils/longlora.py", line 25, in <module>
from transformers.models.llama.modeling_llama import (
File "/usr/local/lib/python3.10/dist-packages/transformers/models/llama/modeling_llama.py", line 53, in <module>
from flash_attn import flash_attn_func, flash_attn_varlen_func
File "/usr/local/lib/python3.10/dist-packages/flash_attn/__init__.py", line 3, in <module>
from flash_attn.flash_attn_interface import (
File "/usr/local/lib/python3.10/dist-packages/flash_attn/flash_attn_interface.py", line 10, in <module>
import flash_attn_2_cuda as flash_attn_cuda
ImportError: /usr/local/lib/python3.10/dist-packages/flash_attn_2_cuda.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZN3c104cuda9SetDeviceEi
Expected behavior
Successfully started
Others
No response
The text was updated successfully, but these errors were encountered:
Reminder
System Info
System: Ubuntu 20.04.2 LTS
GPU: NVIDIA A100-SXM4-80GB
Docker: 24.0.0
Docker Compose: v2.17.3
llamafactory: 0.8.3.dev0
Reproduction
Dockerfile: https://github.com/hiyouga/LLaMA-Factory/blob/67040f149c0b3fbae443ba656ed0dcab0ebaf730/docker/docker-cuda/Dockerfile
Build Command:
Launch Command:
Error:
Expected behavior
Successfully started
Others
No response
The text was updated successfully, but these errors were encountered: