peft#
from gemma import peft
PEFT utils for flax.linen.
All symbols#
Module#
PEFT utils for |
Class#
Wrapper around |
|
Wrapper around |
|
Base class for interceptors. |
|
Wrapper around |
|
LoRA module. |
|
Wrapper around |
|
LoRA general dense module. |
|
Wrapper around |
|
LoRA einsum module. |
|
Interceptor that capture all modules to eventually replaces them. |
|
Quantization methods. |
|
Wrapper around |
|
Wrapper around |
Function#
Returns the axis to reduce over. |
|
Inverse of |
|
Quantizes the given params. |
|
Quantizes the given array. |
|
Split a nested tree into 2 trees, one with and without ‘lora’ branches. |
|