Git Product home page Git Product logo

nos's Issues

`nos serve`: Serve optimized `nos` model by name

  • nos serve -m stability-ai/stable-diffusion-v2: Serve optimized nos model (blocking)
  • nos serve -d stability-ai/stable-diffusion-v2: Serve optimized `nos model (daemon/detached)
  • nos serve -c deployment.yml: Serve collection of models (blocking)
  • nos serve -d -c deployment.yml: Serve collection of models (daemon/detached)

`hub.register` decorator with a full model deployment spec (compile, run)

Register models as part of the nos hub registry, with full build-time and runtime spec.

@hub.register(
    name="<org_name>/detection2d-detr-resnet-50", 
    build_spec=DevelopmentConfig(
        conda="autonomi-ai/nos-base-dev",
	resources=ResourceConfig(cpu=8, memory="8Gi", gpu=0.25, gpu_memory="4Gi"), # runtime resource
    ),
    runtime_spec=RuntimeConfig(
        conda="autonomi-ai/nos-base-runtime", # runtime conda env
	resources=ResourceConfig(cpu=2, memory="4Gi", gpu=0.25, gpu_memory="4Gi"), # runtime resources
    ),
)

REST/gRPC gateway interface for inference service

Model info available from cli

We want to be able to query for model info from the cli, including:

  • task
  • model_id (e.g. huggingface/CLIP_ViT_base_32)
  • model inference signature
  • model URL?
  • input resolution
  • batch size?
  • default model for task?

Investigate model weights diffs for faster `hub.load(...)`

If we're able to build checksums for layer-wise weights, we should be able to only download the diffs and speed up model downloads significantly. This is particularly helpful if you're fine-tuning models (especially the last few layers, or changing only parts of an ensemble model).

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.