File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 33setup (
44 name = 'vector_quantize_pytorch' ,
55 packages = find_packages (),
6- version = '1.6.22 ' ,
6+ version = '1.6.23 ' ,
77 license = 'MIT' ,
88 description = 'Vector Quantization - Pytorch' ,
99 long_description_content_type = 'text/markdown' ,
Original file line number Diff line number Diff line change @@ -689,8 +689,6 @@ def __init__(
689689 self .orthogonal_reg_max_codes = orthogonal_reg_max_codes
690690
691691 assert not (ema_update and learnable_codebook ), 'learnable codebook not compatible with EMA update'
692- assert not learnable_codebook or (learnable_codebook and in_place_codebook_optimizer is not None ), \
693- 'Must specify an optimizer for the codebook embedding if learnable_codebook is set to True'
694692
695693 assert 0 <= sync_update_v <= 1.
696694 assert not (sync_update_v > 0. and not learnable_codebook ), 'learnable codebook must be turned on'
You can’t perform that action at this time.
0 commit comments