Sophia Davis

Results 9 comments of Sophia Davis

差不多的问题。模型已经下载了。 tokenizer = AutoTokenizer.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True) model = AutoModel.from_pretrained("THUDM/chatglm-6b", trust_remote_code=True, device='cuda') 修改为本地路径。都试过了。好像也是不行,是不是windows环境运行是有问题的。

原来大家都是遇到这个问题。

@Nico0416 是的,一模一样,如图1: 但是我chatglm2-6b跟代码同一级。如图2: 图1: ![image](https://github.com/THUDM/ChatGLM2-6B/assets/14832636/a1b1682b-cfeb-4839-bb21-6ccdb8700978) 图2: ![image](https://github.com/THUDM/ChatGLM2-6B/assets/14832636/5ea98147-89a7-44c2-b100-9d5d66b6b892)

@xuzhiang Error: Explicitly passing a `revision` is encouraged when loading a model with custom code to ensure no malicious code has been contributed in a newer revision. Explicitly passing a...

tokenizer = AutoTokenizer.from_pretrained("F:\model\chatglm2-6b", trust_remote_code=True) model = AutoModel.from_pretrained("F:\model\chatglm2-6b", trust_remote_code=True, device='cuda') This is the same as the mistake above

@dogvane 解决了那个。我是这样解决的: conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia 之前用pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118,好像不行。 但是又遇到新问题: Running on local URL: http://127.0.0.1:7860 To create a public link,...

git lfs下载到一半,能不能继续下载。经常都是下载到一半。