Skip to content

fix(config): Fix openclaw config typo and increase max_tokens_per_mb#959

Merged
rchardx merged 1 commit intomainfrom
sxj/fix_openclaw
Mar 3, 2026
Merged

fix(config): Fix openclaw config typo and increase max_tokens_per_mb#959
rchardx merged 1 commit intomainfrom
sxj/fix_openclaw

Conversation

@fishcrap
Copy link
Copy Markdown
Collaborator

@fishcrap fishcrap commented Mar 2, 2026

Description

Fix openclaw example config with two corrections:

  • Fix typo: total_trian_steps -> total_train_steps
  • Increase max_tokens_per_mb from 10240 to 15360 for better training throughput

Related Issue

N/A

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not
    work as expected)
  • Documentation update
  • Code refactoring (no functional changes)
  • Performance improvement
  • Test coverage improvement

Checklist

  • I have read the Contributing Guide
  • I have run formatting tools (pre-commit or manual)
  • I have run relevant unit tests and they pass
  • I have added tests for new functionality
  • I have updated documentation if needed
  • My branch is up to date with main
  • This PR introduces breaking changes (if yes, fill out details below)
  • If this PR changes documentation, I have built and previewed it locally with
    jb build docs
  • No critical issues raised by AI reviewers (/gemini review)

Breaking Change Details (if applicable):

N/A

Additional Context

Changed file: examples/openclaw/config.yaml


Need help? Check the Contributing Guide or ask in
GitHub Discussions!

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses two minor but impactful adjustments within the openclaw example configuration. It rectifies a spelling error in a key training parameter and optimizes a memory-related setting to improve the efficiency of the training process. These changes aim to ensure the example configuration is accurate and performs better during model training.

Highlights

  • Configuration Typo Fix: Corrected a typo in the openclaw example configuration, changing total_trian_steps to total_train_steps for accuracy.
  • Training Throughput Improvement: Increased the max_tokens_per_mb value from 10240 to 15360 in the openclaw example configuration to enhance training throughput.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • examples/openclaw/config.yaml
    • Corrected a typo from total_trian_steps to total_train_steps.
    • Increased max_tokens_per_mb from 10240 to 15360 to improve training throughput.
Activity
  • No specific review comments or activity have been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request fixes a typo in the total_trian_steps parameter in the openclaw example configuration file and increases the max_tokens_per_mb parameter to improve training throughput. The changes are straightforward and address the described issues.

seed: 1
enable_offload: false
total_train_epochs: 10
total_trian_steps: 100
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.

high

The original parameter name total_trian_steps contains a typo. This correction ensures that the configuration is correctly parsed and used by the training script.

total_train_steps

gradient_checkpointing: true
dtype: bfloat16
mb_spec:
max_tokens_per_mb: 10240
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.

medium

Increasing max_tokens_per_mb can improve training throughput by allowing larger microbatches. This change is intended to optimize performance.

    max_tokens_per_mb: 15360

Copy link
Copy Markdown
Collaborator

@rchardx rchardx left a comment

Choose a reason for hiding this comment

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

LGTM

@rchardx rchardx merged commit bfafdef into main Mar 3, 2026
1 check passed
@rchardx rchardx deleted the sxj/fix_openclaw branch March 3, 2026 03:45
leandermaben pushed a commit to leandermaben/AReaL that referenced this pull request Mar 24, 2026
…nclusionAI#959)

Fix openclaw example config with two corrections:
* Fix typo: total_trian_steps -> total_train_steps
* Increase max_tokens_per_mb from 10240 to 15360 for better training throughput
SathyaGnanakumar pushed a commit to danielkiely/AReaL that referenced this pull request Apr 29, 2026
…nclusionAI#959)

Fix openclaw example config with two corrections:
* Fix typo: total_trian_steps -> total_train_steps
* Increase max_tokens_per_mb from 10240 to 15360 for better training throughput
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