Files
herolib/lib/clients/vastai/readme.md
mariobassem 34b1aad175 feat: Add VastAI client
- Add a new VastAI client to the project.
- This client allows users to search for and create GPU instances on VastAI.
- It uses the VastAI API to interact with the platform.
- Includes functionality for searching offers, getting top offers, and creating instances.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-23 19:22:39 +02:00

246 B

vastai

To get started



import freeflowuniverse.herolib.clients. vastai

mut client:= vastai.get()!

client...




example heroscript

!!vastai.configure
    secret: '...'
    host: 'localhost'
    port: 8888