Skip to content

Fix computation of micro-scale of S scales. - #1051

Merged
copybara-service[bot] merged 1 commit into
devfrom
test_995216262
Oct 8, 2026
Merged

copybara-service[bot] merged 1 commit into
devfrom
test_995216262

Conversation

@copybara-service

Copy link
Copy Markdown

Fix computation of micro-scale of S scales.

Before it would reduce seperatly v microsales and S scales,
Then multiply two togheter and update max based on that.

Now we explicity compute V-microscales * S, this way values are more accurate, it cost extra multply but previous code had relatively inefficient two reduce max, ops, it is probably perf win anyways.

Before it would reduce seperatly v microsales and S scales,
Then multiply two togheter and update max based on that.

Now we explicity compute V-microscales  * S, this way values are more accurate, it cost extra multply but previous code had relatively inefficient two reduce max, ops, it is probably perf win anyways.

PiperOrigin-RevId: 995681058
@copybara-service
copybara-service Bot merged commit f0e67a0 into dev Oct 8, 2026
11 checks passed
@copybara-service
copybara-service Bot deleted the test_995216262 branch October 8, 2026 09:12
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