Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Versioning] v0.5 bump #2267

Merged
merged 29 commits into from
Jul 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
amend
  • Loading branch information
vmoens committed Jul 9, 2024
commit 1aec5248df374fff4050db43b82a0ac016bc12b4
4 changes: 3 additions & 1 deletion torchrl/envs/libs/vmas.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,9 @@ def _build_env(
env=vmas.make_env(
scenario=scenario,
num_envs=num_envs,
device=self.device,
device=self.device
if self.device is not None
else torch.get_default_device(),
continuous_actions=continuous_actions,
max_steps=max_steps,
seed=seed,
Expand Down
Loading