From 62350d975dbfd5cbb251804a8e257a82e3b0a7c9 Mon Sep 17 00:00:00 2001 From: josc146 Date: Fri, 5 Jan 2024 12:46:14 +0800 Subject: [PATCH] fix finetune errorsMap ($modelInfo) --- frontend/src/pages/Train.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Train.tsx b/frontend/src/pages/Train.tsx index cc4aff2..dd3c9ae 100644 --- a/frontend/src/pages/Train.tsx +++ b/frontend/src/pages/Train.tsx @@ -131,7 +131,7 @@ const showError = (e: any) => { }; const errorsMap = Object.entries({ - 'python3 ./finetune/lora/v': 'Memory is not enough, try to increase the virtual memory (Swap of WSL) or use a smaller base model.', + 'python3 ./finetune/lora/$modelInfo': 'Memory is not enough, try to increase the virtual memory (Swap of WSL) or use a smaller base model.', 'cuda out of memory': 'VRAM is not enough', 'valueerror: high <= 0': 'Training data is not enough, reduce context length or add more data for training', '+= \'+ptx\'': 'Can not find an Nvidia GPU. Perhaps the gpu driver of windows is too old, or you are using WSL 1 for training, please upgrade to WSL 2. e.g. Run "wsl --set-version Ubuntu-22.04 2"',