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

llama-factory ||启智平台

1.在启智平台上找到没有安装tensorflow的镜像作为基础镜像

把llama-factory的github仓库进行下载,得到zip压缩包,上传到启智平台中,如下:

在这里插入图片描述

2. 执行命令如下

进入文件夹

cd LLaMA-Factory-main

更新pip

python -m pip install --upgrade pip

安装依赖:

pip install -e '.[torch,metrics]' -i https://pypi.tuna.tsinghua.edu.cn/simple/

解决依赖包冲突:

pip install --no-deps -e

进行环境验证:

lamafactory-cli train -h 

输出:

oot@i0435935b1bb4582a32b2a2767606073-task0-0:/tmp/code/cats2/LLaMA-Factory-main# lamafactory-cli train -h 
bash: lamafactory-cli: command not found
root@i0435935b1bb4582a32b2a2767606073-task0-0:/tmp/code/cats2/LLaMA-Factory-main# llamafactory-cli train -h 
usage: llamafactory-cli [-h] [--ray_run_name RAY_RUN_NAME] [--ray_storage_path RAY_STORAGE_PATH] [--ray_num_workers RAY_NUM_WORKERS] [--resources_per_worker RESOURCES_PER_WORKER]
                        [--placement_strategy {SPREAD,PACK,STRICT_SPREAD,STRICT_PACK}]

options:
  -h, --help            show this help message and exit
  --ray_run_name RAY_RUN_NAME, --ray-run-name RAY_RUN_NAME
                        The training results will be saved at `<ray_storage_path>/ray_run_name`. (default: None)
  --ray_storage_path RAY_STORAGE_PATH, --ray-storage-path RAY_STORAGE_PATH
                        The storage path to save training results to (default: ./saves)
  --ray_num_workers RAY_NUM_WORKERS, --ray-num-workers RAY_NUM_WORKERS
                        The number of workers for Ray training. Default is 1 worker. (default: 1)
  --resources_per_worker RESOURCES_PER_WORKER, --resources-per-worker RESOURCES_PER_WORKER
                        The resources per worker for Ray training. Default is to use 1 GPU per worker. (default: {'GPU': 1})
  --placement_strategy {SPREAD,PACK,STRICT_SPREAD,STRICT_PACK}, --placement-strategy {SPREAD,PACK,STRICT_SPREAD,STRICT_PACK}
                        The placement strategy for Ray training. Default is PACK. (default: PACK)
http://www.dtcms.com/a/47392.html

相关文章:

  • 快递站点管理|基于springboot校园快递站点管理设计与实现(源码+数据库+文档)
  • 头歌实验---C/C++程序设计:实验四:循环结构程序设计
  • 2024贵州大学计算机考研复试上机真题
  • 慢SQL如何定位处理?
  • RuoYi-Cloud-Plus 配置
  • Linux服务器安装cuda和cudnn实战教程
  • (done) MIT6.S081 Interrupts Lecture 学习笔记
  • GPIO及其应用
  • 面试常见问题
  • C++格式讲解
  • 《Operating System Concepts》阅读笔记:p177-p178
  • 专业便捷PDF软件,即开即用
  • 提升系统效能:从流量控制到并发处理的全面解析
  • Linux:进程替换
  • 【漫话机器学习系列】111.指数之和的对数(Log-Sum-Exp)
  • linux--多进程开发(7) 信号、相关函数、信号集及其操作和捕获、SIGCHLD解决僵尸进程
  • Notepad++下载地址【亲测好用】
  • 2025年生成式人工智能应用工程师学习线路
  • 数据库基础(MySQL)
  • 快速上手 Spring Boot:基础使用详解
  • 什么是kube-proxy?
  • 【每日一题 | 2025】2.24 ~ 3.2
  • 题解 | 牛客周赛82 Java ABCDEF
  • Cargo, the Rust package manager, is not installed or is not on PATH.
  • 基于机器学习的图像分类综述
  • 【0005】Python变量详解
  • 【Vue CLI脚手架开发】——1.Vue脚手架的安装与使用
  • 【Maven】基于IDEA进行Maven工程的创建、构建
  • 蓝桥杯2024年真题java B组 【H.拼十字】
  • 【Python 数据结构 3.顺序表】