Skip to content

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

Open
khatwanimohit wants to merge 1 commit intomainfrom
mohit/move_configs
Open

move src/MaxText/configs to src/maxtext/configs#3044
khatwanimohit wants to merge 1 commit intomainfrom
mohit/move_configs

Conversation

@khatwanimohit
Copy link
Collaborator

@khatwanimohit khatwanimohit commented Jan 29, 2026

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.

@khatwanimohit khatwanimohit changed the title move src/configs to src/maxtext/configs move src/MaxText/configs to src/maxtext/configs Jan 29, 2026
@codecov
Copy link

codecov bot commented Jan 29, 2026

Codecov Report

❌ Patch coverage is 76.47059% with 4 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 ⚠️
src/MaxText/pyconfig.py 90.90% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@khatwanimohit khatwanimohit force-pushed the mohit/move_configs branch 4 times, most recently from 26d178c to e2e63f1 Compare February 6, 2026 19:08
copybara-service bot pushed a commit that referenced this pull request Feb 6, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 6, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 6, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 6, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 6, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 6, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 7, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 7, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 7, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 7, 2026
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
copybara-service bot pushed a commit that referenced this pull request Feb 7, 2026
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
@khatwanimohit khatwanimohit force-pushed the mohit/move_configs branch 5 times, most recently from c244f69 to f79ab76 Compare February 8, 2026 01:52
copybara-service bot pushed a commit that referenced this pull request Feb 8, 2026
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:

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

move src/configs to src/maxtext/configs

Merging this change closes #3044

PiperOrigin-RevId: 867024794
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants