Coder Social home page Coder Social logo

codespaces's Introduction

Replicate Codespaces scripts

This is a convenience script that installs Cog and nvidia-docker on GitHub's GPU Codespaces, so you can build run and push Cog models to Replicate.

To use it, run the following from the terminal in your Codespaces instance:

curl https://replicate.github.io/codespaces/scripts/install-cog.sh | bash

codespaces's People

Contributors

andreasjansson avatar chenxwh avatar zeke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

codespaces's Issues

unable to `cog run bash` on a fresh codespace

I ran this command on a fresh GPU codespace, starting from https://github.com/chenxwh/textual-inversion-codespace

curl https://replicate.github.io/codespaces/scripts/install-cog.sh | bash

Cog is installed:

@zeke ➜ /workspaces/textual-inversion-codespace (main) $ cog --version
cog version 0.4.2 (built 2022-08-23T14:57:26Z)

But cog run bash fails:

@zeke ➜ /workspaces/textual-inversion-codespace (main) $ cog run bash
⚠ Cog doesn't know if CUDA 11.3 is compatible with PyTorch 1.11.0 --extra-index-url=https://download.pytorch.org/whl/cu113. This might cause CUDA problems.
Building Docker image from environment in cog.yaml...
⚠ Cog doesn't know if CUDA 11.3 is compatible with torchvision 0.12.0 --extra-index-url=https://download.pytorch.org/whl/cu113. This might cause CUDA problems.
failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: connection refused
ⅹ Failed to build Docker image: exit status 1

I'm not sure what's changed since yesterday that would make this crash and burn now.

Any ideas, @chenxwh and @andreasjansson?

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.