-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e15993b
commit e87bebc
Showing
1 changed file
with
16 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Setup | ||
|
||
To compile the model you need to execute the following command: | ||
|
||
```bash | ||
mlc_llm package | ||
``` | ||
|
||
> [!NOTE] | ||
> To setup `mlc_llm` read the [official documentation](https://llm.mlc.ai/docs/install/mlc_llm.html#install-mlc-packages) | ||
This will generate necessary binaries and model itself in the `build` & `dist` directories. | ||
|
||
Then model is added to XCode project under `bundle/` directory which then is used by the module. | ||
|
||
In the future, we will automate this process, so when the model is not found under the bundle/ directory, it will be downloaded from HuggingFace in the runtime. |