Skip to content

Instantly share code, notes, and snippets.

@fortunto2
Last active October 9, 2018 12:33
Show Gist options
  • Save fortunto2/f20037f32c02477c785a9f76087d4f19 to your computer and use it in GitHub Desktop.
Save fortunto2/f20037f32c02477c785a9f76087d4f19 to your computer and use it in GitHub Desktop.
Ubuntu 18.04 cuda 9.2 tensorflow

CUDA

bug

dpkg: error processing archive ....

sudo apt-get -o Dpkg::Options::="--force-overwrite" install --fix-broken

DOCKER-COMPOSE

You will need to enable the nvidia runtime as your default runtime on your node. We will be editing the docker daemon config file which is usually present at /etc/docker/daemon.json:

{
    "default-runtime": "nvidia",
    "runtimes": {
        "nvidia": {
            "path": "/usr/bin/nvidia-container-runtime",
            "runtimeArgs": []
        }
    }
}
@fortunto2
Copy link
Author

@fortunto2
Copy link
Author

apt install liblapack-dev liblapack3 libopenblas-base libopenblas-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment