Toolverse
All skills

modal-serverless-gpu

by davila7

Serverless GPU cloud platform for running ML workloads. Use when you need on-demand GPU access without infrastructure management, deploying ML models as APIs, or running batch jobs with automatic scaling.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
davila7
Category
Security

About this skill

Serverless GPU cloud platform for running ML workloads. Use when you need on-demand GPU access without infrastructure management, deploying ML models as APIs, or running batch jobs with automatic scaling.

How to use

  1. Zainstaluj Modal za pomocą pip install modal, a następnie uruchom modal setup, aby otworzyć przeglądarkę i uwierzytelnić się na koncie Modal.

  2. Utwórz plik Pythona i zdefiniuj aplikację Modal, importując bibliotekę modal oraz tworząc instancję app = modal.App("nazwa-aplikacji").

  3. Oznacz funkcje, które mają działać na GPU, dekoratorem @app.function(gpu="typ"), gdzie typ to nazwa procesora (np. "T4", "A100"). Wewnątrz funkcji napisz kod Pythona, który będzie wykonywany na wybranym GPU.

  4. Dodaj punkt wejścia @app.local_entrypoint() z funkcją main(), która wywoła zdalne funkcje za pomocą .remote() — to uruchomi obliczeń w chmurze Modal.

  5. Uruchom skrypt lokalnie (python nazwa_pliku.py) — Modal automatycznie przesyła kod do chmury, przydziela GPU i zwraca wynik.

  6. Aby wdrożyć funkcję jako API REST, użyj dekoratora @app.web_endpoint() zamiast @app.function(), a Modal udostępni publiczny URL do wywoływania modelu bez czasów przestojów.

Related skills

youtube-watcher

by openclaw

Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.

Security
2231

brand-voice

by anthropics

Apply and enforce brand voice, style guide, and messaging pillars across content. Use when reviewing content for brand consistency, documenting a brand voice, adapting tone for different audiences, or checking terminology and style guide compliance.

Security
48158

zendesk

by vm0-ai

Zendesk Support REST API for managing tickets, users, organizations, and support operations. Use this skill to create tickets, manage users, search, and automate customer support workflows.

Security
11100

reverse-engineering-tools

by gmh5225

Guide for reverse engineering tools and techniques used in game security research. Use this skill when working with debuggers, disassemblers, memory analysis tools, binary analysis, or decompilers for game security research.

Security
3168

typescript-review

by metabase

Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.

Security
17133

google-analytics

by davila7

Analyze Google Analytics data, review website performance metrics, identify traffic patterns, and suggest data-driven improvements. Use when the user asks about analytics, website metrics, traffic analysis, conversion rates, user behavior, or performance optimization.

Security
1260