Skip to content

Commit c60d904

Browse files
metascroyMichael Gschwindmikekgfb
authored andcommitted
change et branch (#608)
* change et branch * don't use pip for ET * torch_version * extra url * extra index url * reqs * load cuda version * rm torch from req's --------- Co-authored-by: Michael Gschwind <[email protected]> Co-authored-by: Michael Gschwind <[email protected]>
1 parent f8d6aa0 commit c60d904

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fi
3030
# newer version of torch nightly installed later in this script.
3131
#
3232

33-
$PIP_EXECUTABLE install -r requirements.txt
33+
$PIP_EXECUTABLE install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/nightly/cu121
3434

3535
# Since torchchat often uses main-branch features of pytorch, only the nightly
3636
# pip versions will have the required features. The NIGHTLY_VERSION value should

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Requires python >=3.10
22

33
# PyTorch ecosystem
4-
torch
4+
#torch==2.4.0.dev20240422
55
torchao
6-
executorch
6+
# executorch==0.1.2
77

88
# Hugging Face download
99
huggingface_hub

scripts/install_utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ install_pip_dependencies() {
1111
echo "Intalling common pip packages"
1212
pip3 install wheel "cmake>=3.19" ninja zstd
1313
pushd ${TORCHCHAT_ROOT}
14-
pip3 install -r ./requirements.txt
14+
pip3 install -r ./requirements.txt --extra-index-url https://download.pytorch.org/whl/nightly/cu121
1515
popd
1616
}
1717

@@ -27,7 +27,7 @@ clone_executorch() {
2727
pushd ${TORCHCHAT_ROOT}/${ET_BUILD_DIR}/src
2828
git clone https://github.com/pytorch/executorch.git
2929
cd executorch
30-
git checkout viable/strict
30+
git checkout main
3131
echo "Install executorch: submodule update"
3232
git submodule sync
3333
git submodule update --init

0 commit comments

Comments
 (0)