[Bugfix] Restore support for larger block sizes (#11259)
Signed-off-by: Konrad Zawora <kzawora@habana.ai>
This commit is contained in:
@@ -424,10 +424,12 @@ class EngineArgs:
|
||||
parser.add_argument('--block-size',
|
||||
type=int,
|
||||
default=EngineArgs.block_size,
|
||||
choices=[8, 16, 32],
|
||||
choices=[8, 16, 32, 64, 128],
|
||||
help='Token block size for contiguous chunks of '
|
||||
'tokens. This is ignored on neuron devices and '
|
||||
'set to max-model-len')
|
||||
'set to max-model-len. On CUDA devices, '
|
||||
'only block sizes up to 32 are supported. '
|
||||
'On HPU devices, block size defaults to 128.')
|
||||
|
||||
parser.add_argument(
|
||||
"--enable-prefix-caching",
|
||||
|
||||
Reference in New Issue
Block a user