Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Containerized end-to-end workflow #9

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

artste
Copy link

@artste artste commented Oct 23, 2023

Summary

This Pull Request introduces a containerized environment to seamlessly run the lm-hackers notebook from start to finish. It includes two shell scripts: build.sh for building the lmhackers Docker or Podman image, and run.sh for executing the container while mounting the repository as an external volume.

Prerequisites

  • Docker or Podman with GPU support
  • Environment variables: OPENAI_API_KEY and HUGGINGFACE_TOKEN

Features

  • Containerization: Provides a contained environment for running the lm-hackers notebook.
  • Ease of Use: Simplifies the setup with build.sh and run.sh scripts.
  • External Volume: Mounts the repository as an external volume, allowing for real-time code changes.
  • Models and Datasets cache: Optional local storage of HUggingface .cache adding to run.sh the option localstorage.

Documentation

For comprehensive instructions on how to utilize this workflow, please refer to the Docker/README.docker.md file.

@mattflo
Copy link

mattflo commented Jan 18, 2024

@artste, is there a built image published anywhere from your all_changes branch? Do you use this on local hardware? I'm trying to get this set up on a cloud GPU, any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants