We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d3ff30 commit 1e5411dCopy full SHA for 1e5411d
src/python/openvino_genai/py_openvino_genai.pyi
@@ -21,6 +21,12 @@ class Adapter:
21
Immutable LoRA Adapter that carries the adaptation matrices and serves as unique adapter identifier.
22
path (os.PathLike): Path to adapter file in safetensors format.
23
"""
24
+ @typing.overload
25
+ def __init__(self, safetensor: openvino._pyopenvino.Tensor) -> None:
26
+ """
27
+ Immutable LoRA Adapter that carries the adaptation matrices and serves as unique adapter identifier.
28
+ safetensor (ov.Tensor): Pre-read LoRA Adapter safetensor.
29
30
class AdapterConfig:
31
32
Adapter config that defines a combination of LoRA adapters with blending parameters.
0 commit comments