Skip to content

Commit 2cb14df

Browse files
Update Configuring-ls1-Brads-Env.md
--threads-http Signed-off-by: Brad Hutchings <[email protected]>
1 parent 582dcfc commit 2cb14df

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/Configuring-ls1-Brads-Env.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ A `default-args` file in the archive can specify sane default parameters. The fo
9191

9292
We don't yet support including the model inside the zip archive (yet). That has a 4GB size limitation on Windows anyway, as `.exe` files cannot exceed 4GB. So let's use an adjacent file called `model.gguf`.
9393

94-
We will serve on localhost, port 8080 by default for safety. The `--ctx-size` parameter is the size of the context window. This is kinda screwy to have as a set size rather than a maximum because the `.gguf` files now have the training context size in metadata. We set it to 8192 to be sensible.
94+
We will serve on localhost, port 8080 by default for safety. The `--ctx-size` parameter is the size of the context window. This is kinda screwy to have as a set size rather than a maximum because the `.gguf` files now have the training context size in metadata. We set it to 8192 to be sensible. The `--threads-http` parameter ensures that the browser can ask for all the image files in our default UI at once.
9595
```
9696
cat << EOF > $DEFAULT_ARGS
9797
-m
@@ -102,6 +102,8 @@ model.gguf
102102
8080
103103
--ctx-size
104104
8192
105+
--threads-http
106+
8
105107
--path
106108
/zip/website
107109
...

0 commit comments

Comments
 (0)