mirror of
https://github.com/huggingface/diffusers.git
synced 2025-12-09 05:54:24 +08:00
Compare commits
2 Commits
temp/debug
...
v0.11.1-pa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7bb9cae11 | ||
|
|
40b0519a8a |
2
.github/workflows/nightly_tests.yml
vendored
2
.github/workflows/nightly_tests.yml
vendored
@@ -61,7 +61,6 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -e .[quality,test]
|
python -m pip install -e .[quality,test]
|
||||||
python -m pip install git+https://github.com/huggingface/accelerate
|
|
||||||
python -m pip install -U git+https://github.com/huggingface/transformers
|
python -m pip install -U git+https://github.com/huggingface/transformers
|
||||||
|
|
||||||
- name: Environment
|
- name: Environment
|
||||||
@@ -135,7 +134,6 @@ jobs:
|
|||||||
${CONDA_RUN} python -m pip install --upgrade pip
|
${CONDA_RUN} python -m pip install --upgrade pip
|
||||||
${CONDA_RUN} python -m pip install -e .[quality,test]
|
${CONDA_RUN} python -m pip install -e .[quality,test]
|
||||||
${CONDA_RUN} python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
|
${CONDA_RUN} python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
${CONDA_RUN} python -m pip install git+https://github.com/huggingface/accelerate
|
|
||||||
|
|
||||||
- name: Environment
|
- name: Environment
|
||||||
shell: arch -arch arm64 bash {0}
|
shell: arch -arch arm64 bash {0}
|
||||||
|
|||||||
2
.github/workflows/pr_tests.yml
vendored
2
.github/workflows/pr_tests.yml
vendored
@@ -59,7 +59,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install libsndfile1-dev -y
|
apt-get update && apt-get install libsndfile1-dev -y
|
||||||
python -m pip install -e .[quality,test]
|
python -m pip install -e .[quality,test]
|
||||||
python -m pip install git+https://github.com/huggingface/accelerate
|
|
||||||
python -m pip install -U git+https://github.com/huggingface/transformers
|
python -m pip install -U git+https://github.com/huggingface/transformers
|
||||||
|
|
||||||
- name: Environment
|
- name: Environment
|
||||||
@@ -127,7 +126,6 @@ jobs:
|
|||||||
${CONDA_RUN} python -m pip install --upgrade pip
|
${CONDA_RUN} python -m pip install --upgrade pip
|
||||||
${CONDA_RUN} python -m pip install -e .[quality,test]
|
${CONDA_RUN} python -m pip install -e .[quality,test]
|
||||||
${CONDA_RUN} python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
|
${CONDA_RUN} python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
|
||||||
${CONDA_RUN} python -m pip install git+https://github.com/huggingface/accelerate
|
|
||||||
${CONDA_RUN} python -m pip install -U git+https://github.com/huggingface/transformers
|
${CONDA_RUN} python -m pip install -U git+https://github.com/huggingface/transformers
|
||||||
|
|
||||||
- name: Environment
|
- name: Environment
|
||||||
|
|||||||
2
.github/workflows/push_tests.yml
vendored
2
.github/workflows/push_tests.yml
vendored
@@ -61,7 +61,6 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -e .[quality,test]
|
python -m pip install -e .[quality,test]
|
||||||
python -m pip install git+https://github.com/huggingface/accelerate
|
|
||||||
python -m pip install -U git+https://github.com/huggingface/transformers
|
python -m pip install -U git+https://github.com/huggingface/transformers
|
||||||
|
|
||||||
- name: Environment
|
- name: Environment
|
||||||
@@ -131,7 +130,6 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -e .[quality,test,training]
|
python -m pip install -e .[quality,test,training]
|
||||||
python -m pip install git+https://github.com/huggingface/accelerate
|
|
||||||
python -m pip install -U git+https://github.com/huggingface/transformers
|
python -m pip install -U git+https://github.com/huggingface/transformers
|
||||||
|
|
||||||
- name: Environment
|
- name: Environment
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -218,7 +218,7 @@ install_requires = [
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="diffusers",
|
name="diffusers",
|
||||||
version="0.11.0", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
|
version="0.11.1", # expected format is one of x.y.z.dev0, or x.y.z.rc1 or x.y.z (no to dashes, yes to dots)
|
||||||
description="Diffusers",
|
description="Diffusers",
|
||||||
long_description=open("README.md", "r", encoding="utf-8").read(),
|
long_description=open("README.md", "r", encoding="utf-8").read(),
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
__version__ = "0.11.0"
|
__version__ = "0.11.1"
|
||||||
|
|
||||||
from .configuration_utils import ConfigMixin
|
from .configuration_utils import ConfigMixin
|
||||||
from .onnx_utils import OnnxRuntimeModel
|
from .onnx_utils import OnnxRuntimeModel
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ class UnCLIPPipeline(DiffusionPipeline):
|
|||||||
uncond_text_encoder_hidden_states = uncond_text_encoder_hidden_states.view(
|
uncond_text_encoder_hidden_states = uncond_text_encoder_hidden_states.view(
|
||||||
batch_size * num_images_per_prompt, seq_len, -1
|
batch_size * num_images_per_prompt, seq_len, -1
|
||||||
)
|
)
|
||||||
uncond_text_mask = uncond_text_mask.repeat(1, num_images_per_prompt)
|
uncond_text_mask = uncond_text_mask.repeat_interleave(num_images_per_prompt, dim=0)
|
||||||
|
|
||||||
# done duplicates
|
# done duplicates
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user