misc fixes 202507#2937
Conversation
WalkthroughThe updates include a configuration change in the code coverage settings to mark the project coverage status as informational, a modification in a utility function to restrict specific log messages to the main process only during dataset loading, and an extension of a function to support a new model type Changes
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
🔇 Additional comments (1)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/axolotl/utils/data/shared.py (1)
467-470: Align remaining LOG.info calls for consistencyElsewhere in the same function (
save_preprocessed_datasetat lines 431-435) the push-to-hub message is still broadcast to all processes (main_process_only=False).
If that wasn’t intentional, consider toggling it for symmetry:- LOG.info( - "Pushing merged prepared dataset to Huggingface hub at " - f"{cfg.push_dataset_to_hub} (version {dataset_hash})...", - main_process_only=False, - ) + LOG.info( + "Pushing merged prepared dataset to Huggingface hub at " + f"{cfg.push_dataset_to_hub} (version {dataset_hash})...", + main_process_only=True, + )
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
codecov.yml(1 hunks)src/axolotl/utils/data/shared.py(1 hunks)
🔇 Additional comments (2)
codecov.yml (1)
25-25: Confirm Codecov “informational” flag pathThe new
informational: truekey is helpful for preventing status-check failures on coverage drops.
Double-check that this nesting (coverage.status.project.default) matches the latest Codecov spec; otherwise the flag will be ignored.src/axolotl/utils/data/shared.py (1)
461-465: Good move: suppress log spam on workersRestricting this message to the main process reduces noise in multi-process runs. ✅
No issues spotted.
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
Summary by CodeRabbit
Chores
Refactor
New Features