1 Star 0 Fork 0

mark/LLaMA-Factory

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 455 Bytes
一键复制 编辑 原始数据 按行查看 历史
hiyouga 提交于 2025-03-13 02:53 +08:00 . [misc] update format (#7277)
.PHONY: build commit license quality style test
check_dirs := scripts src tests setup.py
build:
pip install build && python -m build
commit:
pre-commit install
pre-commit run --all-files
license:
python3 tests/check_license.py $(check_dirs)
quality:
ruff check $(check_dirs)
ruff format --check $(check_dirs)
style:
ruff check $(check_dirs) --fix
ruff format $(check_dirs)
test:
CUDA_VISIBLE_DEVICES= WANDB_DISABLED=true pytest -vv tests/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lsl520/LLaMA-Factory.git
git@gitee.com:lsl520/LLaMA-Factory.git
lsl520
LLaMA-Factory
LLaMA-Factory
main

搜索帮助