File tree Expand file tree Collapse file tree 2 files changed +6
-16
lines changed
Expand file tree Collapse file tree 2 files changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -39,29 +39,17 @@ jobs:
3939 run : |
4040 python -m pip install --upgrade pip setuptools wheel
4141
42- - name : Install TorchOpt
42+ - name : Install DeepSeek-VL
4343 env :
4444 USE_FP16 : " OFF"
4545 TORCH_CUDA_ARCH_LIST : " Auto"
4646 run : |
4747 python -m pip install torch numpy pybind11
4848 python -m pip install -vvv --no-build-isolation --editable '.[lint]'
4949
50- - name : pre-commit
50+ - name : black
5151 run : |
52- make pre-commit
53-
54- - name : ruff
55- run : |
56- make ruff
57-
58- - name : flake8
59- run : |
60- make flake8
61-
62- - name : isort and black
63- run : |
64- make py-format
52+ make black-format
6553
6654 - name : addlicense
6755 run : |
Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ py-format: py-format-install
6666 $(PYTHON ) -m isort --project $(PROJECT_PATH ) --check $(PYTHON_FILES ) && \
6767 $(PYTHON ) -m black --check $(PYTHON_FILES )
6868
69+ black-format : py-format-install
70+ $(PYTHON ) -m black --check $(PYTHON_FILES )
71+
6972ruff : ruff-install
7073 $(PYTHON ) -m ruff check .
7174
@@ -85,7 +88,6 @@ lint: ruff flake8 py-format mypy pylint addlicense
8588format : py-format-install ruff-install addlicense-install
8689 $(PYTHON ) -m isort --project $(PROJECT_PATH ) $(PYTHON_FILES )
8790 $(PYTHON ) -m black $(PYTHON_FILES )
88- $(PYTHON ) -m ruff check . --fix --exit-zero
8991 addlicense -c $(COPYRIGHT ) -ignore tests/coverage.xml -l mit -y 2023-$(shell date +"% Y") $(SOURCE_FOLDERS ) cli_chat.py inference.py
9092
9193clean-py :
You can’t perform that action at this time.
0 commit comments