From 5f1f8a5a892aa950e4786fc6c270daea701dee0b Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sun, 22 Oct 2023 21:53:54 +0800 Subject: [PATCH] adjust --- colab.ipynb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/colab.ipynb b/colab.ipynb index 227352b30..760cf41f3 100644 --- a/colab.ipynb +++ b/colab.ipynb @@ -48,13 +48,13 @@ "%cd /content\r\n", "!git clone https://github.com/LostRuins/koboldcpp\r\n", "%cd /content/koboldcpp\r\n", - "kvers = !(cat koboldcpp.py | grep 'KcppVersion = ' | cut -d '\"' -f2)\r\n", - "kvers = kvers[0]\r\n", - "!echo Finding prebuilt binary for {kvers}\r\n", + "kvers = !(cat koboldcpp.py | grep 'KcppVersion = ' | cut -d '\"' -f2)\r\n", + "kvers = kvers[0]\r\n", + "!echo Finding prebuilt binary for {kvers}\r\n", "!wget -c https://huggingface.co/concedo/koboldcpp/resolve/main/prebuilt_binaries/{kvers}.so\r\n", "!test -f {kvers}.so && mv {kvers}.so koboldcpp_cublas.so || echo Prebuilt Binary Does Not Exist\r\n", - "!test -f koboldcpp_cublas.so && echo Prebuilt Binary Exists || make koboldcpp_cublas LLAMA_CUBLAS=1\r\n", - "\r\n", + "!test -f koboldcpp_cublas.so && echo Prebuilt Binary Exists || make koboldcpp_cublas LLAMA_CUBLAS=1\r\n", + "!cp koboldcpp_cublas.so koboldcpp_cublas.dat\r\n", "!wget $Model -O model.ggml\r\n", "!wget -c https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64\r\n", "!chmod +x cloudflared-linux-amd64\r\n",