LLaMA-Factory Gradio Environment Configuration
Reference Video:【DeepSeek+LoRA+FastAPI】How Developers Fine-tune Large Models and Expose Interfaces for Backend Calls After following the blogger’s video installation, I encountered some issues. It might be because the blogger was using Linux, while I am using Windows, or the server rented by the blogger had some basic configurations pre-installed. Therefore, following the steps exactly resulted in some errors. 1. Error: pip install -e ".[torch,metrics]" Check the .condarc configurat...
LLaMA-Factory Gradio 环境配置
参考视频:【DeepSeek+LoRA+FastAPI】开发人员如何微调大模型并暴露接口给后端调用 按照博主的视频安装之后遇到一些问题,可能是博主使用的lunix , 而我使用的是windows又或是博主租用的服务器会有一些基础配置,所以按照步骤安装会报一些错误。 1. pip install -e “.[torch,metrics]”报错 查看.condarc配置文件,将default删除,替换成国内的镜像源 123456789show_channel_urls: truechannels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2envs_dirs: - D:\Software\LLaMA-Factory - e:\llama-factory-domain 2. 运行...
VS Code SSH Remote Connection Issues
由于VS新版本1.102.*无法访问Centos的服务器,所以采用了降级处理,但是降级之后重新安装remote点击openFolder一直显示There is no data provider registered that can provide view data. 并且整个控制台卡死放大界面也会出现无法适配的卡顿情况。 尝试更新新版Git,失败没有作用 CentOS 7 升级 git 版本到 2.x 删除%LocalRomingData%\Code下面的数据将所有插件的缓存信息删除,重新打开Vs Code然后登录便能够正确访问,如果显示文件被占用,可以控制台关闭所有的Python程序,怀疑是因为启动了太多的环境导致互相访问同一个remote资源,加上版本不一致造成卡顿
SSH Remote Connection Issues in VS Code
Since the new VS Code version 1.102.* cannot access CentOS servers, I adopted a downgrade approach. However, after downgrading and reinstalling Remote, clicking Open Folder constantly displayed There is no data provider registered that can provide view data. Additionally, the entire console froze, and scaling the interface also resulted in unadapted lag. Attempted to update to a newer version of Git, but it failed and had no effect. CentOS 7 Upgrade git version to 2.x Deleted the data und...
Linux 命令
Linux Command Command Content mv(cp) /root/path/* /etc/ Move/ Copy i Modify ? ** Find wq Exit firewall-cmd --zone=public --list-all Find all firewall open ports ll All file information cd .. Return to the previous level firewall-cmd --zone=public --add-port=11206/tcp --permanent Open port firewall-cmd --reload Configuration takes effect :q! Exit without saving
Linux 命令
Linux命令 命令 内容 mv(cp) /root/path/* /etc/ 移动/复制 i 修改 ? ** 查找 wq 退出 firewall-cmd --zone=public --list-all 查找所有的防火墙开放端口 ll 所有的文件信息 cd .. 返回上一级 firewall-cmd --zone=public --add-port=11206/tcp --permanent 开放端口 firewall-cmd --reload 配置生效 :q! 不保存退出
Lora Model Training Records
Lora-ScriptAbstractThis post primarily records issues encountered during model fine-tuning and some parameter configurations. The graphics cards used were rented from a cloud provider. Multi-card model training mainly uses a modified kohya_ss framework and utilizes deepspeed 3 for multi-GPU training. Single-card training uses the aki toolkit for lora-script training. Bash Config123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616...
Lora模型训练记录
Lora-Script摘要主要是为了记录自己再模型微调的过程中遇到的一些问题,和一些参数配置 ,显卡为云端租赁使用 多卡模型训练主要是使用koyha_ss的框架修改,并使用deepspeed3进行多卡训练 单卡则是使用的aki的工具包进行lora-script的训练 bash config1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465[model]v2 = falsev_parameterization = falsepretrained_model_name_or_path = "./sd-models/realismEngineSDXL_v30VAE.safetensors"vae = "./sd-models/sdxl_vae.safetensors"[dataset]train_data_dir = "./train/001&...
Proxifier连接Cursor与Antigravity
Proxifier连接Cursor与Antigravity 下载proxfier , 可以从官网下载 : https://www.proxifier.com/ 激活31天试用版,可以从网上找一个激活码使用 下载Antigravity , 下载 :https://antigravity.google/?hl=zh-cn 增加Proxy Server,可以从VPN中看到相关的端口之类数据填入进去 增加新的Proxy Rule , 我这里将所有的Antigravity的相关exe进行代理,因为我同时使用cursor与antigravity所以我便将所有的相关都填入进去 打开Antigravity , 点击Sign In WitH Google , 这个时候会有两种情况 如果显示区域不符,则取像谷歌发送更改邮箱地址的请求,更改为美国,我是更改为美国使用新加坡的节点也没有任何问题 如果跳转后显示账户无法登录,但是同时收到了欢迎加入Antigravity的邮件,那么就是本次登录存在我呢提,可以重新关闭这个网站 再次点击Sign In , 并将跳转网址粘贴进无痕浏览器中,...
Connect Cursor and Antigravity with Proxifier
Connect Cursor and Antigravity with Proxifier Download Proxifier. You can download it from the official website: https://www.proxifier.com/ Activate the 31-day trial, or find an activation code online. Download Antigravity. Download: https://antigravity.google/?hl=en Add a Proxy Server. You can find the relevant port and other data from your VPN and enter it. Add a new Proxy Rule. I proxy all relevant executables for Antigravity here. Since I use both Cursor and Antigravity, I entered all...


