Skip to content

Commit cd271a4

Browse files
authored
exclude benchmarks during install (deepspeedai#2698)
1 parent c9c6ab9 commit cd271a4

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎.github/workflows/formatting.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v2
2424

25-
- id: setup-venv
26-
uses: ./.github/workflows/setup-venv
25+
- name: environment
26+
run: |
27+
which python
28+
python --version
2729
2830
- name: Install deepspeed
2931
run: |
@@ -32,4 +34,5 @@ jobs:
3234
3335
- name: Formatting checks
3436
run: |
37+
pip show pre-commit clang-format
3538
pre-commit run --all-files

‎setup.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,9 @@ def create_dir_symlink(src, dest):
291291
"release",
292292
"requirements",
293293
"scripts",
294-
"tests"
294+
"tests",
295+
"benchmarks",
296+
"accelerator"
295297
]),
296298
include_package_data=True,
297299
scripts=[

0 commit comments

Comments
 (0)