File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,13 +41,6 @@ func newUpCommand() *cobra.Command {
4141 }
4242
4343 sendInfo ("Initializing model runner..." )
44- if ctxSize != 4096 {
45- sendInfo (fmt .Sprintf ("Setting context size to %d" , ctxSize ))
46- }
47- if rawRuntimeFlags != "" {
48- sendInfo ("Setting raw runtime flags to " + rawRuntimeFlags )
49- }
50-
5144 kind := modelRunner .EngineKind ()
5245 standalone , err := ensureStandaloneRunnerAvailable (cmd .Context (), nil )
5346 if err != nil {
@@ -63,6 +56,13 @@ func newUpCommand() *cobra.Command {
6356 return err
6457 }
6558
59+ if ctxSize > 0 {
60+ sendInfo (fmt .Sprintf ("Setting context size to %d" , ctxSize ))
61+ }
62+ if rawRuntimeFlags != "" {
63+ sendInfo ("Setting raw runtime flags to " + rawRuntimeFlags )
64+ }
65+
6666 for _ , model := range models {
6767 if err := desktopClient .ConfigureBackend (scheduling.ConfigureRequest {
6868 Model : model ,
You can’t perform that action at this time.
0 commit comments