We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a460d3c commit c54370cCopy full SHA for c54370c
setup.py
@@ -65,7 +65,7 @@
65
66
67
this_directory = Path(__file__).parent
68
-long_description = (this_directory / "README_android.md").read_text()
+long_description = (this_directory / "README.md").read_text()
69
70
setup(
71
name="rl_factory",
verl/protocol.py
@@ -290,7 +290,7 @@ def load_from_disk(filepath) -> "DataProto":
290
291
def print_size(self, prefix=""):
292
size_of_tensordict = 0
293
- if self.batch is None:
+ if self.batch is not None:
294
for key, tensor in self.batch.items():
295
size_of_tensordict += tensor.element_size() * tensor.numel()
296
size_of_numpy_array = 0
0 commit comments