Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/peft/peft_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1208,10 +1208,6 @@ def get_layer_status(self) -> list[TunerLayerStatus]:
- `quantization_backend` (`str` or `None`):
The name of the quantization backend, e.g. `"bnb 4bit"`, or `None` if not quantized.

Args:
model ([`~PeftModel`]):
The model to get the adapter layer status from.

Returns:
list[`peft.peft_model.TunerLayerStatus`]:
A list of dataclasses, each containing the status of the corresponding adapter layer.
Expand Down Expand Up @@ -1251,10 +1247,6 @@ def get_model_status(self) -> TunerModelStatus:
The name of the quantization backend, e.g. `"bnb 4bit"`, or `None` if not quantized. If the backend is not
consistent across all layers, this will be `"irregular"`.

Args:
model ([`~PeftModel`]):
The model to get the adapter layer status from.

Returns:
`peft.peft_model.TunerModelStatus`:
A dataclass containing the status of the model.
Expand Down
2 changes: 1 addition & 1 deletion src/peft/tuners/tuners_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ def set_adapter(self, adapter_names: str | list[str], inference_mode: bool = Fal
inference_mode is True.

Args:
adapter_name (`str` or `list[str]`):
adapter_names (`str` or `list[str]`):
The name(s) of the adapter(s) to set as active.
inference_mode (bool, optional):
Whether the activated adapter should be frozen (i.e. `requires_grad=False`). Default is False.
Expand Down
Loading