File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " vector-quantize-pytorch"
3
- version = " 1.14.24 "
3
+ version = " 1.14.25 "
4
4
description = " Vector Quantization - Pytorch"
5
5
authors = [
6
6
{ name = " Phil Wang" , email = " lucidrains@gmail.com" }
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ def forward(
262
262
263
263
forward_kwargs = dict (
264
264
return_all_codes = return_all_codes ,
265
- rand_quantize_dropout_fixed_seed = random .randint (0 , 10_000_000 )
265
+ rand_quantize_dropout_fixed_seed = random .randint (0 , int ( 1e7 ) )
266
266
)
267
267
268
268
# invoke residual vq on each group
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ def forward(
252
252
forward_kwargs = dict (
253
253
mask = mask ,
254
254
return_all_codes = return_all_codes ,
255
- rand_quantize_dropout_fixed_seed = random .randint (0 , 1e7 )
255
+ rand_quantize_dropout_fixed_seed = random .randint (0 , int ( 1e7 ) )
256
256
)
257
257
258
258
# invoke residual vq on each group
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ def forward(
288
288
sample_codebook_temp = sample_codebook_temp ,
289
289
mask = mask ,
290
290
freeze_codebook = freeze_codebook ,
291
- rand_quantize_dropout_fixed_seed = random .randint (0 , 1e7 )
291
+ rand_quantize_dropout_fixed_seed = random .randint (0 , int ( 1e7 ) )
292
292
)
293
293
294
294
# invoke residual vq on each group
You can’t perform that action at this time.
0 commit comments