unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Joshua Branson <jbranso@fastmail.com>
To: guix-devel@gnu.org
Subject: Re: Have GPGPU support in guix?
Date: Tue, 24 Apr 2018 19:29:29 -0400	[thread overview]
Message-ID: <ygfr2n4b2ue.fsf@fastmail.com> (raw)
In-Reply-To: <BLUPR16MB0500F427BBC042A228CD3C6692880@BLUPR16MB0500.namprd16.prod.outlook.com> (Fis Trivial's message of "Tue, 24 Apr 2018 23:22:25 +0000")

Fis Trivial <ybbs.daans@hotmail.com> writes:

> Hi Guixs, this is actually a feature wish.
>
> I tried to use guix to manage many of my softwares on my system, but
> some dependencies are missing which is blocking a full transition to
> Guix based system and development environment. Most notably is GPU
> computing support.
>
> My daily routine is doing machine learning, which requires GPU for
> computing nowadays. Currently I need to use CUDA from NVidia, as many of
> you might know, it's not free software, not even an open source
> software. However, it's the de fato toolchain in deep learning
> community, so basically it's a must have dependency for most of the
> related libraries if you want decent performance. Time passes and
> hardwork have been done, now we have some libraries ported to OpenCL or
> HIP (from AMD), it's not mature yet but I think we have a pretty good
> shot at working them out in near future.

Since this is a GNU endorsed distro, guixSD will never have an official
way to install or use CUDA.  There might eventually be an unofficial way
to install it someday via a guile potlock (or is it the guild command).
But I wouldn't recommend using it.  No one will seriously test it or
ensure that it works well.

>
> However, I wanted to manage all of these with guix so that we can have a
> unified dependency tree. Currently there are a few options for OpenCL
> runtime. Namely, beignet, neo from Intel, ROCm stack from AMD, the POCL
> project and the implementation in mesa.

This is probably doable.

>
> I tried to package beignet (an old OpenCL runtime from Intel) but it
> wasn't successful due to failed tests (it failed from recognizing
> device).
> https://github.com/trivialfis/guixpkgs/blob/master/opencl.scm
>
> To support GPU computing, we need a full stack of softwares, from kernel
> to user space libraries. When it comes to low level part I got have
> litte to no knowledge, so I am hoping someone here can provide some
> help/insight for having GPU computing libraries in Guix.
>
> Thanks.

  reply	other threads:[~2018-04-24 23:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-24 23:22 Have GPGPU support in guix? Fis Trivial
2018-04-24 23:29 ` Joshua Branson [this message]
2018-04-24 23:32   ` Fis Trivial
2018-04-24 23:46     ` Joshua Branson
2018-04-25 12:41   ` Ludovic Courtès
2018-04-25 22:38     ` Fis Trivial
2018-04-26 12:46       ` Ludovic Courtès
2018-04-26 17:59         ` Fis Trivial
2018-04-29 17:07           ` Ludovic Courtès
2018-04-30  0:10             ` Fis Trivial
2018-04-30  4:51               ` Fis Trivial
2018-04-25 17:17 ` Ricardo Wurmus
2018-04-25 18:04   ` Tobias Platen
2018-04-25 22:25     ` Joshua Branson
2018-04-26  3:18       ` Pierre Neidhardt
2018-04-26  6:21         ` Jonathan Brielmaier
2018-04-26  6:34           ` Pierre Neidhardt
2018-04-26  8:04           ` Mark H Weaver
2018-04-26  8:36             ` Jonathan Brielmaier
2018-04-27  3:31               ` Chris Marusich
2018-04-30 18:00                 ` Thompson, David
2018-04-25 22:51     ` Fis Trivial
2018-04-25 22:50   ` Fis Trivial

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ygfr2n4b2ue.fsf@fastmail.com \
    --to=jbranso@fastmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).