-
Notifications
You must be signed in to change notification settings - Fork 0
🚀 Configure Brev.dev GPU Environment #2
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| #!/bin/bash | ||
| set -e | ||
|
|
||
| # Brev Doctor Auto-Generated Setup Script | ||
| # Generated: 2025-12-25T09:19:29.817Z | ||
|
|
||
| echo '🚀 Setting up Brev environment...' | ||
|
|
||
| docker build --pull --no-cache --tag circuit_training:gpu --build-arg base_image=nvidia/cuda:11.8.0-cudnn8-devel-ubuntu22.04 --build-arg tf_agents_version='tf-agents-nightly[reverb]' --build-arg dreamplace_version='dreamplace_20231214_c5a83e5_python3.9.tar.gz' -f tools/docker/ubuntu_circuit_training ./tools/docker/ | ||
| docker run --rm --gpus all -v $(pwd):/workspace --workdir /workspace circuit_training:gpu bash tools/e2e_smoke_test.sh --root_dir /workspace/logs | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing logs directory creation before smoke testThe script runs the smoke test with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GPU resources provisioned but not used for trainingThe configuration provisions 4x H100 GPUs but the smoke test command doesn't include Additional Locations (1) |
||
|
|
||
| echo '✅ Setup complete!' | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| # Brev.dev Launchable Configuration | ||
| # Generated by Brev Doctor | ||
|
|
||
| name: brev-launchable | ||
| version: "1.0" | ||
|
|
||
| compute: | ||
| gpu: H100 | ||
| gpuCount: 4 | ||
| vram: 80GB | ||
| architecture: Hopper | ||
|
|
||
| requirements: | ||
| estimatedVram: 80GB | ||
| cpuCores: 32 | ||
| systemRam: 256GB | ||
| diskSpace: 500GB | ||
|
|
||
| setup: | ||
| script: .brev/setup.sh | ||
|
|
||
| # Launch this environment at https://brev.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unquoted command substitution breaks on paths with spaces
The
$(pwd)in the docker volume mount-v $(pwd):/workspaceis unquoted. If the current working directory contains spaces or special characters, bash will perform word splitting and the docker command will fail with a confusing error. This needs to be quoted as"$(pwd)"to handle paths with spaces correctly.