Skip to content

Conversation

Innixma
Copy link
Contributor

@Innixma Innixma commented Apr 28, 2025

Issue #, if available:

Description of changes:

  • Improve LightGBM memory estimate

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@Innixma Innixma added this to the 1.3 Release milestone Apr 28, 2025
Copy link

Job PR-5101-a5612fb is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-5101/a5612fb/index.html

if available_mb != 0:
model_size_memory_ratio = estimated_model_size_mb / available_mb
else:
model_size_memory_ratio = 100
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe semantically we can have a better way than assigning it to 100? But I'm fine with it as 100 is a large enough number for thresholding.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, having a separate flag to flip for that would be logically a bit cleaner, but I wanted to ensure that whatever I did here had the lowest possible chance of introducing a bug.

@Innixma Innixma merged commit 7623e38 into autogluon:master Apr 30, 2025
27 checks passed
FireballDWF pushed a commit to FireballDWF/autogluon that referenced this pull request May 6, 2025
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.

4 participants