-
Notifications
You must be signed in to change notification settings - Fork 122
171 add auto cache clearing #172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@sauravpanda please review this once |
src/engines/mlc-engine-wrapper.ts
Outdated
| // SmolLM2-135M-Instruct | ||
| /\/([\w\.-]+)\-(\d+\.?\d*[BM])\-Instruct/, | ||
| // SmolLM2-135M | ||
| /\/([\w\.-]+)\-(\d+\.?\d*[BM])/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this pattern may not have all the model names.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, let me recheck
| clean: true, | ||
| sourcemap: true, | ||
| treeshake: true, | ||
| treeshake: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we set treeshake as true, and the function we write is not used within code, it skips exporting it. The clearModelCache function needs it
No description provided.