mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-01-18 02:39:47 +00:00
number of threads can be set
This commit is contained in:
parent
f95a0c7930
commit
7c17c01ea5
6
app.py
6
app.py
@ -407,6 +407,12 @@ if __name__ == "__main__":
|
||||
default=None,
|
||||
help="Number of tokens to predict at each step.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--n_threads",
|
||||
type=int,
|
||||
default=None,
|
||||
help="Number of threads to use.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--top_k", type=int, default=None, help="Value for the top-k sampling."
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user