Giter Club home page Giter Club logo

Comments (16)

kad avatar kad commented on August 23, 2024

Do you have more than one Movidius NCS per node? Do you have also any other actively used USB devices on the same node?

from intel-device-plugins-for-kubernetes.

tkhred avatar tkhred commented on August 23, 2024

Do you have a plan to offer the plugin for intel HDDL card (e.g. IEI Mustang) ?

from intel-device-plugins-for-kubernetes.

ababushk avatar ababushk commented on August 23, 2024

It would be great to manage myriad sticks through kubernetes pod settings.
We're using Kubernetes with Jenkins Kubernetes plugin to run tests on CPU, GPU and Myriad, but for the latter we use 'hacky' solution implemented via Jenkins Pipeline lock() step because two apps can't use one myriad stick at the same time but we still want to run CPU or GPU test on a node to which NCS installed

from intel-device-plugins-for-kubernetes.

ababushk avatar ababushk commented on August 23, 2024

Oops, I was wrong. It seems for my purpose Kubernetes extended resources functionality is enough (https://kubernetes.io/docs/tasks/administer-cluster/extended-resource-node/)

from intel-device-plugins-for-kubernetes.

rojkov avatar rojkov commented on August 23, 2024

@tkhred wrt HDDL you might be interested in #273.

from intel-device-plugins-for-kubernetes.

alekdu avatar alekdu commented on August 23, 2024

Yes, the HDDL should work for even single NCS stick. A kind of overkill, but it works.

from intel-device-plugins-for-kubernetes.

tkhred avatar tkhred commented on August 23, 2024

Thanks.
I'll check #273

from intel-device-plugins-for-kubernetes.

thkukuk avatar thkukuk commented on August 23, 2024

HDDL seems to be more than overkill. It would be really nice to see direct support for a NCS2 stick.

from intel-device-plugins-for-kubernetes.

mythi avatar mythi commented on August 23, 2024

HDDL seems to be more than overkill. It would be really nice to see direct support for a NCS2 stick.

From what I've understood it gives us device abstraction and deals with usb device resets etc. Would you have an idea how to deal with those in a device plugin and allow non-privileged workloads to use the device?

from intel-device-plugins-for-kubernetes.

thkukuk avatar thkukuk commented on August 23, 2024

From what I've understood it gives us device abstraction and deals with usb device resets etc.

But it is binary only.

from intel-device-plugins-for-kubernetes.

pisymbol avatar pisymbol commented on August 23, 2024

I have a Raspberry Pi 4 based cluster and a few NCS sticks. Can this be supported?

from intel-device-plugins-for-kubernetes.

alekdu avatar alekdu commented on August 23, 2024

@pisymbol theoretically, yes. It should support. But you may need handle some NCS reset logic. The bsl_reset with the hddldaemon may need replaced with your own NCS reset code. I guess you have some GPIOs to reset NCS right ? The default bsl_reset support several GPIO reset method like, i2c GPIO expander, i2c HID driver.

from intel-device-plugins-for-kubernetes.

alekdu avatar alekdu commented on August 23, 2024

The bsl_reset source code is available at: /opt/intel/openvino/deployment_tools/inference_engine/external/hddl/hddl-bsl/src
if you pull the hddldaemon container from: openvisualcloud/vcaca-ubuntu1804-analytics-hddldaemon

from intel-device-plugins-for-kubernetes.

thkukuk avatar thkukuk commented on August 23, 2024

I have a Raspberry Pi 4 based cluster and a few NCS sticks. Can this be supported?

@pisymbol Works fine (https://github.com/thkukuk/demos/tree/master/Hackweek19), but unfortunately not with this plugin. I did build the Myriad plugin from the dldt source with "NO_BOOT" and wrote a cli to boot the NCS stick before starting kubelet/the containers.
https://github.com/thkukuk/myriadctl
Version 0.3 is based on dldt 2019.R3, the current head on dldt 2020.1

from intel-device-plugins-for-kubernetes.

pisymbol avatar pisymbol commented on August 23, 2024

@thkukuk Not to thread crap here but... so you installed dldt from source on a worker node and then advertised using extended resources (I see you just made something up to advertise the dongle with resource 1). Is that right?

Btw, feel free to email me (gmail.com) if you want to take this discussion offline. I'd really like to get my NCS stick to work with my cluster

from intel-device-plugins-for-kubernetes.

mythi avatar mythi commented on August 23, 2024

closing due to inactivity

from intel-device-plugins-for-kubernetes.

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.