opensi·si

This page lists all the custom layers used by the library, as well as the utility functions and classes it provides for modeling.

Custom layers and utilities

This page lists all the custom layers used by the library, as well as the utility functions and classes it provides for modeling.

Most of those are only useful if you are studying the code of the models in the library.

WeightRenaming

[[autodoc]] GroupWeightRename

WeightConverter

[[autodoc]] WeightConverter

Conversion operations

[[autodoc]] ConversionOps

[[autodoc]] Chunk

[[autodoc]] Concatenate

[[autodoc]] MergeModulelist

[[autodoc]] SplitModulelist

[[autodoc]] PermuteForRope

[[autodoc]] VisionFuseAndPermuteForRope

[[autodoc]] VisionUnfuseAndPermuteForRope

Layers

[[autodoc]] GradientCheckpointingLayer

Attention Functions

[[autodoc]] AttentionInterface - register

Attention Mask Functions

[[autodoc]] AttentionMaskInterface - register

Rotary Position Embedding Functions

[[autodoc]] dynamic_rope_update

Pytorch custom modules

[[autodoc]] pytorch_utils.Conv1D