Skip to content

Commit e30ad1f

Browse files
cyrjanofacebook-github-bot
authored andcommitted
Remove PyText test cases and code. (#1550)
Summary: Pull Request resolved: #1550 `PyText` has been deprecated since Nov 2022 in favor of torchtext, and test cases have been skip since 2021. Reviewed By: sarahtranfb Differential Revision: D73673337 fbshipit-source-id: 8c6bf657ea1478a79716fac0b789aa7e5d7a4f0a
1 parent 2d0f5c1 commit e30ad1f

File tree

4 files changed

+0
-525
lines changed

4 files changed

+0
-525
lines changed

captum/attr/_models/pytext.py

Lines changed: 0 additions & 327 deletions
This file was deleted.

scripts/install_via_conda.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ while getopts 'nf' flag; do
1515
#conda update -y -n base -c defaults conda
1616
conda update -q --all --yes
1717

18-
# install other frameworks if asked for and make sure this is before pytorch
19-
if [[ $FRAMEWORKS == true ]]; then
20-
pip install -q pytext-nlp
21-
fi
2218

2319
# install CPU version for much smaller download
2420
conda install -q -y pytorch cpuonly -c pytorch

scripts/install_via_pip.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ pip install --upgrade pip --progress-bar off
4646
pip install -e .[dev] --progress-bar off
4747
BUILD_INSIGHTS=1 python setup.py develop
4848

49-
# install other frameworks if asked for and make sure this is before pytorch
50-
if [[ $FRAMEWORKS == true ]]; then
51-
pip install pytext-nlp --progress-bar off
52-
fi
53-
5449
# install pytorch nightly if asked for
5550
if [[ $PYTORCH_NIGHTLY == true ]]; then
5651
pip install --upgrade --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html --progress-bar off

0 commit comments

Comments
 (0)