[LLM] change default n_threads of native int4 langchain API (#8779)
This commit is contained in:
parent
3d1f2b44f8
commit
611c1fb628
1 changed files with 3 additions and 3 deletions
|
|
@ -110,7 +110,7 @@ class BigdlNativeLLM(LLM):
|
|||
use_mlock: bool = Field(False, alias="use_mlock")
|
||||
"""Force system to keep model in RAM."""
|
||||
|
||||
n_threads: Optional[int] = Field(2, alias="n_threads")
|
||||
n_threads: Optional[int] = Field(-1, alias="n_threads")
|
||||
"""Number of threads to use."""
|
||||
|
||||
n_batch: Optional[int] = Field(512, alias="n_batch")
|
||||
|
|
|
|||
Loading…
Reference in a new issue