Skip to content

Commit 8be31b4

Browse files
czxttklfacebook-github-bot
authored andcommitted
Torchrec gpu stable (#660)
Summary: Pull Request resolved: #660 use this Differential Revision: D38185498 fbshipit-source-id: 72785c9d62ddcc14d2a8529268261137e74b30a2
1 parent 1002d12 commit 8be31b4

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ commands:
172172
# "-e" option will activate the development mode (a symlink to the code in ReAgent
173173
# will be created in site-packages directory)
174174
command: |
175-
pip install -e .[gym,test,torchrec_gpu] --pre --extra-index-url https://download.pytorch.org/whl/cu113 -f https://download.pytorch.org/whl/nightly/torchrec_nightly/ --progress-bar off
175+
pip install -e .[gym,test,torchrec_gpu] --pre --extra-index-url https://download.pytorch.org/whl/cu113 -f https://download.pytorch.org/whl/torchrec/ --progress-bar off
176176
- unless:
177177
condition: << parameters.is_ubuntu_gpu >>
178178
steps:
179179
- run:
180180
command: |
181-
pip install -e .[gym,test,torchrec_cpu] --pre --extra-index-url https://download.pytorch.org/whl/cpu -f https://download.pytorch.org/whl/nightly/torchrec_nightly_cpu/ --progress-bar off
181+
pip install -e .[gym,test,torchrec_cpu] --pre --extra-index-url https://download.pytorch.org/whl/cpu -f https://download.pytorch.org/whl/torchrec_cpu/ --progress-bar off
182182
183183
184184
run_unittest:

setup.cfg

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,13 @@ ax = ax-platform
5353

5454
lite = nevergrad>=0.4.3
5555

56-
torchrec_gpu = torchrec-nightly
56+
torchrec_gpu =
57+
fbgemm-gpu
58+
torchrec
5759

58-
torchrec_cpu = torchrec-nightly-cpu
60+
torchrec_cpu =
61+
fbgemm-gpu-cpu
62+
torchrec-cpu
5963

6064

6165
###########

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extras =
2626
test
2727
torchrec_cpu
2828
install_command =
29-
pip install --pre --extra-index-url https://download.pytorch.org/whl/cpu -f https://download.pytorch.org/whl/nightly/torchrec_nightly_cpu/ {opts} {packages} --progress-bar off
29+
pip install --pre --extra-index-url https://download.pytorch.org/whl/cpu -f https://download.pytorch.org/whl/torchrec_cpu/ {opts} {packages} --progress-bar off
3030
commands =
3131
pytest -n2 -m "(not serial) and (not seq2slate_long)"
3232
pytest -n0 -m "serial"
@@ -39,7 +39,7 @@ extras =
3939
test
4040
torchrec_gpu
4141
install_command =
42-
pip install --pre --extra-index-url https://download.pytorch.org/whl/cu113 -f https://download.pytorch.org/whl/nightly/torchrec_nightly/ {opts} {packages} --progress-bar off
42+
pip install --pre --extra-index-url https://download.pytorch.org/whl/cu113 -f https://download.pytorch.org/whl/torchrec/ {opts} {packages} --progress-bar off
4343

4444

4545
[testenv:circleci_misc_unittest]

0 commit comments

Comments
 (0)