Skip to content

Conversation

@mydatascience
Copy link
Collaborator

Description

Change for using tunix based train_rl

Tests

testing colab

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

Signed-off-by: Vladimir Suvorov <[email protected]>
@SurbhiJainUSC
Copy link
Collaborator

Can you also remove grpo_llama3_1_70b_demo_pw.py from here: https://github.com/AI-Hypercomputer/maxtext/blob/main/docs/tutorials/grpo_with_pathways.md?

"\n",
"## Hardware Requirements\n",
"\n",
"- Single host TPUVM (v6e-8/v5p-8) or multi-host with Pathways\n",
Copy link
Collaborator

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?

"# 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",
Copy link
Collaborator

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?

"# Create configuration object\n",
"config = pyconfig.Config()\n",
"config.parse_flags(config_argv)\n",
"print(\"📋 Configuration parameters:\")\n",
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

draft Draft PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants