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 dev container for easier development #680

Merged
merged 4 commits into from
Jan 27, 2025

Conversation

ByronHsu
Copy link
Collaborator

@ByronHsu ByronHsu commented Dec 18, 2024

This enables users to develop inside a prebuilt container. This can save a lot of efforts of setting up cuda toolkit etc.
ref: https://code.visualstudio.com/docs/devcontainers/containers

@zhyncs
Copy link
Member

zhyncs commented Dec 18, 2024

FYI I use SGLang dev for local development and testing with FlashInfer. https://github.com/sgl-project/sglang/blob/main/docker/Dockerfile.dev

docker run -itd --shm-size 32g --gpus all --name flashinfer_dev lmsysorg/sglang:dev /bin/zsh

@ByronHsu ByronHsu marked this pull request as ready for review January 27, 2025 01:12
@ByronHsu
Copy link
Collaborator Author

@yzh119 can we merge this?

}
},
"remoteUser": "root"
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please insert a newline at the end of file :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@ByronHsu
Copy link
Collaborator Author

ByronHsu commented Jan 27, 2025

Added a non root user in the dockerfile to fix the same issue as sgl-project/sglang#2989

@yzh119 yzh119 merged commit aa9c5d9 into flashinfer-ai:main Jan 27, 2025
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.

3 participants