Skip to content

Commit

Permalink
fix: XLA tests updated (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
bagxi authored Apr 17, 2022
1 parent 7bd9eb5 commit 53b4238
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion examples/notebooks/XLA.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,11 @@
"metadata": {},
"outputs": [],
"source": [
"! cd catalyst && pip install -e ."
"! export GIT_REPO=\"catalyst-team/catalyst\" && git clone https://github.com/${GIT_REPO}\n",
"! cd catalyst && git checkout -b $BRANCH origin/$BRANCH && git pull origin $BRANCH\n",
"! pip install \\\n",
" -r ./catalyst/requirements/requirements.txt \\\n",
" -r ./catalyst/requirements/requirements-dev.txt"
]
},
{
Expand Down
6 changes: 5 additions & 1 deletion examples/notebooks/XLA_ddp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,11 @@
"metadata": {},
"outputs": [],
"source": [
"! cd catalyst && pip install -e ."
"! export GIT_REPO=\"catalyst-team/catalyst\" && git clone https://github.com/${GIT_REPO}\n",
"! cd catalyst && git checkout -b $BRANCH origin/$BRANCH && git pull origin $BRANCH\n",
"! pip install \\\n",
" -r ./catalyst/requirements/requirements.txt \\\n",
" -r ./catalyst/requirements/requirements-dev.txt"
]
},
{
Expand Down

0 comments on commit 53b4238

Please sign in to comment.