🦅 How to Deploy Ouroboros on Google Colab
Since you don’t have a local GPU, we will run the AI “Brain” on Google Colab (Free Tier T4 GPU) and connect it to your local machine.
Step 1: Upload the Notebook
- Open Google Colab.
- Click Upload and select the file:
g:\Just a Idea\ouroboros_colab_server.ipynb- (You can find this file in your project folder).
Step 2: Configure Runtime
- In the Colab menu, click Runtime > Change runtime type.
- Set Hardware accelerator to T4 GPU (or better if available).
- Click Save.
Step 3: Run the Server
- Click Runtime > Run all (or press
Ctrl+F9). - Ngrok Setup: You will be asked for an
ngroktoken.- Go to dashboard.ngrok.com.
- Copy your Authtoken.
- Paste it in the Colab input box and press Enter.
- Hugging Face Login: You will be asked for a Hugging Face token.
- Paste your Write-enabled token and press Enter.
Step 4: Connect Locally
- Scroll to the bottom of the Colab output.
- Look for the line:
🔥 SERVER RUNNING! 🔥 - Copy the URL (e.g.,
https://12ab-34-56.ngrok-free.app). - Open your local
.envfile (g:\Just a Idea\.env). - Paste the URL:
COLAB_API_URL=https://12ab-34-56.ngrok-free.app
Step 5: You’re Ready!
You can now run Ouroboros commands locally, and the heavy lifting will happen on Colab.