Skip to content

Commit 5005416

Browse files
ko3n1gwdykashxbaisbhavaniQiyu Wan
committed
ADLR/megatron-lm!3397 - build: Switch to uv
Co-authored-by: Peter Dykas <[email protected]> Co-authored-by: Hongxiao Bai <[email protected]> Co-authored-by: Santosh Bhavani <[email protected]> Co-authored-by: Qiyu Wan <[email protected]> Co-authored-by: Duncan Riach <[email protected]> Co-authored-by: Guyue Huang <[email protected]> Co-authored-by: Kezhi Kong <[email protected]> Co-authored-by: Li Tao <[email protected]> Co-authored-by: Tyler Poon <[email protected]> Co-authored-by: Yu Yao <[email protected]> Co-authored-by: Helen Ngo <[email protected]> Co-authored-by: Mikolaj Blaz <[email protected]> Co-authored-by: Kunlun Li <[email protected]> Co-authored-by: Shunkang Zhang <[email protected]> Co-authored-by: Jakub Szulc <[email protected]> Co-authored-by: Keshav Santhanam <[email protected]> Co-authored-by: Matthieu Le <[email protected]> Co-authored-by: Abhinav Khattar <[email protected]> Co-authored-by: Selvaraj Anandaraj <[email protected]> Co-authored-by: Mcore Bot <[email protected]>
1 parent cca17b7 commit 5005416

31 files changed

+3009
-488
lines changed

.coveragerc

Lines changed: 0 additions & 6 deletions
This file was deleted.

.gitlab/scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ DOCKER_BUILDKIT=1 docker build \
3535
--secret id=LOGGER_INDEX_URL \
3636
--secret id=EXPERIMENTAL_FLASH_ATTN \
3737
--target $STAGE \
38-
-f $FILE \
38+
-f docker/$FILE \
3939
-t ${IMAGE}:${CI_PIPELINE_ID} \
4040
--builder=container \
4141
--build-arg JET_API_VERSION=$JET_API_VERSION \

.gitlab/stages/05.publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,14 @@ publish:test_release_pypi_test_wheel:
114114
- pip install -U --no-cache-dir pip
115115
- |
116116
if [[ "$PLATFORM" == "arm64" ]]; then
117-
pip install --no-cache-dir wheelhouse/*cp311*aarch64.whl
117+
for file in wheelhouse/*cp311*aarch64.whl; do
118+
pip install --no-cache-dir "$file[dev,mlm]"
119+
done
120+
118121
else
119-
pip install --no-cache-dir wheelhouse/*cp311*x86_64.whl
122+
for file in wheelhouse/*cp311*x86_64.whl; do
123+
pip install --no-cache-dir "$file[dev,mlm]"
124+
done
120125
fi
121126
122127
- RELEASE_NUMBER=$(python -c "from megatron import core; print(core.__version__)")

Dockerfile.ci.dev

Lines changed: 0 additions & 97 deletions
This file was deleted.

Dockerfile.ci.lts

Lines changed: 0 additions & 71 deletions
This file was deleted.

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include megatron/core/requirements.txt
22
include megatron/core/README.md
3+
include megatron/core/package_info.py
34
recursive-include requirements *

0 commit comments

Comments
 (0)