Open Myuless opened 1 year ago
Known issue with the TPU's https://github.com/KoboldAI/KoboldAI-Client/issues/232
You can use https://koboldai.org/gpucolab which still works
ok thanks
Hi, I'm getting this issue. @henk717
Yes they broke it again
Copying my post on discord:
Made some serious progress with TPU stuff, got it to load with V2 of the tpu driver! It worked with the GPTJ 6B model, but it took a long time to load tensors(~11 minutes). However, when trying to run a larger model like Erebus 13B runs out of HBM memory when trying to do an XLA compile after loading the tensors
Here's a notebook that uses my kobold fork: https://colab.research.google.com/drive/15eGJVEtg5zPz_2mR_1j0zfZnr767jC4_?usp=sharing
Here's my kobold fork: https://github.com/DFXLuna/KoboldAI
Here's the log output from the note book:
Displays this text Found TPU at: grpc://10.85.230.122:8470 Now we will need your Google Drive to store settings and saves, you must login with the same account you used for Colab. Mounted at /content/drive/ --2023-02-24 06:10:37-- https://koboldai.org/ckds Resolving koboldai.org (koboldai.org)... 104.21.21.176, 172.67.199.170, 2606:4700:3036::ac43:c7aa, ... Connecting to koboldai.org (koboldai.org)|104.21.21.176|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://raw.githubusercontent.com/henk717/KoboldAI/united/colabkobold.sh [following] --2023-02-24 06:10:37-- https://raw.githubusercontent.com/henk717/KoboldAI/united/colabkobold.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.108.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 6675 (6.5K) [text/plain] Saving to: ‘STDOUT’
2023-02-24 06:10:37 (75.4 MB/s) - written to stdout [6675/6675]
mkdir: cannot create directory ‘/content/drive/MyDrive/KoboldAI/’: File exists mkdir: cannot create directory ‘/content/drive/MyDrive/KoboldAI/stories/’: File exists mkdir: cannot create directory ‘/content/drive/MyDrive/KoboldAI/models/’: File exists mkdir: cannot create directory ‘/content/drive/MyDrive/KoboldAI/settings/’: File exists mkdir: cannot create directory ‘/content/drive/MyDrive/KoboldAI/softprompts/’: File exists mkdir: cannot create directory ‘/content/drive/MyDrive/KoboldAI/userscripts/’: File exists mkdir: cannot create directory ‘/content/drive/MyDrive/KoboldAI/presets/’: File exists mkdir: cannot create directory ‘/content/drive/MyDrive/KoboldAI/themes/’: File exists Initialized empty Git repository in /content/KoboldAI-Client/.git/ fatal: No such remote: 'origin' Fetching origin remote: Enumerating objects: 6491, done. remote: Total 6491 (delta 0), reused 0 (delta 0), pack-reused 6491 Receiving objects: 100% (6491/6491), 14.04 MiB | 18.96 MiB/s, done. Resolving deltas: 100% (4098/4098), done. From https://github.com/koboldai/KoboldAI-Client
Reading state information... Done The following package was automatically installed and is no longer required: libnvidia-common-510 Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: libaria2-0 libc-ares2 The following NEW packages will be installed: aria2 libaria2-0 libc-ares2 netbase 0 upgraded, 4 newly installed, 0 to remove and 21 not upgraded. Need to get 1,490 kB of archives. After this operation, 6,002 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 netbase all 6.1 [13.1 kB] Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libc-ares2 amd64 1.15.0-1ubuntu0.1 [38.2 kB] Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 libaria2-0 amd64 1.35.0-1build1 [1,082 kB] Get:4 http://archive.ubuntu.com/ubuntu focal/universe amd64 aria2 amd64 1.35.0-1build1 [356 kB] Fetched 1,490 kB in 0s (3,408 kB/s) debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 4.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Selecting previously unselected package netbase. (Reading database ... 128126 files and directories currently installed.) Preparing to unpack .../archives/netbase_6.1_all.deb ... Unpacking netbase (6.1) ... Selecting previously unselected package libc-ares2:amd64. Preparing to unpack .../libc-ares2_1.15.0-1ubuntu0.1_amd64.deb ... Unpacking libc-ares2:amd64 (1.15.0-1ubuntu0.1) ... Selecting previously unselected package libaria2-0:amd64. Preparing to unpack .../libaria2-0_1.35.0-1build1_amd64.deb ... Unpacking libaria2-0:amd64 (1.35.0-1build1) ... Selecting previously unselected package aria2. Preparing to unpack .../aria2_1.35.0-1build1_amd64.deb ... Unpacking aria2 (1.35.0-1build1) ... Setting up libc-ares2:amd64 (1.15.0-1ubuntu0.1) ... Setting up netbase (6.1) ... Setting up libaria2-0:amd64 (1.35.0-1build1) ... Setting up aria2 (1.35.0-1build1) ... Processing triggers for man-db (2.9.1-1) ... Processing triggers for libc-bin (2.31-0ubuntu9.9) ... /tools/node/bin/lt -> /tools/node/lib/node_modules/localtunnel/bin/lt.js