1 Star 0 Fork 0

铭轩007/DeepSpeedExamples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
Zhewei Yao 提交于 2023-04-11 10:32 . DeepSpeed Chat Release (#264)
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: trailing-whitespace
exclude: "Megatron-LM/"
files: ^applications/DeepSpeed-Chat/.+
- id: check-yaml
exclude: "Megatron-LM/"
files: ^applications/DeepSpeed-Chat/.+
- id: end-of-file-fixer
exclude: "Megatron-LM/"
files: ^applications/DeepSpeed-Chat/.+
- repo: https://github.com/google/yapf
rev: v0.32.0
hooks:
- id: yapf
files: ^applications/DeepSpeed-Chat/.+
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
args: ['--ignore=E,F403,F405,F541,F841,W', '--select=E9,F,W6', '--per-file-ignores=__init__.py:F401']
files: ^applications/DeepSpeed-Chat/.+
- repo: local
hooks:
- id: check-license
name: check-license
entry: ./scripts/check-license.py
language: script
files: ^applications/DeepSpeed-Chat/.+\.(py|c|cpp|cu|cc|h|hpp|cuh|hip|tr|sh)$
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mingxuan-007/DeepSpeedExamples.git
git@gitee.com:mingxuan-007/DeepSpeedExamples.git
mingxuan-007
DeepSpeedExamples
DeepSpeedExamples
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385