From ee93fe6e4a2536fb6f7463a755e3503621389da9 Mon Sep 17 00:00:00 2001 From: henk717 Date: Fri, 11 Aug 2023 22:39:49 +0200 Subject: [PATCH] Add model cleaner --- colab/GPU.ipynb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/colab/GPU.ipynb b/colab/GPU.ipynb index 1835ce0e..7232f81b 100644 --- a/colab/GPU.ipynb +++ b/colab/GPU.ipynb @@ -223,6 +223,20 @@ "metadata": { "id": "Lrm840I33hkC" } + }, + { + "cell_type": "code", + "source": [ + "#@title Model Cleaner\n", + "#@markdown Out of space? Run this to remove all cached models (Google Drive models are not effected).\n", + "!rm -rf /content/KoboldAI-Client/cache/*\n" + ], + "metadata": { + "cellView": "form", + "id": "5k8fK4F6UiTs" + }, + "execution_count": null, + "outputs": [] } ] } \ No newline at end of file