Skip to content

Commit

Permalink
pre-commit hook (microsoft#3994)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangruohui authored Jul 19, 2023
1 parent 488a1b9 commit c79a104
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ repos:
- id: check-torchdist
name: check-torchdist
entry: ./scripts/check-torchdist.py
language: script
language: python
exclude: ^(deepspeed/comm/|docs/|benchmarks/|scripts/check-torchdist.py|deepspeed/moe/sharded_moe.py|deepspeed/runtime/comm/coalesced_collectives.py|deepspeed/elasticity/elastic_agent.py|deepspeed/launcher/launch.py|tests/unit/comm/test_dist.py)
# Specific deepspeed/ files are excluded for now until we wrap ProcessGroup in deepspeed.comm

Expand All @@ -47,7 +47,7 @@ repos:
- id: check-license
name: check-license
entry: ./scripts/check-license.py
language: script
language: python
files: \.(py|c|cpp|cu|cc|h|hpp|cuh|hip|tr)$

- repo: https://github.com/codespell-project/codespell
Expand All @@ -74,6 +74,6 @@ repos:
- id: check-torchcuda
name: check-torchcuda
entry: ./scripts/check-torchcuda.py
language: script
language: python
exclude: ^(.github/workflows/|scripts/check-torchcuda.py|docs/_tutorials/accelerator-abstraction-interface.md|accelerator/cuda_accelerator.py|deepspeed/inference/engine.py|deepspeed/model_implementations/transformers/clip_encoder.py|deepspeed/model_implementations/diffusers/vae.py|deepspeed/model_implementations/diffusers/unet.py|op_builder/spatial_inference.py|op_builder/transformer_inference.py|op_builder/builder.py|setup.py|tests/unit/ops/sparse_attention/test_sparse_attention.py)
# Specific deepspeed/ files are excluded for now until we wrap ProcessGroup in deepspeed.comm

0 comments on commit c79a104

Please sign in to comment.