infra: Devcontainer productivity improvements
Adding a few productivity improvements to our devcontainer setup
- [x] Expose all GPUs in docker-compose
- [x] Auto-mount HuggingFace Hub cache if available
- [x] Pre-install requirements and pre-commit hooks
- [x] Move
.devcontainer/clangd/devcontainer.json --> .devcontainer/devcontainer.json. background: some VSCode commands like>Dev Container: Clone Repository in Container Volume...only work with.devcontainer/devcontainer.json. If we ever split our devcontainer setup betweenclangdandpythonor others we can move it back but for now it can add additional convenience - [x] Ensure
pythonpath is correctly specified for VSCode - [ ] Double-check pre-commit install in post create command (got some issue in one my tests)
/bot run
PR_Github #466 [ run ] triggered by Bot
PR_Github #466 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #399 completed with status: 'SUCCESS'
@lucaslie Thanks for improving the dev productivity!
@niukuo Since this is container related change, can you also help review this MR?
June
/bot run
/bot run
PR_Github #929 [ run ] triggered by Bot
/bot run
PR_Github #933 [ run ] triggered by Bot
PR_Github #929 [ run ] completed with state ABORTED
PR_Github #933 [ run ] completed with state SUCCESS
/LLM/main/L0_MergeRequest_PR pipeline #735 completed with status: 'SUCCESS'
Not sure why I cannot rebase this branch, I don't have the button on UI. Hence I cannot merge it.
/bot reuse-pipeline
Not sure why I cannot rebase this branch, I don't have the button on UI. Hence I cannot merge it.
@kaiyux, thank you for checking. Probably you don't have write access to the fork? Also, I have merge permissions so should be good. :)
PR_Github #1037 [ reuse-pipeline ] triggered by Bot
PR_Github #1037 [ reuse-pipeline ] completed with state SUCCESS
Reusing PR_Github #933 for commit 1577979