Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorM committed Sep 1, 2024
1 parent d21fd8f commit dc4e279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rl_games/algos_torch/a2c_continuous.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def restore_central_value_function(self, fn):
def get_masked_action_values(self, obs, action_masks):
assert False

# @torch.compile() #(mode='max-autotune')
@torch.compile() #(mode='max-autotune')
def calc_losses(self, actor_loss_func, old_action_log_probs_batch, action_log_probs, advantage, curr_e_clip, value_preds_batch, values, return_batch, mu, entropy, rnn_masks):
a_loss = actor_loss_func(old_action_log_probs_batch, action_log_probs, advantage, self.ppo, curr_e_clip)

Expand Down

0 comments on commit dc4e279

Please sign in to comment.