Giter Site home page Giter Site logo

hyperion's Introduction

Hyperion - Containerized Development Template for VS Code

A template repository featuring a containerized development environment utilizing the Ubuntu 20.04 image, designed for machine learning development with Python. The environment is set up using the .devcontainer configuration for seamless integration with VS Code.

Usage

Install VS Code together with Dev Containers extension and follow the steps below

git clone <this repo>
git remote remove origin
code . &

Rename the project name in ./devcontainer/devcontainer.json. Press Ctrl+Shift+P and enter Dev Containter: Rebuild and Reopen in Container and start building.

After building the project, open a new terminal and activate project's virtualenv with

pipenv shell

Remarks

  • If you have space constraints, use a Python image instead of Ubuntu 20.04.

  • Feel free to enter specific versions of packages.

  • If you need to use up-to-date versions, you can have a look into requirements_stable.txt.

  • To replace JAX with CUDA 12, after activating virtualenv enter:

    • pip install jax[cuda12_pip]==0.4.10 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
    • This pipenv entry must be revised: jax = {version = "==0.4.10", file = "https://storage.googleapis.com/jax-releases/jax_cuda_releases.html", extras = ["cuda12_pip"]}
  • To use the container from the terminal, use the conventional docker commands:

    docker container ls
    docker start <container_id>
    docker exec -it <container_id> /bin/bash

hyperion's People

Contributors

omersahintas avatar

Watchers

 avatar

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.