Skip to content

feat(up): add --gpu-availability flag to override GPU detection - #185

Merged
skevetter merged 1 commit into
mainfrom
05b9/gpu-availability-flag
May 4, 2026
Merged

feat(up): add --gpu-availability flag to override GPU detection#185
skevetter merged 1 commit into
mainfrom
05b9/gpu-availability-flag

Conversation

@skevetter

Copy link
Copy Markdown
Contributor

Summary

  • Adds --gpu-availability CLI flag to devsy up for overriding GPU auto-detection
  • Accepted values: detect (default, existing behavior), true (force available), false (force unavailable)
  • Threads override through both single-container and compose paths
  • Aligns with official devcontainer CLI's --gpu-availability flag (P2 CLI parity, DEVSY-018)

@netlify

netlify Bot commented May 3, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev canceled.

Name Link
🔨 Latest commit 2afa8b9
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/69f7dc29d1bb1c0008d13424

@coderabbitai

coderabbitai Bot commented May 3, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@skevetter has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 3 minutes and 40 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b299571b-ffd8-485a-a402-3ed35389cf67

📥 Commits

Reviewing files that changed from the base of the PR and between b51dbf6 and 2afa8b9.

📒 Files selected for processing (6)
  • cmd/up.go
  • pkg/devcontainer/compose.go
  • pkg/devcontainer/single.go
  • pkg/driver/docker.go
  • pkg/driver/docker/docker.go
  • pkg/provider/workspace.go

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 0/1 reviews remaining, refill in 3 minutes and 40 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the size/s label May 3, 2026
Allow users to force GPU availability to "true" or "false" instead of
relying on Docker auto-detection, matching the official devcontainer CLI
behavior. The override is threaded through both the single-container and
compose code paths.
@skevetter
skevetter force-pushed the 05b9/gpu-availability-flag branch from 7db0c03 to 2afa8b9 Compare May 3, 2026 23:37
@skevetter
skevetter merged commit 92b3cd7 into main May 4, 2026
53 checks passed
@skevetter
skevetter deleted the 05b9/gpu-availability-flag branch May 4, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant