当前位置: 首页 > news >正文

llama-factory || AutoDL平台

报错如下:

root@autodl-container-d83e478b47-3def8c49:~/LLaMA-Factory# llamafactory-cli webui
* Running on local URL:  http://0.0.0.0:7860Could not create share link. Missing file: /root/miniconda3/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.3. Please check your internet connection. This can happen if your antivirus software blocks the download of this file. You can install manually by following these steps: 1. Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.3/frpc_linux_amd64
2. Rename the downloaded file to: frpc_linux_amd64_v0.3
3. Move the file to this location: /root/miniconda3/lib/python3.10/site-packages/gradio

解决办法:

cp frpc_linux_amd64_v0.3 /root/miniconda3/lib/python3.10/site-packages/gradio
cd /root/miniconda3/lib/python3.10/site-packages/gradio

提高权限

 chmod +x frpc_linux_amd64_v0.3

重新执行

llamafactory-cli webui
 CUDA_VISIBLE_DEVICES=0 llamafactory-cli webchat   --model_name_or_path /root/autodl-fs/Qwen2.5-1.5B-Instruct   --template qwen

结果:

[INFO|2025-03-02 23:15:05] llamafactory.model.model_utils.attention:157 >> Using torch SDPA for faster training and inference.
[INFO|2025-03-02 23:15:05] llamafactory.model.loader:157 >> all params: 1,543,714,304
* Running on local URL:  http://0.0.0.0:7860
* Running on public URL: https://35d22b023607f1702a.gradio.liveThis share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from the terminal in the working directory to deploy to Hugging Face Spaces (https://huggingface.co/spaces)

下面的链接就是可访问的动态链接

http://www.lryc.cn/news/545315.html

相关文章:

  • 数学建模:MATLAB极限学习机解决回归问题
  • 力扣785. 判断二分图
  • 【硬件工程师成长】之是否需要组合电容进行滤波的考虑
  • Pythonweb开发框架—Flask工程创建和@app.route使用详解
  • 005 公网访问 docker rocketmq
  • C++11中的右值引用和完美转发
  • txt 转 json 使用python语言
  • Android Logcat 高效调试指南
  • 【Linux】从入门到精通:Make与Makefile完全指南
  • leetcode0014 最长公共前缀 -easy
  • 【星云 Orbit-F4 开发板】07. 用判断数据尾来接收据的串口通用程序框架
  • LLVM - 编译器前端 - 将源文件转换为抽象语法树(一)
  • 02_NLP文本预处理之文本张量表示法
  • 深圳SMT贴片加工核心工艺解析
  • P8720 [蓝桥杯 2020 省 B2] 平面切分--set、pair
  • 突破传统:用Polars解锁ICU医疗数据分析新范式
  • 命名实体识别与文本生成算法
  • 10.3 指针进阶_代码分析
  • 深入理解推理语言模型(RLM)
  • 在Nginx上配置并开启WebDAV服务的完整指南
  • 大语言模型学习
  • 夜天之书 #106 Apache 软件基金会如何投票选举?
  • 从Aurora看Xanadu可扩展模块化光量子计算机的现状与未来展望
  • WPS如何添加论文中的文献引用右上角小标
  • 如何理解语言模型
  • 准确-NGINX 1.26.2配置正向代理并编译安装的完整过程
  • 企业如何将ERP和BPM项目结合提升核心竞争力
  • Linux内核以太网驱动分析
  • 分布式微服务系统架构第92集:智能健康监测设备Java开发方案
  • 【推荐项目】023-游泳俱乐部管理系统