Skip to content

Commit 43041c5

Browse files
TroyGardenfacebook-github-bot
authored andcommitted
add psutil in requirements.txt (#3601)
Summary: # context * a recent change in torch/distributed adds dependency on psutil, which is already in PyTorch's requirements.txt {F1984038767} {F1984038775} * add `psutil` in TorchRec's requirements Differential Revision: D88755938
1 parent 3a1d5f3 commit 43041c5

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/scripts/install_libs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ elif [ "$CHANNEL" = "test" ]; then
2828
fi
2929

3030

31-
${CONDA_RUN} pip install importlib-metadata click PyYAML
31+
${CONDA_RUN} pip install -r requirements.txt

requirements.txt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
black
22
click
33
cmake
4-
fbgemm-gpu
4+
fbgemm-gpu>=1.4.0
55
hypothesis==6.70.1
66
importlib-metadata
77
iopath
@@ -16,7 +16,5 @@ tqdm
1616
usort
1717
parameterized
1818
PyYAML
19-
20-
# for tests
21-
# https://github.com/pytorch/pytorch/blob/b96b1e8cff029bb0a73283e6e7f6cc240313f1dc/requirements.txt#L3
22-
expecttest
19+
psutil
20+
expecttest>=0.3.0

0 commit comments

Comments
 (0)