mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-30 06:30:43 +00:00
fix: do not add skipped backends to the list
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
796ad64625
commit
2950ed9ab2
1 changed files with 0 additions and 6 deletions
|
@ -51,9 +51,7 @@ const (
|
|||
var AutoLoadBackends []string = []string{
|
||||
LlamaBackend,
|
||||
Gpt4All,
|
||||
RwkvBackend,
|
||||
FalconBackend,
|
||||
WhisperBackend,
|
||||
GPTNeoXBackend,
|
||||
BertEmbeddingsBackend,
|
||||
LlamaMasterBackend,
|
||||
|
@ -64,7 +62,6 @@ var AutoLoadBackends []string = []string{
|
|||
MPTBackend,
|
||||
ReplitBackend,
|
||||
StarcoderBackend,
|
||||
BloomzBackend,
|
||||
}
|
||||
|
||||
func (ml *ModelLoader) StopGRPC() {
|
||||
|
@ -220,9 +217,6 @@ func (ml *ModelLoader) GreedyLoader(opts ...Option) (*grpc.Client, error) {
|
|||
var err error
|
||||
|
||||
for _, b := range AutoLoadBackends {
|
||||
if b == BloomzBackend || b == WhisperBackend || b == RwkvBackend { // do not autoload bloomz/whisper/rwkv
|
||||
continue
|
||||
}
|
||||
log.Debug().Msgf("[%s] Attempting to load", b)
|
||||
|
||||
model, modelerr := ml.BackendLoader(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue