Update asymmetric-tiling-sd-webui-3.0/scripts/asymmetric_tiling_UNIFIED.py
Browse files
asymmetric-tiling-sd-webui-3.0/scripts/asymmetric_tiling_UNIFIED.py
CHANGED
|
@@ -1678,7 +1678,7 @@ def custom_padding_forward(input_tensor, weight, bias, stride, padding, dilation
|
|
| 1678 |
"""
|
| 1679 |
try:
|
| 1680 |
current_step = getattr(shared.state, 'sampling_step', 0)
|
| 1681 |
-
if not (params['start_step'] <= current_step <
|
| 1682 |
return F.conv2d(input_tensor, weight, bias, stride, padding, dilation, groups)
|
| 1683 |
|
| 1684 |
# Проверка "Disable Advanced Tiling during hires pass"
|
|
|
|
| 1678 |
"""
|
| 1679 |
try:
|
| 1680 |
current_step = getattr(shared.state, 'sampling_step', 0)
|
| 1681 |
+
if not (params['start_step'] <= current_step < params['end_step']):
|
| 1682 |
return F.conv2d(input_tensor, weight, bias, stride, padding, dilation, groups)
|
| 1683 |
|
| 1684 |
# Проверка "Disable Advanced Tiling during hires pass"
|