Skip to content

Trying to set up cuda #261

@Invertisment

Description

@Invertisment

I started to program in clojure and I try to set up my cuda on my local machine.

I am trying to run your xor example on my gpu (https://github.com/thinktopic/cortex/blob/master/examples/xor-mlp/project.clj)
but every time I get this: CUDA backend creation failed, reverting to CPU

I tried copying in some more dependencies, but I can't find them neither on maven central, not on clojars.

I tried copying this guy in and others.
[org.bytedeco.javacpp-presets/cuda "8.0-1.2"]

  1. Where is the repository of this dependency? Why is it not on clojars or mvn?

  2. Does anyone have an easy-to-follow all-in-one newbie-friendly example where I can make sure that at least I installed cuda correctly? I know I am derping around with these dependencies, but it is my way to do it. In the perfect world all examples with cuda 9.1 and nvidia-390 driver would already exist.

Also it would be nice to see the main cause of the "Fallback to CPU" message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions