Skip to content

Commit 211b1e6

Browse files
committed
idk
1 parent 5c5a1fa commit 211b1e6

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/packaging/post_build_script.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
set -euxo pipefail
33

44
FORGE_WHEEL=${GITHUB_WORKSPACE}/${REPOSITORY}/dist/*.whl
5-
WHL_DIR="${GITHUB_WORKSPACE}/wheels/"
5+
WHL_DIR="${GITHUB_WORKSPACE}/wheels/dist"
66
DIST=dist/
77

88
echo "Uploading wheels to S3"
99
ls -l "${WHL_DIR}"
1010
ls ${FORGE_WHEEL}
1111
echo "Copying files from $WHL_DIR to $DIST"
12-
mkdir -p $DIST && cp -r $WHL_DIR $DIST
12+
mkdir -p $DIST && rsync -r --exclude="/*/" $WHL_DIR/ $DIST/
1313
ls -l "${DIST}"
14-
ls -l "${DIST}/wheels"

.github/packaging/pre_build_cpu.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ build_debug() {
3636
git clone https://github.com/meta-pytorch/torchtune.git
3737
cd "$BUILD_DIR/torchtune"
3838

39-
pip install -r requirements/build.txt
4039
pip wheel -v --no-build-isolation --no-deps . -w "$WHL_DIR"
4140
}
4241

0 commit comments

Comments
 (0)