Skip to content

Fix percentage parsing#25

Open
dawidope wants to merge 2 commits intodeepbeepmeep:mainfrom
dawidope:fix-percentage-parsing
Open

Fix percentage parsing#25
dawidope wants to merge 2 commits intodeepbeepmeep:mainfrom
dawidope:fix-percentage-parsing

Conversation

@dawidope
Copy link
Copy Markdown

@dawidope dawidope commented Jan 6, 2026

This PR clarifies the semantics of percentage-based values for the budgets parameter in the README.

Previously, the documentation stated that a string value represents a “percentage of the total VRAM”, but it was not explicit whether this referred to a real percentage (e.g. 2% = 0.02 * VRAM) or a raw multiplier. This ambiguity could easily lead to misinterpretation and incorrect configuration.

The README now explicitly states that percentage strings represent real percentages of total available VRAM (for example, "2%" means 2% of total VRAM).

If anyone relied on a different interpretation of percentage values in the past, this clarification may reveal a behavior change or a mismatch with existing configurations. For this reason, this could be considered a breaking change from a user perspective, depending on how % budgets were previously understood and used.

I am not fully certain whether this warrants a major version bump (e.g. to 4.0.0), as this PR only updates documentation, but I wanted to explicitly call out the potential compatibility implications.

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.

1 participant