Skip to content

[infra] Skip extra forward pass when policy loss does not require old_action_log_probs #1692

@erictang000

Description

@erictang000

This happens for async RL or in general when mini_batch_size == train_batch_size - we unnecessarily do a fwd pass on the old policy model even though the policy loss may not use it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions