GithubHelp home page GithubHelp logo

betapps's Introduction

An examplary multi flavour app

This repo is an example of a multi-flavoured plugin app in the Arkitekt framework.

As opposed to an app with just one flavour (the default vanilla) this app can be build with different flavours, each of which can have its own set of dependencies and will generate its own docker image.

The flavours are defined in the flavours directory within the app. Each flavour is a directory containing a Dockerfile and a config.yaml, which defines selectors for the flavour.

Selectors are used to determine which flavour to use for a given enviroment and hardware configuration. In this example app, we have two flavours:

  • Vanilla: The default flavour, which is used if no other flavour is selected, it has no selectors defined and will be used for all environments and hardware configurations, as a fallback.

  • Cuda: A flavour which uses a base image with CUDA support and defines a selector defined as a "cuda" type selector, which can only be used on hardware with CUDA support.

Selectors are interpreted by the Port Service, which is part of the Arkitekt framework. The Port Service is responsible for the deployment of apps and will select the flavour to use based on the selectors defined in the flavour's config.yaml and the hardware configuration of the device the app is deployed to.

Experimental

This feature is still experimental and may change in the future, including the format of the config.yaml file and the way the Port Service interprets selectors. To beta test this feature, please install arkitekt cli version 0.7.0a0 or later.

betapps's People

Contributors

jhnnsrs avatar

Watchers

 avatar

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.