Skip to content

Commit 89f0d27

Browse files
committed
Set sigmoid_scale to default 1.0
1 parent d40f5b1 commit 89f0d27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/library/test_flux_train_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_uniform_sampling(args, noise_scheduler, latents, noise, device):
7777

7878
def test_sigmoid_sampling(args, noise_scheduler, latents, noise, device):
7979
args.timestep_sampling = "sigmoid"
80-
args.sigmoid_scale = 10.0
80+
args.sigmoid_scale = 1.0
8181
dtype = torch.float32
8282

8383
noisy_input, timesteps, sigmas = get_noisy_model_input_and_timesteps(args, noise_scheduler, latents, noise, device, dtype)
@@ -102,7 +102,7 @@ def test_shift_sampling(args, noise_scheduler, latents, noise, device):
102102

103103
def test_flux_shift_sampling(args, noise_scheduler, latents, noise, device):
104104
args.timestep_sampling = "flux_shift"
105-
args.sigmoid_scale = 10.0
105+
args.sigmoid_scale = 1.0
106106
dtype = torch.float32
107107

108108
noisy_input, timesteps, sigmas = get_noisy_model_input_and_timesteps(args, noise_scheduler, latents, noise, device, dtype)

0 commit comments

Comments
 (0)