Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into discrete_CQL
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Nov 8, 2023
2 parents 53ef411 + c656d6d commit dfaf89f
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/unittest/linux/scripts/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ dependencies:
- mlflow
- av
- coverage
- ray
- ray<2.8.0
- transformers
- ninja
2 changes: 1 addition & 1 deletion .github/unittest/linux_distributed/scripts/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ dependencies:
- mlflow
- av
- coverage
- ray
- ray<2.8.0
- virtualenv
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ dependencies:
- dm_control -e git+https://github.com/deepmind/dm_control.git@c053360edea6170acfd9c8f65446703307d9d352#egg={dm_control}
- patchelf
- pyopengl==3.1.4
- ray
- ray<2.8.0
2 changes: 1 addition & 1 deletion .github/unittest/linux_optdeps/scripts/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ dependencies:
- pyyaml
- scipy
- coverage
- ray
- ray<2.8.0
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<a href="https://pypi.org/project/torchrl-nightly"><img src="https://img.shields.io/pypi/v/torchrl-nightly?label=nightly" alt="pypi nightly version"></a>
[![Downloads](https://static.pepy.tech/personalized-badge/torchrl?period=total&units=international_system&left_color=blue&right_color=orange&left_text=Downloads)](https://pepy.tech/project/torchrl)
[![Downloads](https://static.pepy.tech/personalized-badge/torchrl-nightly?period=total&units=international_system&left_color=blue&right_color=orange&left_text=Downloads%20(nightly))](https://pepy.tech/project/torchrl-nightly)
[![Discord Shield](https://dcbadge.vercel.app/api/server/xSURYdvu)](https://discord.gg/xSURYdvu)

# TorchRL

Expand Down
1 change: 1 addition & 0 deletions docs/source/reference/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ other cases, the action written in the tensordict is simply the network output.

AdditiveGaussianWrapper
EGreedyModule
EGreedyWrapper
OrnsteinUhlenbeckProcessWrapper

Probabilistic actors
Expand Down
3 changes: 1 addition & 2 deletions torchrl/modules/distributions/continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,7 @@ class TanhDelta(FasterTransformedDistribution):
Args:
param (torch.Tensor): parameter of the delta distribution;
min (torch.Tensor or number): minimum value of the distribution. Default is -1.0;
min (torch.Tensor or number, optional): minimum value of the distribution. Default is 1.0;
min (torch.Tensor or number, optional): minimum value of the distribution. Default is -1.0;
max (torch.Tensor or number, optional): maximum value of the distribution. Default is 1.0;
event_dims (int, optional): number of dimensions describing the action.
Default is 1;
Expand Down

0 comments on commit dfaf89f

Please sign in to comment.