diff --git a/setup.py b/setup.py index 08188f0..fa55d7d 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ extras["dev"] = extras["quality"] + extras["docs_specific"] setup( name="peft", - version="0.1.0.dev0", + version="0.0.2", description="Parameter-Efficient Fine-Tuning (PEFT)", long_description=open("README.md", "r", encoding="utf-8").read(), long_description_content_type="text/markdown", diff --git a/src/peft/__init__.py b/src/peft/__init__.py index b76dad8..fea5a32 100644 --- a/src/peft/__init__.py +++ b/src/peft/__init__.py @@ -17,7 +17,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "0.1.0.dev0" +__version__ = "0.0.2" from .mapping import MODEL_TYPE_TO_PEFT_MODEL_MAPPING, PEFT_TYPE_TO_CONFIG_MAPPING, get_peft_config, get_peft_model from .peft_model import ( diff --git a/src/peft/tuners/lora.py b/src/peft/tuners/lora.py index 8a59f97..548f0dd 100644 --- a/src/peft/tuners/lora.py +++ b/src/peft/tuners/lora.py @@ -58,7 +58,7 @@ class LoraConfig(PeftConfig): default=False, metadata={"help": "Set this to True if the layer to replace stores weight like (fan_in, fan_out)"}, ) - enable_lora: Optional[list[bool]] = field(default=None, metadata={"help": "Used with `lora.MergedLinear`."}) + enable_lora: Optional[List[bool]] = field(default=None, metadata={"help": "Used with `lora.MergedLinear`."}) bias: str = field(default="none", metadata={"help": "Bias type for Lora. Can be 'none', 'all' or 'lora_only'"}) def __post_init__(self):