forked from mlc-ai/mlc-llm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow specifying model name in build (mlc-ai#161)
Previously when we introducing the support of "local model path" and "HuggingFace model path", we removed the support of specifying model name when build. This turns out preventing us from only specifying the much shorter model name, as well as doing automatic search for models existing on the disk. Therefore, this PR brings back the argparse support for `--model`. Now we will carefully handle the case where both the model name and one of the model path / HF path are specified. We now also support model searching on disk, and support specifying the model only by a short model name.
- Loading branch information
1 parent
788242c
commit 5faac09
Showing
5 changed files
with
72 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters