killianlucas / ooba Goto Github PK
View Code? Open in Web Editor NEWRun language models on consumer hardware.
License: GNU Affero General Public License v3.0
Run language models on consumer hardware.
License: GNU Affero General Public License v3.0
Hi, Running on Colab with T4 GPU and Gitpod ends with the following message:
Getting started...
Server took too long to start
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/ooba/llm.py](https://localhost:8080/#) in __init__(self, path, cpu, verbose, first_time)
104 else:
--> 105 raise Exception("Server took too long to start")
106
Exception: Server took too long to start
During handling of the above exception, another exception occurred:
Exception Traceback (most recent call last)
2 frames
[/usr/local/lib/python3.10/dist-packages/ooba/llm.py](https://localhost:8080/#) in __init__(self, path, cpu, verbose, first_time)
103 time.sleep(1.5)
104 else:
--> 105 raise Exception("Server took too long to start")
106
107
Exception: Server took too long to start
The model dolphin-2.6-mixtral-8x7b-GGUF
is really big, but it worked in webui, this issue is also known at open-interpreter, is there any timeout param to increase?
Another issue GPU is not detected, it falls back to CPU on Colab.
Looks like this issue is better here, as its the ooba check that is failing:
It goes to a 100% and beyond. 1980 or so..
I know it's early days, but consider this some early adopter's feedback ;)
Running llm = ooba.llm(path)
on Windows is really s.l.o.w. This is after the git clone and switch branch. i can see it creating the conda env and everything, so I appreciate it needs to download stuff. Which, in my case, is pretty fast with a fiber connection.
I've tried interrupting the process and running things manually, but I couldn't figure out every single step. Looking at some of the scripts, this is all pretty smart! ๐ค
No worries, I'll just let it sit there and come back later, but I wanted to let you know. Will try and reproduce on WSL later.
So since #1 is just sitting there, I'm giving WSL2 on Win11 a go.
It falls over and I think I see why.
if system == "Linux":
if "microsoft" in platform.uname().release.lower():
self.start_script = os.path.join(REPO_DIR, "start_wsl.bat")
We can't run a .bat script from WSL ๐
Since the script basically calls wsl and runs wsl.sh, I chose to run that manually and all ran smoothly!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.