[Docs] Fix docstring continuation indentation in routed_experts.py (#53604)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
d4c4ceb31e
commit
b2dd9ce73d
@@ -1040,13 +1040,13 @@ class RoutedExperts(PluggableLayer):
|
||||
num_experts: Number of logical (non-redundant) experts
|
||||
num_redundant_experts: Number of redundant experts
|
||||
lora_base_layer_prefix: LoRA ``base_layer.`` prefix for the
|
||||
``weight_name`` (checkpoint) side
|
||||
``weight_name`` (checkpoint) side
|
||||
lora_base_layer_prefix_on_param_name: same, for the ``param_name``
|
||||
side. Independent because ``get_expert_mapping`` resolves
|
||||
``param_name`` via ``getattr`` against this layer's bare
|
||||
``w13_weight``/``w2_weight`` (no prefix), while
|
||||
``make_expert_params_mapping`` indexes the model-wide
|
||||
``params_dict`` (prefix included).
|
||||
side. Independent because ``get_expert_mapping`` resolves
|
||||
``param_name`` via ``getattr`` against this layer's bare
|
||||
``w13_weight``/``w2_weight`` (no prefix), while
|
||||
``make_expert_params_mapping`` indexes the model-wide
|
||||
``params_dict`` (prefix included).
|
||||
include_fused: Prepend the fused pre-fused-checkpoint entries
|
||||
|
||||
Returns:
|
||||
|
||||
Reference in New Issue
Block a user