Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ci #1135

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix ci #1135

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ jobs:
docker exec ${{ env.CONTAINER_NAME }} python3 -m pip install -r tests/comfyui/requirements.txt --user
docker exec ${{ env.CONTAINER_NAME }} python3 -m pip install -r ComfyUI/requirements.txt --user
docker exec ${{ env.CONTAINER_NAME }} python3 -m pip uninstall -y transformer-engine
docker exec ${{ env.CONTAINER_NAME }} python3 -m pip install huggingface-hub==0.25.2 --user
- name: Print pip package versions
run: |
docker exec ${{ env.CONTAINER_NAME }} python3 -m pip list
Expand Down Expand Up @@ -336,6 +337,7 @@ jobs:
run: |
docker exec -w /src/onediff ${{ env.CONTAINER_NAME }} sh -c 'cd onediff_diffusers_extensions && python3 -m pip install -e .'
docker exec ${{ env.CONTAINER_NAME }} python3 -m pip uninstall -y transformer-engine
docker exec ${{ env.CONTAINER_NAME }} python3 -m pip install huggingface-hub==0.25.2 --user
- if: matrix.test-suite == 'diffusers_examples' && startsWith(matrix.image, 'onediff-pro')
run: docker exec -w /src/onediff ${{ env.CONTAINER_NAME }} python3 tests/test_quantize_custom_model.py
- if: matrix.test-suite == 'diffusers_examples' && startsWith(matrix.image, 'onediff-pro')
Expand Down
2 changes: 0 additions & 2 deletions onediff_comfy_nodes/modules/oneflow/onediff_controlnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def from_controllora(
c = cls(
controlnet.control_weights,
global_average_pooling=controlnet.global_average_pooling,
device=controlnet.device,
)
controlnet.copy_to(c)
c._oneflow_model = None
Expand Down Expand Up @@ -117,7 +116,6 @@ def copy(self):
c = OneDiffControlLora(
self.control_weights,
global_average_pooling=self.global_average_pooling,
device=self.device,
)
self.copy_to(c)
c._oneflow_model = self._oneflow_model
Expand Down
Loading