Skip to content

Commit d7cadfc

Browse files
committed
update pin
1 parent 3d63968 commit d7cadfc

File tree

3 files changed

+6
-28
lines changed

3 files changed

+6
-28
lines changed

.github/workflows/pull.yml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,32 +1092,11 @@ jobs:
10921092
id: install-torchao-ops
10931093
run: |
10941094
bash torchchat/utils/scripts/build_torchao_ops.sh
1095-
- name: Set git shas
1096-
id: setup-hash
1097-
run: |
1098-
export TORCHCHAT_ROOT=${PWD}
1099-
echo "et-git-hash=$(cat ${TORCHCHAT_ROOT}/install/.pins/et-pin.txt)" >> "$GITHUB_ENV"
1100-
- name: Load or install ET
1101-
id: install-et
1102-
uses: actions/cache@v4
1103-
with:
1104-
path: |
1105-
./et-build
1106-
./torchchat/utils/scripts/install_et.sh
1107-
key: et-build-${{runner.os}}-${{runner.arch}}-${{env.et-git-hash}}-${{ hashFiles('**/install_et.sh') }}
1108-
- if: ${{ steps.install-et.outputs.cache-hit != 'true' }}
1109-
continue-on-error: true
1095+
- name: Install ET
11101096
run: |
11111097
echo "Installing ExecuTorch"
1098+
export TORCHCHAT_ROOT=${PWD}
11121099
bash torchchat/utils/scripts/install_et.sh
1113-
- name: Install ExecuTorch python
1114-
run: |
1115-
echo "Install ExecuTorch python"
1116-
export TORCHCHAT_ROOT=$PWD
1117-
export ET_BUILD_DIR="et-build"
1118-
ENABLE_ET_PYBIND="${1:-true}"
1119-
source "torchchat/utils/scripts/install_utils.sh"
1120-
install_executorch_python_libs $ENABLE_ET_PYBIND
11211100
- name: Install runner
11221101
run: |
11231102
echo "Installing runner"

install/.pins/torchao-pin.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
49b1fb61c8b8eceda755579a2fd92c756d822de2
1+
f1b4c8e9bc10cf80b47bef5a19555956523bb0b3

torchchat/utils/scripts/install_utils.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,9 @@ clone_torchao() {
176176
pushd ${TORCHCHAT_ROOT}/torchao-build/src
177177
echo $pwd
178178

179-
# git clone https://github.com/pytorch/ao.git
180-
# cd ao
181-
# git checkout $(cat ${TORCHCHAT_ROOT}/install/.pins/torchao-pin.txt)
182-
cp -R $HOME/fbsource/fbcode/pytorch/ao .
179+
git clone https://github.com/pytorch/ao.git
180+
cd ao
181+
git checkout $(cat ${TORCHCHAT_ROOT}/install/.pins/torchao-pin.txt)
183182

184183
popd
185184
}

0 commit comments

Comments
 (0)