Skip to content

docs(_debug): document debug_args training setting#829

Merged
gabrielfruet merged 2 commits into
mainfrom
gabriel-trn-2255-document-debug-args
Jul 7, 2026
Merged

docs(_debug): document debug_args training setting#829
gabrielfruet merged 2 commits into
mainfrom
gabriel-trn-2255-document-debug-args

Conversation

@gabrielfruet

@gabrielfruet gabrielfruet commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #814.

Adds the reference docs for the new debug_args training setting:

  • New "Debug" section + table in docs/source/settings/train_settings.md, with a note about the torch_compile_args={"disable": False} conflict.

The Field(description=...) entries on DebugUnderflowOverflowArgs and the debug_args: kwarg docstring entries on the train_*() functions live in PR #814 alongside the code.

@gabrielfruet
gabrielfruet force-pushed the gabriel-trn-2255-implement-debugunderflowoverflow-from-huggingface branch from e20e8aa to e18239b Compare June 30, 2026 17:31
Base automatically changed from gabriel-trn-2255-implement-debugunderflowoverflow-from-huggingface to main July 1, 2026 12:39
gabrielfruet and others added 2 commits July 3, 2026 14:39
…gs kwarg

Adds:
- Field(description=...) on all 4 DebugUnderflowOverflowArgs fields (enabled, max_frames_to_save, trace_batch_nums, abort_after_batch_num).
- debug_args entry in all 7 train_* docstrings (image_classification, image_classification_multihead, instance_segmentation, object_detection, panoptic_segmentation, semantic_segmentation, semantic_segmentation_multihead). Notes incompatibility with torch_compile_args={'disable': False}.
- Top-table row + new 'Debug' section in docs/source/settings/train_settings.md with sub-table documenting underflow_overflow.* (enabled, max_frames_to_save, trace_batch_nums, abort_after_batch_num) and a {warning} about the torch.compile conflict.
@gabrielfruet
gabrielfruet force-pushed the gabriel-trn-2255-document-debug-args branch from e305a82 to a12ab6f Compare July 3, 2026 17:39
@gabrielfruet

Copy link
Copy Markdown
Contributor Author

/review

@gabrielfruet
gabrielfruet merged commit d46d756 into main Jul 7, 2026
13 checks passed
@gabrielfruet
gabrielfruet deleted the gabriel-trn-2255-document-debug-args branch July 7, 2026 13:15
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