We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ea8419 commit 6bd80abCopy full SHA for 6bd80ab
torchrl/envs/utils.py
@@ -944,7 +944,6 @@ def make_shape(shape):
944
else NonTensor(
945
shape=tensor.shape,
946
example_data=tensor.data,
947
- example_data=data.data,
948
device=tensor.device,
949
)
950
if is_non_tensor(tensor)
tutorials/sphinx-tutorials/llm.py
@@ -0,0 +1,17 @@
1
+"""
2
+Interacting with LLMs in TorchRL
3
+================================
4
+
5
+**Author**: `Vincent Moens <https://github.com/vmoens>`_
6
7
+.. _gs_first_training:
8
9
+.. note:: To run this tutorial in a notebook, add an installation cell
10
+ at the beginning containing:
11
12
+ .. code-block::
13
14
+ !pip install tensordict
15
+ !pip install torchrl
16
17
0 commit comments