Skip to content

Commit

Permalink
fix(tgi): add merge_lora kwarg to download_weights
Browse files Browse the repository at this point in the history
  • Loading branch information
dacorvo committed Dec 10, 2024
1 parent 5628111 commit ee1a00c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def download_weights(
auto_convert: Optional[bool] = None,
extension: Optional[str] = None,
trust_remote_code: Optional[bool] = None,
merge_lora: Optional[bool] = None,
):
"""Download the model weights.
Expand All @@ -101,6 +102,8 @@ def download_weights(
logger.warning("'trust_remote_code' argument is not supported and will be ignored.")
if auto_convert is not None:
logger.warning("'auto_convert' argument is not supported and will be ignored.")
if merge_lora is not None:
logger.warning("'merge_lora' argument is not supported and will be ignored.")

# Import here after the logger is added to log potential import exceptions
from .model import fetch_model
Expand Down

0 comments on commit ee1a00c

Please sign in to comment.