Skip to content

Commit f279995

Browse files
authored
Unit test fix (#230)
* Unit test fix * Formatting fixes * Add qwix_quantization * fix qwix test * fix qwix test
1 parent fa69260 commit f279995

13 files changed

Lines changed: 26 additions & 18 deletions

.github/workflows/UnitTests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
ruff check .
5555
- name: PyTest
5656
run: |
57-
HF_HUB_CACHE=/mnt/disks/github-runner-disk/ HF_HOME=/mnt/disks/github-runner-disk/ python3 -m pytest -x --deselect=src/maxdiffusion/tests/ltx_transformer_step_test.py
57+
HF_HUB_CACHE=/mnt/disks/github-runner-disk/ HF_HOME=/mnt/disks/github-runner-disk/ python3 -m pytest --deselect=src/maxdiffusion/tests/ltx_transformer_step_test.py
5858
# add_pull_ready:
5959
# if: github.ref != 'refs/heads/main'
6060
# permissions:

src/maxdiffusion/configs/base14.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,5 @@ cache_dreambooth_dataset: False
231231
quantization: ''
232232
# Shard the range finding operation for quantization. By default this is set to number of slices.
233233
quantization_local_shard_count: -1
234+
use_qwix_quantization: False
234235
compile_topology_num_slices: -1 # Number of target slices, set to a positive integer.

src/maxdiffusion/configs/base21.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,4 @@ quantization: ''
232232
# Shard the range finding operation for quantization. By default this is set to number of slices.
233233
quantization_local_shard_count: -1
234234
compile_topology_num_slices: -1 # Number of target slices, set to a positive integer.
235+
use_qwix_quantization: False

src/maxdiffusion/configs/base_2_base.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,5 @@ cache_dreambooth_dataset: False
246246
quantization: ''
247247
# Shard the range finding operation for quantization. By default this is set to number of slices.
248248
quantization_local_shard_count: -1
249+
use_qwix_quantization: False
249250
compile_topology_num_slices: -1 # Number of target slices, set to a positive integer.

src/maxdiffusion/configs/base_flux_dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,5 +276,6 @@ controlnet_image: 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Goo
276276
quantization: ''
277277
# Shard the range finding operation for quantization. By default this is set to number of slices.
278278
quantization_local_shard_count: -1
279+
use_qwix_quantization: False
279280
compile_topology_num_slices: -1 # Number of target slices, set to a positive integer.
280281

src/maxdiffusion/configs/base_flux_dev_multi_res.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,5 +274,6 @@ controlnet_image: 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Goo
274274
quantization: ''
275275
# Shard the range finding operation for quantization. By default this is set to number of slices.
276276
quantization_local_shard_count: -1
277+
use_qwix_quantization: False
277278
compile_topology_num_slices: -1 # Number of target slices, set to a positive integer.
278279

src/maxdiffusion/configs/base_flux_schnell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,5 @@ controlnet_image: 'https://upload.wikimedia.org/wikipedia/commons/thumb/c/c1/Goo
282282
quantization: ''
283283
# Shard the range finding operation for quantization. By default this is set to number of slices.
284284
quantization_local_shard_count: -1
285+
use_qwix_quantization: False
285286
compile_topology_num_slices: -1 # Number of target slices, set to a positive integer.

src/maxdiffusion/configs/base_xl.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,4 +248,5 @@ enable_mllog: False
248248
quantization: ''
249249
# Shard the range finding operation for quantization. By default this is set to number of slices.
250250
quantization_local_shard_count: -1
251+
use_qwix_quantization: False
251252
compile_topology_num_slices: -1 # Number of target slices, set to a positive integer.

src/maxdiffusion/configs/base_xl_lightning.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,5 @@ enable_mllog: False
198198
quantization: ''
199199
# Shard the range finding operation for quantization. By default this is set to number of slices.
200200
quantization_local_shard_count: -1
201+
use_qwix_quantization: False
201202
compile_topology_num_slices: -1 # Number of target slices, set to a positive integer.

src/maxdiffusion/configs/ltx_video.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,6 @@ cache_latents_text_encoder_outputs: True
9595
per_device_batch_size: 1
9696
compile_topology_num_slices: -1
9797
quantization_local_shard_count: -1
98+
use_qwix_quantization: False
9899
jit_initializers: True
99100
enable_single_replica_ckpt_restoring: False

0 commit comments

Comments
 (0)