Skip to content

A support for GPU#1866

Open
zapadinsky wants to merge 2 commits into
firecow:masterfrom
zapadinsky:anatoly/gpus
Open

A support for GPU#1866
zapadinsky wants to merge 2 commits into
firecow:masterfrom
zapadinsky:anatoly/gpus

Conversation

@zapadinsky

@zapadinsky zapadinsky commented May 22, 2026

Copy link
Copy Markdown

A new switch --gpus is introduced that is passed to the docker
It also tries to deduce if gpu is needed to run the ci based on tags. like saas-linux-medium-amd64-gpu-standard


Summary by cubic

Add GPU support for CI jobs via a new --gpus flag and automatic tag-based detection. When enabled, containers run with GPUs and the required IPC/ulimit settings.

  • New Features
    • New --gpus CLI option (indexes or all), forwarded to Docker.
    • Auto-enables if a job tag includes gpu as a dash-delimited token (e.g., saas-linux-medium-amd64-gpu-standard), defaulting to --gpus all.
    • When GPUs are enabled, adds Docker flags: --gpus ..., --ipc=host, --ulimit memlock=-1, --ulimit stack=67108864.
    • No change for non-GPU jobs unless the flag or tag is used.

Written for commit baaca82. Summary will update on new commits. Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 3 files

Re-trigger cubic

@zapadinsky zapadinsky force-pushed the anatoly/gpus branch 2 times, most recently from dc2a79e to 6121b95 Compare May 23, 2026 16:41
@zapadinsky

Copy link
Copy Markdown
Author

I've fixed typos and string constants formatting. Force-pushed the changes.

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