[Bugfix] Fix block size validation (#10938)

This commit is contained in:
chenqianfzh 2024-12-15 16:38:40 -08:00 committed by GitHub
parent da6f409246
commit 69ba344de8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -425,7 +425,7 @@ class EngineArgs:
parser.add_argument('--block-size',
type=int,
default=EngineArgs.block_size,
choices=[8, 16, 32, 64, 128],
choices=[8, 16, 32],
help='Token block size for contiguous chunks of '
'tokens. This is ignored on neuron devices and '
'set to max-model-len')