Repository navigation
Expose scGPT fine-tuning epochs and batch size - #118
Open
Daesun-Ryu wants to merge 1 commit into
Open
Daesun-Ryu wants to merge 1 commit into
Daesun-Ryu wants to merge 1 commit into
Conversation
rcannood
requested changes
Oct 19, 2026
rcannood
left a comment
Member
There was a problem hiding this comment.
@Daesun-Ryu Thanks for the PR; exposing the epochs and batch size makes sense.
Could you review my comments and apply the changes?
Could you also add yourself as a contributor to _viash.yaml?
Comment on lines
+12
to
+23
|
|
||
| scgpt_training_parameters: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.12" | ||
| - run: python -m pip install PyYAML==6.0.3 | ||
| - run: >- | ||
| python -B -m unittest discover | ||
| -s src/methods/scgpt_finetuned -p test_training_params.py -v |
Member
There was a problem hiding this comment.
Undo these changes to our CI
Suggested change
| scgpt_training_parameters: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - run: python -m pip install PyYAML==6.0.3 | |
| - run: >- | |
| python -B -m unittest discover | |
| -s src/methods/scgpt_finetuned -p test_training_params.py -v |
Comment on lines
+52
to
+53
| * Expose `methods/scgpt_finetuned`'s epochs and batch size as arguments, preserving defaults of 15 and 64. | ||
| Batch size also applies to validation and embedding (issue #111). |
Member
There was a problem hiding this comment.
This isn't a bug fix but a minor change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--epochsand--batch_size, preserving production defaults of 15 and 64 (minimum 1).info.test_default(epochs 2, batch size 4) without changing normal benchmark settings.Validation
Limits
Refs #111