Skip to content

Discourage checkpointing large training caches - #133

Merged
andrea-gariboldi merged 2 commits into
mainfrom
large-git-git
Jul 31, 2026
Merged

Discourage checkpointing large training caches#133
andrea-gariboldi merged 2 commits into
mainfrom
large-git-git

Conversation

@dimostzim

Copy link
Copy Markdown
Contributor

an attempt to stop the agent putting large cache files on .git

@andrea-gariboldi

Copy link
Copy Markdown
Contributor

Good job.
This branch needs to be rebased on main to solve the conflicts.
Left small comment in code.

Comment thread src/agents/steps/model_training.py Outdated
- Train until validation performance stops improving, and output the best checkpoint.
- Save all artifacts needed for inference (model file, tokenizers, etc...).
- Save only artifacts needed for inference (model file, tokenizers, small preprocessing metadata, small copied source files needed by inference, etc...).
- Do not save regenerable training caches, full train/validation feature tensors, embedding arrays, PHACT tensor arrays, downloaded package caches, or prediction-diagnostic dumps in training_artifacts or leave them elsewhere in the step directory.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think the prompt gets too much in detail (e.g. PHACT tensor arrays is specific to a problem). i.e. I would try to make it more general

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.

2 participants