-
Notifications
You must be signed in to change notification settings - Fork 421
Use train_rl for GRPO colab #2618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Can you also remove |
| "\n", | ||
| "## Hardware Requirements\n", | ||
| "\n", | ||
| "- Single host TPUVM (v6e-8/v5p-8) or multi-host with Pathways\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How do we run this colab on mulit-host pathways?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the section
| "# Hardcoded defaults for Llama3.1-8B\n", | ||
| "MODEL_NAME = \"llama3.1-8b\"\n", | ||
| "TOKENIZER_PATH = \"meta-llama/Llama-3.1-8B-Instruct\"\n", | ||
| "HF_MODEL_NAME = \"meta-llama/Llama-3.1-8B-Instruct\"\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is same as TOKENIZER_PATH. Can't we reuse it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reused
| "# Create configuration object\n", | ||
| "config = pyconfig.Config()\n", | ||
| "config.parse_flags(config_argv)\n", | ||
| "print(\"📋 Configuration parameters:\")\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need line 183:191? pyconfig.initialize() at line 195 will already print those configurations.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
718f2e6 to
8635503
Compare
3b4b943 to
e8a9a94
Compare
12ddad6 to
dd0c16a
Compare
Signed-off-by: Vladimir Suvorov <suvorovv@google.com>
Signed-off-by: Vladimir Suvorov <suvorovv@google.com>
Signed-off-by: Vladimir Suvorov <suvorovv@google.com>
Signed-off-by: Vladimir Suvorov <suvorovv@google.com>
Signed-off-by: Vladimir Suvorov <suvorovv@google.com>
Signed-off-by: Vladimir Suvorov <suvorovv@google.com>
Signed-off-by: Vladimir Suvorov <suvorovv@google.com>
Description
Change for using tunix based train_rl
Tests
testing colab
Checklist
Before submitting this PR, please make sure (put X in square brackets):
gemini-reviewlabel.