Skip to content

brevdev/nvcf

Repository files navigation

NVCF - NVIDIA Cloud Functions CLI

NVCF is a command-line interface (CLI) tool for managing and interacting with NVIDIA Cloud Functions. It provides a seamless way to create, deploy, invoke, and manage serverless functions on NVIDIA's cloud infrastructure.

Key Features

  • Function management (create, list, update, delete)
  • Function deployment and invocation
  • GPU and instance type management
  • Authentication handling
  • Preflight checks for NVCF compatibility
  • Comprehensive error handling and logging
  • Multiple output formats (JSON, table)
  • Color-coded output for better readability

Installation

To install the NVCF CLI, you need to have Go installed on your system. Then, you can use the following command:

brew install brevdev/homebrew-nvcf/nvcf

Usage

After installation, you can use the nvcf command to interact with NVIDIA Cloud Functions. Here are some common usage examples:

# Authenticate with NVIDIA Cloud
nvcf auth login

# List all active function
nvcf function list --status ACTIVE

# Create a new function using a file
nvcf function create -f deploy.yaml

# Run preflight check on image to check endpoints
nvcf preflight check tgi:latest

# Get available instance types
nvcf gpus list

For a full list of commands and options, use the --help flag:

nvcf --help

Contributing

Contributions to the NVCF CLI are welcome. Please follow these steps to contribute:

  1. Fork the repository
  2. Create a new branch for your feature or bug fix
  3. Make your changes and commit them with clear, descriptive messages
  4. Push your changes to your fork
  5. Submit a pull request to the main repository

Please ensure your code adheres to the existing style and includes appropriate tests and documentation.

License

This project is licensed under the MIT License.

Badges

Go Report Card GoDoc

Support

For issues, feature requests, or questions, please open an issue on the GitHub repository.

For more information about NVIDIA Cloud Functions, visit the official documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published