File tree Expand file tree Collapse file tree 3 files changed +6
-28
lines changed Expand file tree Collapse file tree 3 files changed +6
-28
lines changed Original file line number Diff line number Diff line change @@ -1092,32 +1092,11 @@ jobs:
1092
1092
id : install-torchao-ops
1093
1093
run : |
1094
1094
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
1110
1096
run : |
1111
1097
echo "Installing ExecuTorch"
1098
+ export TORCHCHAT_ROOT=${PWD}
1112
1099
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
1121
1100
- name : Install runner
1122
1101
run : |
1123
1102
echo "Installing runner"
Original file line number Diff line number Diff line change 1
- 49b1fb61c8b8eceda755579a2fd92c756d822de2
1
+ f1b4c8e9bc10cf80b47bef5a19555956523bb0b3
Original file line number Diff line number Diff line change @@ -176,10 +176,9 @@ clone_torchao() {
176
176
pushd ${TORCHCHAT_ROOT} /torchao-build/src
177
177
echo $pwd
178
178
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)
183
182
184
183
popd
185
184
}
You can’t perform that action at this time.
0 commit comments