aboutsummaryrefslogtreecommitdiff
path: root/colab_setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'colab_setup.py')
-rw-r--r--colab_setup.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/colab_setup.py b/colab_setup.py
index b99068c..33cc26e 100644
--- a/colab_setup.py
+++ b/colab_setup.py
@@ -27,7 +27,6 @@ def run(cmd, **kwargs):
def install_ollama():
print("\n-- installing ollama --")
- run("apt install zstd | sh") #hi david here, colab doesn't come with zstd and since this script is meant for colab only it's okay to put apt
run("curl -fsSL https://ollama.com/install.sh | sh")
subprocess.Popen("ollama serve", shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
time.sleep(5) # give the server a sec to come up before we start pulling models