From 6623ecb3028e8c360ec750852a141c86d8b4b4ce Mon Sep 17 00:00:00 2001 From: JanSolo1 Date: Fri, 12 Apr 2024 00:36:48 +0200 Subject: [PATCH 1/2] Comment fix config.py ln 412 --- backend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config.py b/backend/config.py index 6e3cf92a9..92cd9b56d 100644 --- a/backend/config.py +++ b/backend/config.py @@ -409,7 +409,7 @@ RAG_EMBEDDING_MODEL_AUTO_UPDATE = ( ) -# device type ebbeding models - "cpu" (default), "cuda" (nvidia gpu required) or "mps" (apple silicon) - choosing this right can lead to better performance +# device type embbeding models - "cpu" (default), "cuda" (nvidia gpu required) or "mps" (apple silicon) - choosing the correct model can lead to better performance USE_CUDA = os.environ.get("USE_CUDA_DOCKER", "false") if USE_CUDA.lower() == "true": From 79a4abc3ec978cc5d635c0570418fb5978aeb890 Mon Sep 17 00:00:00 2001 From: JanSolo1 Date: Fri, 12 Apr 2024 00:44:44 +0200 Subject: [PATCH 2/2] Comment spelling mistake fix --- backend/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config.py b/backend/config.py index 92cd9b56d..1633acc36 100644 --- a/backend/config.py +++ b/backend/config.py @@ -409,7 +409,7 @@ RAG_EMBEDDING_MODEL_AUTO_UPDATE = ( ) -# device type embbeding models - "cpu" (default), "cuda" (nvidia gpu required) or "mps" (apple silicon) - choosing the correct model can lead to better performance +# device type embbeding models - "cpu" (default), "cuda" (nvidia gpu required) or "mps" (apple silicon) - choosing this right can lead to better performance USE_CUDA = os.environ.get("USE_CUDA_DOCKER", "false") if USE_CUDA.lower() == "true":