Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Sep 24, 2024
1 parent 8117858 commit b18e666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchrl/collectors/collectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def map_weight(
policy = deepcopy(policy)

param_and_buf.apply(
functools.partial(map_weight, device=policy_device),
functools.partial(map_weight),
filter_empty=False,
).to_module(policy)
return policy, get_original_weights
Expand Down

0 comments on commit b18e666

Please sign in to comment.