@ -820,7 +820,6 @@ func Execute(args []string) error {
threads := fs . Int ( "threads" , runtime . NumCPU ( ) , "Number of threads to use during generation" )
threads := fs . Int ( "threads" , runtime . NumCPU ( ) , "Number of threads to use during generation" )
verbose := fs . Bool ( "verbose" , false , "verbose output (default: disabled)" )
verbose := fs . Bool ( "verbose" , false , "verbose output (default: disabled)" )
noMmap := fs . Bool ( "no-mmap" , false , "do not memory-map model (slower load but may reduce pageouts if not using mlock)" )
noMmap := fs . Bool ( "no-mmap" , false , "do not memory-map model (slower load but may reduce pageouts if not using mlock)" )
mlock := fs . Bool ( "mlock" , false , "force system to keep model in RAM rather than swapping or compressing" )
tensorSplit := fs . String ( "tensor-split" , "" , "fraction of the model to offload to each GPU, comma-separated list of proportions" )
tensorSplit := fs . String ( "tensor-split" , "" , "fraction of the model to offload to each GPU, comma-separated list of proportions" )
multiUserCache := fs . Bool ( "multiuser-cache" , false , "optimize input cache algorithm for multiple users" )
multiUserCache := fs . Bool ( "multiuser-cache" , false , "optimize input cache algorithm for multiple users" )
@ -876,7 +875,6 @@ func Execute(args []string) error {
NumGpuLayers : * nGpuLayers ,
NumGpuLayers : * nGpuLayers ,
MainGpu : * mainGpu ,
MainGpu : * mainGpu ,
UseMmap : ! * noMmap && lpaths . String ( ) == "" ,
UseMmap : ! * noMmap && lpaths . String ( ) == "" ,
UseMlock : * mlock ,
TensorSplit : tensorSplitFloats ,
TensorSplit : tensorSplitFloats ,
Progress : func ( progress float32 ) {
Progress : func ( progress float32 ) {
server . progress = progress
server . progress = progress