zhengruifeng opened a new pull request, #57554: URL: https://github.com/apache/spark/pull/57554
### What changes were proposed in this pull request? This PR updates ALS pre-fit and fitted-model size estimation to include parameter metadata as well as the distributed user and item factor data. ### Why are the changes needed? ALS has a specialized estimate for distributed factor data but previously omitted the model's parameter metadata. Including it makes ALS cache accounting consistent with other Spark ML implementations. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Updated `ALSSuite` to verify the metadata contribution in both estimation paths and assert that a fitted model remains below the expected upper bound. Also ran `git diff --check`, ASCII, and source-line-length checks. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-5) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
