Skip to content

Commit

Permalink
[Versioning] Versions for 0.6 (#2509)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens authored Oct 22, 2024
1 parent 7ff03a2 commit 1431ae5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/td_script.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

export TORCHRL_BUILD_VERSION=0.5.0
export TORCHRL_BUILD_VERSION=0.6.0

${CONDA_RUN} pip install git+https://github.com/pytorch/tensordict.git -U
2 changes: 1 addition & 1 deletion .github/scripts/version_script.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@echo off
set TORCHRL_BUILD_VERSION=0.5.0
set TORCHRL_BUILD_VERSION=0.6.0
echo TORCHRL_BUILD_VERSION is set to %TORCHRL_BUILD_VERSION%
2 changes: 1 addition & 1 deletion .github/workflows/wheels-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
shell: bash
run: |
python3 -mpip install wheel
TORCHRL_BUILD_VERSION=0.5.0 python3 setup.py bdist_wheel
TORCHRL_BUILD_VERSION=0.6.0 python3 setup.py bdist_wheel
- name: Upload wheel for the test-wheel job
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ def _get_pytorch_version(is_nightly, is_local):
# if "PYTORCH_VERSION" in os.environ:
# return f"torch=={os.environ['PYTORCH_VERSION']}"
if is_nightly:
return "torch>=2.5.0.dev"
return "torch>=2.6.0.dev"
elif is_local:
return "torch"
return "torch>=2.4.0"
return "torch>=2.5.0"


def _get_packages():
Expand Down Expand Up @@ -176,7 +176,7 @@ def _main(argv):
if is_nightly:
tensordict_dep = "tensordict-nightly"
else:
tensordict_dep = "tensordict>=0.5.0"
tensordict_dep = "tensordict>=0.6.0"

if is_nightly:
version = get_nightly_version()
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.6.0

1 comment on commit 1431ae5

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'CPU Benchmark Results'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 1431ae5 Previous: 7ff03a2 Ratio
benchmarks/test_replaybuffer_benchmark.py::test_rb_populate[TensorDictReplayBuffer-ListStorage-RandomSampler-400] 37.23934787668954 iter/sec (stddev: 0.16069397040425465) 249.22559625857406 iter/sec (stddev: 0.0005576022827111365) 6.69

This comment was automatically generated by workflow using github-action-benchmark.

CC: @vmoens

Please sign in to comment.