[Core] Make BlockSpaceManagerV2 the default BlockManager to use. (#8678)
This commit is contained in:
@@ -107,7 +107,7 @@ class EngineArgs:
|
||||
block_size: int = 16
|
||||
enable_prefix_caching: bool = False
|
||||
disable_sliding_window: bool = False
|
||||
use_v2_block_manager: bool = False
|
||||
use_v2_block_manager: bool = True
|
||||
swap_space: float = 4 # GiB
|
||||
cpu_offload_gb: float = 0 # GiB
|
||||
gpu_memory_utilization: float = 0.90
|
||||
@@ -369,9 +369,12 @@ class EngineArgs:
|
||||
action='store_true',
|
||||
help='Disables sliding window, '
|
||||
'capping to sliding window size')
|
||||
parser.add_argument('--use-v2-block-manager',
|
||||
action='store_true',
|
||||
help='Use BlockSpaceMangerV2.')
|
||||
parser.add_argument(
|
||||
'--use-v2-block-manager',
|
||||
default=EngineArgs.use_v2_block_manager,
|
||||
action='store_true',
|
||||
help='Use BlockSpaceMangerV2. By default this is set to True. '
|
||||
'Set to False to use BlockSpaceManagerV1')
|
||||
parser.add_argument(
|
||||
'--num-lookahead-slots',
|
||||
type=int,
|
||||
|
||||
Reference in New Issue
Block a user