↓ 1 callersMethodcompute_returns(self, next_value, use_gae, gamma, tau, clip_rewards: int = 0.0)
llarp/policies/transformer_storage.py:170
↓ 1 callersFunctionextract_scalars_from_infos_safe(
infos: list[dict[str, Any]],
ignore_keys: Optional[set[str]],
n_envs: int,
device,
)
llarp/trainer/trainer_loop.py:52
↓ 1 callersFunctionflatten_trajs(
advantages,
buffers,
context_len: int,
current_rollout_step_idx,
hidden_window,
befo
llarp/policies/transformer_storage.py:235
↓ 1 callersFunctiongenerate_all_instructions(
instruct_path: str,
obj_sets: Dict[str, List[str]],
recep_sets: Dict[str, List[str]],
instru
llarp/dataset/generator.py:618
↓ 1 callersFunctionsubsel_llm_hidden_out(
llm_hidden_out, real_n_steps, debug_mode, fetch_befores, is_real_token, att_masks
)
llarp/policies/cores/decoder.py:850