Skip to content

PR #3044: move src/MaxText/configs to src/maxtext/configs#3107

Closed
copybara-service[bot] wants to merge 1 commit intomainfrom
test_866611198
Closed

PR #3044: move src/MaxText/configs to src/maxtext/configs#3107
copybara-service[bot] wants to merge 1 commit intomainfrom
test_866611198

Conversation

@copybara-service
Copy link
Contributor

PR #3044: move src/MaxText/configs to src/maxtext/configs

Imported from GitHub PR #3044

Description

move src/MaxText/configs to src/maxtext/configs

New structure of config files

configs/
├── gpu/
│   ├── a3/                          # from configs/a3/
│   │   ├── llama_2_7b/
│   │   └── llama_3.1_405b/
│   └── models/                      # from configs/models/gpu/
│       ├── llama2_70b.yml
│       ├── llama2_7b.yml
│       └── ...
├── inference/
│   ├── multihost/                   # from inference/configs/multi_host/
│   │   ├── disaggregation/
│   │   │   └── llama3_405b_v6e-16-16.yml
│   │   └── interleaved/
│   │       ├── llama2_70b_v5e-16.yml
│   │       ├── llama3_405b_v5e-64.yml
│   │       └── llama3_70b_v5e-16.yml
│   ├── inference.yml                # from configs/inference.yml
│   └── inference_jetstream.yml      # from configs/inference_jetstream.yml
├── post_train/
│   ├── distillation.yml             # from configs/distillation.yml
│   ├── dpo.yml                      # from configs/dpo.yml
│   ├── rl.yml                       # from configs/rl.yml
│   ├── rl_mt_jt.yml                 # from configs/rl_mt_jt.yml
│   ├── sft.yml                      # from configs/sft.yml
│   ├── sft-vision-chartqa.yml       # from configs/sft-vision-chartqa.yml
│   └── sft-vision-slidevqa.yml      # from configs/sft-vision-slidevqa.yml
├── tpu/
│   ├── v4/                          # from configs/v4/
│   ├── v5e/                         # from configs/v5e/
│   ├── v5p/                         # from configs/v5p/
│   └── v6e/                         # from configs/v6e/ + configs/trillium/
├── models/                          # stays in place (configs/models/)
│   ├── deepseek2-16b.yml
│   ├── llama2-7b.yml
│   └── ...                          # (gpu/ subfolder removed, moved to gpu/models/)
├── experimental/                    # stays in place
├── quantization/                    # stays in place
├── __init__.py
├── types.py
├── base.yml
├── decoupled_base_test.yml
├── gpu_smoke_test.yml
├── tpu_smoke_test.yml
├── vllm.yml
└── README.md

Notice 1: Once all tests pass, the "pull ready" label will automatically be assigned.
This label is used for administrative purposes. Please do not add it manually.

Notice 2: For external contributions, our settings currently require an approval from a MaxText maintainer to trigger CI tests.

Tests

Github CI

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.

Copybara import of the project:

--
e2e63f1 by Mohit Khatwani mohitkhatwani@google.com:

move src/configs to src/maxtext/configs

Merging this change closes #3044

@copybara-service copybara-service bot force-pushed the test_866611198 branch 9 times, most recently from aca9540 to 6a4e89d Compare February 7, 2026 01:01
Imported from GitHub PR #3044

# Description

move src/MaxText/configs to src/maxtext/configs

New structure of config files

```
configs/
├── gpu/
│   ├── a3/                          # from configs/a3/
│   │   ├── llama_2_7b/
│   │   └── llama_3.1_405b/
│   └── models/                      # from configs/models/gpu/
│       ├── llama2_70b.yml
│       ├── llama2_7b.yml
│       └── ...
├── inference/
│   ├── multihost/                   # from inference/configs/multi_host/
│   │   ├── disaggregation/
│   │   │   └── llama3_405b_v6e-16-16.yml
│   │   └── interleaved/
│   │       ├── llama2_70b_v5e-16.yml
│   │       ├── llama3_405b_v5e-64.yml
│   │       └── llama3_70b_v5e-16.yml
│   ├── inference.yml                # from configs/inference.yml
│   └── inference_jetstream.yml      # from configs/inference_jetstream.yml
├── post_train/
│   ├── distillation.yml             # from configs/distillation.yml
│   ├── dpo.yml                      # from configs/dpo.yml
│   ├── rl.yml                       # from configs/rl.yml
│   ├── rl_mt_jt.yml                 # from configs/rl_mt_jt.yml
│   ├── sft.yml                      # from configs/sft.yml
│   ├── sft-vision-chartqa.yml       # from configs/sft-vision-chartqa.yml
│   └── sft-vision-slidevqa.yml      # from configs/sft-vision-slidevqa.yml
├── tpu/
│   ├── v4/                          # from configs/v4/
│   ├── v5e/                         # from configs/v5e/
│   ├── v5p/                         # from configs/v5p/
│   └── v6e/                         # from configs/v6e/ + configs/trillium/
├── models/                          # stays in place (configs/models/)
│   ├── deepseek2-16b.yml
│   ├── llama2-7b.yml
│   └── ...                          # (gpu/ subfolder removed, moved to gpu/models/)
├── experimental/                    # stays in place
├── quantization/                    # stays in place
├── __init__.py
├── types.py
├── base.yml
├── decoupled_base_test.yml
├── gpu_smoke_test.yml
├── tpu_smoke_test.yml
├── vllm.yml
└── README.md
```

*Notice 1:* Once all tests pass, the "pull ready" label will automatically be assigned.
This label is used for administrative purposes. Please do not add it manually.

*Notice 2:* For external contributions, our settings currently require an approval from a MaxText maintainer to trigger CI tests.

# Tests

Github CI

# Checklist

Before submitting this PR, please make sure (put X in square brackets):
- [x] I have performed a self-review of my code. For an optional AI review, add the `gemini-review` label.
- [x] I have necessary comments in my code, particularly in hard-to-understand areas.
- [x] I have run end-to-end tests tests and provided workload links above if applicable.
- [x] 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](https://maxtext.readthedocs.io/en/latest/development.html#adding-new-documentation-files).

Copybara import of the project:

--
e2e63f1 by Mohit Khatwani <mohitkhatwani@google.com>:

move src/configs to src/maxtext/configs

Merging this change closes #3044

PiperOrigin-RevId: 866611198
@codecov
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

❌ Patch coverage is 70.00000% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/MaxText/rl/train_rl.py 0.00% 2 Missing ⚠️
src/MaxText/get_flops.py 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

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