Skip to content

Update optimize cas-compute resource usage - #223

Merged
fedorgrab merged 2 commits into
mainfrom
fg/issue-222
Jul 2, 2026
Merged

Update optimize cas-compute resource usage#223
fedorgrab merged 2 commits into
mainfrom
fg/issue-222

Conversation

@fedorgrab

Copy link
Copy Markdown
Collaborator

Decreasing cloud run hardware decreases costs. It's helpful, before running massive benchmarking.

Closes #222

@fedorgrab fedorgrab self-assigned this Jul 2, 2026
@fedorgrab
fedorgrab requested a review from sjfleming July 2, 2026 16:27
@sonarqubecloud

sonarqubecloud Bot commented Jul 2, 2026

Copy link
Copy Markdown

Comment thread CHANGELOG.rst

Changed
~~~~~~~
- Bumped ``cellarium-ml`` to ``0.0.10`` with updated ``torch`` and ``lightning`` dependencies (#218, #219)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

is 0.0.10 still what you're using, or has it been bumped up?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Hmmm. I haven't bumped it in backend yet..

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

okay just checking

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Well, the models are compatible between cellarium ml 10 and 11, it's mostly training features that were updated.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

was wondering if you needed the predict workaround for scVI but maybe you don't? probably not

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

no... because you just directly call the model on a minibatch

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

you don't use the lightning CLI

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This current version I already tested, so it worked. I think maybe let's merge this one, and I will bump cellarium ml version to 0.0.11 in a separate PR?

@sjfleming sjfleming left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Love this PR! One tiny question about cellarium-ml version, but feel free to go ahead and merge!

@fedorgrab
fedorgrab merged commit 70b64b8 into main Jul 2, 2026
3 checks passed
@fedorgrab
fedorgrab deleted the fg/issue-222 branch July 2, 2026 19:27
@fedorgrab
fedorgrab restored the fg/issue-222 branch July 2, 2026 19:27
@fedorgrab
fedorgrab deleted the fg/issue-222 branch July 2, 2026 19:27
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.

Decrease CPU + RAM in Cloud Run settings

2 participants