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

Add .devcontainer to standardize environment and automate repo setup #41

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

mattmazzola
Copy link
Contributor

Issue

The setup for GPT4RoI repo is complicated and can become a large barrier for others to contribute.

Solution

Use .devcontainer to standardize development environment and automate installation steps

Automates (see .devcontainer/postCreateCommand.sh)

  • Guarantees correct versions of python, cuda, cuda compiler and torch to allow building the packages using native C++ compilation such as flash-attn and mmcv
  • Installation of root package
  • Downloading of pretrained models llama-7b-hf and GPT4RoI-7B-delta-V0 and run script to apply delta
  • Installation of NVM, install node, install pnpm, clone gradio-box, and build package for usage in demo

Video

I likely won't be able to work more on this, but I thought it could be useful for others.

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