Learning Center

Master your remote GPU workflow with comprehensive guides and tools.

Essential

✅ Quick Sanity Check

Run this simple test to verify your GaasHub connection and GPU access.

verify_setup.py
import torch
import os

def check_gaashub():
    print("🚀 GaasHub Sanity Test Starting...")
    
    # 1. Check if connected via SCUDA
    is_connected = os.path.exists(os.path.expanduser("~/.scuda/.connected"))
    print(f"📍 Connection Status: {'✅ ACTIVE' if is_connected else '❌ NOT CONNECTED'}")
    
    # 2. Check GPU Visibility
    if torch.cuda.is_available():
        gpu_name = torch.cuda.get_device_name(0)
        vram = torch.cuda.get_device_properties(0).total_memory / 1e9
        print(f"🎬 GPU Detected: {gpu_name}")
        print(f"💾 Available VRAM: {vram:.2f} GB")
        
        # 3. Simple Matrix Multiplication Test
        print("⚡ Running compute test...")
        a = torch.randn(1000, 1000).cuda()
        b = torch.randn(1000, 1000).cuda()
        c = torch.matmul(a, b)
        print("✨ Computation Successful!")
    else:
        print("❌ No GPU detected. Make sure you are connected in the GaasHub app.")

if __name__ == "__main__":
    check_gaashub()

How to run:

1. Save the code as verify.py

2. Open your terminal and run:

gaashub ./verify.py
📦

Package Management

Learn how to auto-install requirements.txt on the remote GPU.

Coming Soon
📁

Project Syncing

Sync local folders to the cloud instantly using our CLI.

Coming Soon
🛠️

Need Extra Help?

If you're facing any issues or have technical questions, our support team is ready to assist you.

Email: info@gaashub.com

⏱️ Guaranteed response in under 24 hours.