-
Notifications
You must be signed in to change notification settings - Fork 20
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
Smooth model switch #166
Smooth model switch #166
Conversation
592bef3
to
a352148
Compare
f3636b8
to
7e94837
Compare
a352148
to
1056e1a
Compare
@@ -316,22 +316,15 @@ fn create_wasi( | |||
file: &DownloadedFile, | |||
load_model: &LoadModelOptions, | |||
) -> wasmedge_sdk::WasmEdgeResult<WasiModule> { | |||
let ctx_size = if load_model.n_ctx > 0 { |
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.
Context: This change was originally done here https://github.com/moxin-org/moxin/blob/1056e1a0e2789f99bf7fc5ca40149b462a79c997/moxin-backend/src/backend_impls/api_server.rs#L38-L46, which is the currently active backend.
Making the change here as well since I'm removing those values from the protocol, but it does not have real effect right now.
|
||
ANIMATION_SPEED = 1.5; | ||
|
||
Bar = <RoundedView> { |
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.
There is a bunch of repeated logic with other loading widget implemented, but decided to not overcomplicate this PR at this point.
ed8192d
to
3f0832a
Compare
No description provided.