Skip to content

Commit c1baacc

Browse files
committed
Move src/MaxText/distillation to src/maxtext/trainers/post_train/distillation
1 parent dae905c commit c1baacc

9 files changed

Lines changed: 628 additions & 577 deletions

File tree

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ omit =
1010
[paths]
1111
source =
1212
src/MaxText
13+
src/maxtext
1314
*/site-packages/MaxText
15+
*/site-packages/maxtext
1416

1517
[report]
1618
show_missing = True

.github/workflows/run_pathways_tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ jobs:
9797
export MAXTEXT_PKG_DIR=$(pwd)/src/MaxText
9898
# TODO(b/454659463): Enable test_default_hlo_match after volume mount is supported.
9999
.venv/bin/python3 -m pytest ${{ inputs.pytest_addopts }} -v -m "${FINAL_PYTEST_MARKER}" -k "not AotHloIdenticalTest and not CompileThenLoad" --durations=0
100-
100+
env:
101+
PYTHONPATH: "${{ github.workspace }}/src"
101102
services:
102103
resource_manager:
103104
image: us-docker.pkg.dev/cloud-tpu-v2-images/pathways/server:latest

.github/workflows/run_tests_against_package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ jobs:
122122
--durations=0 \
123123
--deselect "tests/unit/tokenizer_test.py::TokenizerTest::test_detokenize" \
124124
--cov=MaxText \
125+
--cov=maxtext \
125126
--cov-report=xml \
126127
--cov-report=term \
127128
$SPLIT_ARGS

codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ ignore:
3939
- "src/MaxText/inference"
4040
- "src/MaxText/inference_mlperf"
4141
- "src/MaxText/scratch_code"
42+
- "src/MaxText/distillation" # code moved to src/maxtext/trainers/post_train/distillation
4243

4344

4445
flags:

src/MaxText/distillation/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023–2025 Google LLC
1+
# Copyright 2023–2026 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)