Skip to content

Commit

Permalink
[BugFix] Fix nightly tensordict dependency (pytorch#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
skandermoalla authored Jun 21, 2023
1 parent b0e19ff commit e21e4cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ def _main(argv):
name = args.package_name
is_nightly = "nightly" in name
if is_nightly:
tensordict_dep = "tensordict>=0.1.1"
else:
tensordict_dep = "tensordict-nightly"
else:
tensordict_dep = "tensordict>=0.1.1"

if is_nightly:
version = get_nightly_version()
Expand Down

0 comments on commit e21e4cf

Please sign in to comment.