-
运行下面代码时报错
import argparse
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True)
from model import chat, VisualGLMModel
model…
-
RuntimeError: Error building extension 'fused_adam'
-
root@autodl-container-9ed51187fa-29111776:~/autodl-tmp# bash finetune/finetune_visualglm.sh
NCCL_DEBUG=info NCCL_IB_DISABLE=0 NCCL_NET_GDR_LEVEL=2 deepspeed --master_port 16666 --hostfile hostfile_si…
-
![image](https://github.com/WangRongsheng/XrayGLM/assets/64970397/51a5f0d8-007d-46c8-8a62-2e778acca74c)
-
![5f7fb8d294af2642a5609882c2d99af](https://github.com/THUDM/VisualGLM-6B/assets/24350444/8f9c4596-30e9-4c50-a1bd-d9c15fce6f1f)
-
希望VisualGLM越来越好!
-
![image](https://github.com/THUDM/VisualGLM-6B/assets/37207093/f1bdb1f4-6071-4112-836a-f625c5e6e9e3)
的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走 的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路走的路…
-
[2024-05-18 02:42:21,849] [INFO] [RANK 0] > successfully loaded /root/.sat_models/visualglm-6b/1/mp_rank_00_model_states.pt
/opt/conda/lib/python3.8/site-packages/huggingface_hub/file_download.py:113…
-
NCCL_DEBUG=info NCCL_IB_DISABLE=0 NCCL_NET_GDR_LEVEL=2 deepspeed --master_port 16666 --hostfile hostfile_single finetune_visualglm.py --experiment-name finetune-visualglm-6b --model-parallel-size 1 --…
-
我使用api的时候碰到这个问题:
```
[2023-09-13 19:47:17,004] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2023-09-13 19:47:22,544] [INFO] building VisualGLMModel…