Skip to content

[fix] Fix numerical accuracy issue in dynamic sampling filter#1674

Merged
yitianlian merged 1 commit intoTHUDM:mainfrom
Django-Jiang:fix/dynamic-sampling-numerical-accuracy
Mar 7, 2026
Merged

[fix] Fix numerical accuracy issue in dynamic sampling filter#1674
yitianlian merged 1 commit intoTHUDM:mainfrom
Django-Jiang:fix/dynamic-sampling-numerical-accuracy

Conversation

@Django-Jiang
Copy link
Copy Markdown
Contributor

Use float64 instead of float32 and compare std against 1e-6 epsilon instead of exact 0.0 to avoid false negatives from floating-point precision errors.

Fix radixark/miles#570

Use float64 instead of float32 and compare std against 1e-6 epsilon
instead of exact 0.0 to avoid false negatives from floating-point
precision errors.

Made-with: Cursor
Copy link
Copy Markdown
Collaborator

@yitianlian yitianlian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yitianlian yitianlian merged commit dd6888d into THUDM:main Mar 7, 2026
2 checks passed
dongyuanjushi pushed a commit to dongyuanjushi/slime that referenced this pull request Mar 18, 2026
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.

[Bug] Dynamic Filtering Data Precision Error

2 participants