================= torchtune.modules ================= .. currentmodule:: torchtune.modules Modeling Components and Building Blocks --------------------------------------- .. autosummary:: :toctree: generated/ :nosignatures: CausalSelfAttention FeedForward KVCache get_cosine_schedule_with_warmup RotaryPositionalEmbeddings RMSNorm Tokenizer TransformerDecoderLayer TransformerDecoder PEFT Components --------------- .. autosummary:: :toctree: generated/ :nosignatures: peft.LoRALinear peft.AdapterModule peft.get_adapter_params peft.set_trainable_params