change name of fs_python secondary tier to fs. (#43600)
Signed-off-by: Rotem Shavitt <rshavitt@gmail.com>
This commit is contained in:
@@ -347,12 +347,12 @@ def test_tiering_offloading() -> None:
|
||||
|
||||
def test_fs_tiering_offloading(tmp_path) -> None:
|
||||
"""Tests OffloadingConnector with TieringOffloadingSpec
|
||||
+ fs_python secondary tier."""
|
||||
+ fs secondary tier."""
|
||||
extra_config: dict = {
|
||||
"cpu_bytes_to_use": 1 << 30,
|
||||
"block_size": 48,
|
||||
"spec_name": "TieringOffloadingSpec",
|
||||
"secondary_tiers": [{"type": "fs_python", "root_dir": str(tmp_path)}],
|
||||
"secondary_tiers": [{"type": "fs", "root_dir": str(tmp_path)}],
|
||||
}
|
||||
kv_transfer_config = KVTransferConfig(
|
||||
kv_connector="OffloadingConnector",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"""
|
||||
Unit tests for FileSystemTierManager.
|
||||
|
||||
These tests use real disk I/O to verify the Python filesystem tier implementation.
|
||||
These tests use real disk I/O to verify the filesystem tier implementation.
|
||||
The tier manager writes KV cache blocks to disk and reads them back, verifying
|
||||
data integrity throughout the process.
|
||||
"""
|
||||
@@ -102,7 +102,7 @@ def fs_tier(tmp_path):
|
||||
tier = FileSystemTierManager(
|
||||
offloading_spec=_MOCK_OFFLOADING_SPEC,
|
||||
primary_kv_view=mock_view,
|
||||
tier_type="fs_python",
|
||||
tier_type="fs",
|
||||
root_dir=str(tmp_path),
|
||||
n_read_threads=4,
|
||||
n_write_threads=4,
|
||||
@@ -162,7 +162,7 @@ def test_invalid_path_raises_at_construction():
|
||||
FileSystemTierManager(
|
||||
offloading_spec=_MOCK_OFFLOADING_SPEC,
|
||||
primary_kv_view=mock_view,
|
||||
tier_type="fs_python",
|
||||
tier_type="fs",
|
||||
root_dir="/dev/null/invalid_path",
|
||||
)
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ SecondaryTierFactory.register_tier(
|
||||
)
|
||||
|
||||
SecondaryTierFactory.register_tier(
|
||||
"fs_python",
|
||||
"fs",
|
||||
"vllm.v1.kv_offload.tiering.fs.manager",
|
||||
"FileSystemTierManager",
|
||||
)
|
||||
|
||||
@@ -148,7 +148,7 @@ class DualQueueThreadPool:
|
||||
job_finished, success = state.task_done(True)
|
||||
except Exception as exc:
|
||||
logger.error(
|
||||
"FileSystemTierManagerPython: job %s block I/O failed: %s",
|
||||
"Job %s block I/O failed: %s",
|
||||
state.job_id,
|
||||
exc,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user