Skip to content

Commit bfd476c

Browse files
committed
style: apply cargo fmt and clippy fixes
1 parent ed6a7d4 commit bfd476c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/core/src/scheduler/cache/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pub mod prefix_cache;
22

33
pub use prefix_cache::{
4-
hash_tokens, CacheKey, CachedEntry, PrefixCache, PrefixCacheConfig, PrefixCacheStats,
4+
CacheKey, CachedEntry, PrefixCache, PrefixCacheConfig, PrefixCacheStats, hash_tokens,
55
};
66

77
/// Cache manager for prefix caching of KV blocks.

crates/core/tests/prefix_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use tokio::sync::mpsc;
22
use vllm_core::engine::Engine;
3-
use vllm_core::kv_cache::{hash_tokens, BlockAllocator, PrefixCache};
3+
use vllm_core::kv_cache::{BlockAllocator, PrefixCache, hash_tokens};
44
use vllm_core::types::{Request, SchedulerConfig, SeqId, TokenId};
55
use vllm_testing::StubModel;
66

crates/core/tests/scheduler_integration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
use vllm_core::scheduler::policy::SjfPolicy;
21
use vllm_core::scheduler::SchedulerEngine;
2+
use vllm_core::scheduler::policy::SjfPolicy;
33
use vllm_core::types::{Request, SchedulerConfig};
44
use vllm_traits::BatchPhase;
55

0 commit comments

Comments
 (0)