Giter Club home page Giter Club logo

Comments (2)

Redm4x avatar Redm4x commented on June 28, 2024 1

PR #109 adds a /internal/gpu endpoint using this spec. Currently waiting on more gpu providers to upgrade before merging to make sure the returned data is accurate. The provider query param will accept either a provider address or a host uri.

This endpoint is relying on the assumption that all GPUs within a node are the same. If that ever changes, the provider's status endpoint should be changed accordingly for this endpoint to continue reporting accurate information.

from cloudmos.

troian avatar troian commented on June 28, 2024

the api response should be as following

{
  "gpus" : {
    "total": {
      "allocated": "1",
      "allocatable": "1",
    },
    "details": {
      "nvidia": [
        {
          "model": "a100",
          "ram": "40Gi",
          "interface": "PCIe|SXM4"
          "allocatable": 1,
          "allocated": 1
        }
      ]
    }
  }
}
  • default query should return totals and details for all of the providers on the network
  • query param provider filters results per provider
  • query param vendor filters results per vendor
  • query param model filters results per model
  • query param memory_size filters results results with memory size

all query params above can be combined

from cloudmos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.