Skip to content

Fix eviction CLI argument types - #201

Open
ToLiveAndLove wants to merge 1 commit into
bytedance:mainfrom
ToLiveAndLove:fix/eviction-cli-argument-types
Open

ToLiveAndLove wants to merge 1 commit into
bytedance:mainfrom
ToLiveAndLove:fix/eviction-cli-argument-types

Conversation

@ToLiveAndLove

Copy link
Copy Markdown
Contributor

Explicit values for --evict-min-threshold, --evict-max-threshold, and --evict-interval are parsed as strings, causing TypeError during periodic eviction. Add type=float for the thresholds and type=int for the interval, matching their defaults.

Add regression tests for default and explicit values, invalid numeric input, and the periodic eviction call.

Validation: 10 tests passed; pre-commit run --all-files passed. Tests mock native eviction and sleep; GPU/RDMA integration tests were not run.

@CLAassistant

CLAassistant commented Sep 16, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants