Skip to content

Commit

Permalink
adding tensordict dependency in validate_binaries.sh (#2756)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #2756

# context
* failed to directly install torchrec from nightly build: P1736807637
* the reason is that tensordict is not available from https://download.pytorch.org/whl/nightly/*
* so the tensordict has to be installed separately

# changes
* install current tensordict version in the validate_binaries.sh script

Reviewed By: dstaay-fb

Differential Revision: D69950708

fbshipit-source-id: 2afc83eccc8169f0bd80d3d117059f914d3e16b2
  • Loading branch information
TroyGarden authored and facebook-github-bot committed Feb 21, 2025
1 parent 7420484 commit 455d976
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/validate_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ conda run -n "${CONDA_ENV}" pip install fbgemm-gpu --index-url "$PYTORCH_URL"
# install requirements from pypi
conda run -n "${CONDA_ENV}" pip install torchmetrics==1.0.3

# install tensordict from pypi
conda run -n "${CONDA_ENV}" pip install tensordict==0.7.1

# install torchrec
conda run -n "${CONDA_ENV}" pip install torchrec --index-url "$PYTORCH_URL"

Expand Down

0 comments on commit 455d976

Please sign in to comment.