Coder Social home page Coder Social logo

thijsvanloef / starnet-docker Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 35 KB

A containerized variant of the Starnet++ application

Home Page: https://hub.docker.com/repository/docker/thijsvanloef/starnet-docker

License: MIT License

Dockerfile 32.80% Shell 67.20%
astronomy docker docker-image starnet

starnet-docker's Introduction

Hello There! ๐Ÿ‘‹

LinkedIn My Personal Website

starnet-docker's People

Contributors

thijsvanloef avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mikewagnercmp

starnet-docker's Issues

CUDA not working on Docker under linux / Unraid

Describe the bug
I created a new unraid template for this docker container - it works and wil process images using the CPU. However, when trying to make the docker make use of my installed GPU, it is not working. Here is the docker run:

docker run
  -d
  --name='starnet-docker'
  --net='bridge'
  -e TZ="America/New_York"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="UnRaidNas"
  -e HOST_CONTAINERNAME="starnet-docker"
  -e 'PARALLEL'='false'
  -e 'STRIDE'='128'
  -e 'NVIDIA_VISIBLE_DEVICES'='GPU-fed446a2-d4a9-6b55-39a0-851833e73e1b'
  -e 'NVIDIA_DRIVER_CAPABILITIES'='all'
  -l net.unraid.docker.managed=dockerman
  -v '/mnt/user/Astronomy/Starnet/input/':'/home/starnet/application/input/':'rw'
  -v '/mnt/user/Astronomy/Starnet/output/':'/home/starnet/application/output/':'rw'
  --runtime=nvidia 'thijsvanloef/starnet-docker'
  --gpus=all
233ae4385ba5931ad2c82a388256cb8c092ef550ec87dcdcc0b3b4face8ae7da

the --runtime=nvidia, and other nvidia parameter are necessary for passing in a GPU to a container on unraid. I verified the GPU was visible in the container while it was running by using the console and using nvidia-smi which showed my GPU as have no jobs or running processes.

I also noticed in the docker tha the container size was only about 600mb, whereas the github repo lists the CUDA size at over 2 Gb. Not sure, perhaps I am pulling the wrong version, but this is the only on on dockerhub.

To Reproduce
Steps to reproduce the behavior:

  1. Created docker in unraid
  2. Passed in required flags
    Expected behavior
    expected to see the gpu do the processing.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Unraid
    -nvidia Quadro P400 GPU

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.