Giter VIP home page Giter VIP logo

kaist-ncl / accelerator-docker Goto Github PK

View Code? Open in Web Editor NEW
34.0 4.0 5.0 4.84 MB

Accelerator-Docker : provides common interface for automatic passthrough of heterogeneous hardware accelerators in docker

Home Page: http://ncl.kaist.ac.kr/

License: BSD 3-Clause "New" or "Revised" License

Makefile 9.29% C++ 81.10% Go 6.88% Dockerfile 2.72%
docker fpga gpu passthrough container-fpga container-gpu fpga-runtime gpu-runtime docker-runtime

accelerator-docker's People

Contributors

cqbqdd11519 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

accelerator-docker's Issues

Soft link should be handled

fpga-manager should be able to handle soft link of a file

It should follow the link to find file to mount and re-link the file in the container.

Resource type, resource name, resource id should be divided

For managing resources, resource type and resource name should be divided

Like

Accelerators
|--nvidia.com/gpu  (resource type)
|  |--M2000_0  (resource name)
|  `--GTX1080TI_0
|--intel.fpga/arria10gx_devkit
|  |--arria10gx_devkit_0
|  |--arria10gx_devkit_1
|--xilinx.fpga/kcu1500
|  `--kcu1500_0

And for managing it from both FPGA-Docker and FPGA-K8S, device id should be allocated to each resources

device.pbtxt format might also be modified

Misconfiguration exception handling

Current version just prints error if some configurations are incorrect (e.g., file not exists) and whole system not works any more.

However, only the device misconfigured should be marked as 'Misconfigured', which cannot be used in container.

Solution

: To divide status in three way, AVAILABLE/UNAVAILABLE/MISCONFIGURED

add opencontainers/runc git checkout

env GOPATH=/home/yejyang/Accelerator-Docker/ACC-Runtime/.tmp_go_path go get -d github.com/opencontainers/runc/...
patch -d/home/yejyang/Accelerator-Docker/ACC-Runtime/.tmp_go_path/src/github.com/opencontainers/runc -p1 < acc-runtime.patch

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.