Skip to content

Commit

Permalink
修改: .github/workflows/pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxinwei committed Dec 12, 2024
1 parent b4970de commit 49fd3aa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
sudo apt-get install graphviz
pip install -U openmim
mim install mmcv
pip install .[doc,dev]
pip install .[doc]
pip install sphinxcontrib-websupport
conda install -c conda-forge pandoc
invoke doc
Expand Down
20 changes: 6 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,38 +64,31 @@ doc = [
"click", # required by mmagic/utils/io_utils.py
"captum",
"Flask-Compress",
"sphinx-autoapi",
]

coverage = [
"pytest-cov",
"pytest-regressions",
"codecov",
"torch_book[test]",
]

dev = [
"pre-commit",
"torch_book[coverage]",
"controlnet_aux",
"diffusers>=0.23.0",
"diffusers",
"einops",
"face-alignment<=1.3.4",
"face-alignment",
"facexlib",
"lmdb",
"lpips",
"mediapipe",
"numpy",
# MMCV depends opencv-python instead of headless, thus we install opencv-python
# Due to a bug from upstream, we skip this two version
# https://github.com/opencv/opencv-python/issues/602
# https://github.com/opencv/opencv/issues/21366
# It seems to be fixed in https://github.com/opencv/opencv/pull/21382
"opencv-python!=4.5.5.62,!=4.5.5.64",
"pandas", # required by mmagic/models/editors/disco_diffusion/guider.py
"opencv-python",
"pandas",
"Pillow",
"resize_right",
"tensorboard",
"transformers>=4.27.4",
"transformers",
"accelerate",
"torch",
"tensorflow",
Expand All @@ -105,7 +98,6 @@ dev = [
]
test = [
"pytest",
"torch_book[doc]",
]

[tool.flit.module]
Expand Down

0 comments on commit 49fd3aa

Please sign in to comment.