下载这个文件,双击,安装:https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msisudo sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.listsudo dpkg-reconfigure localessudo apt updatesudo apt install cmake gcc g++ git这里有几条命令,效果一样,哪个速度快用哪个:git clone https://ghproxy.com/https://github.com/ztxz16/fastllm.gitgit clone https://github.moeyy.xyz/https://github.com/ztxz16/fastllm.gitgit clone https://kgithub.com/ztxz16/fastllm.gitgit clone https://hub.fgit.gq/ztxz16/fastllm.gitgit clone https://gitclone.com/github.com/ztxz16/fastllm.git继续:cd fastllmmkdir buildcd build有N卡,那么:cmake .. -DUSE_CUDA=ON无N卡,那么:cmake .. -DUSE_CUDA=OFF然后:make -j最后,从这个链接下载模型文件:https://huggingface.co/huangyuyang/chatglm2-6b-int4.flm/tree/main按照视频中的操作拷贝最后: ./webui -p chatglm2-6b-int4.flm --port 1234 输出一个ip地址,访问它。