Skip to content

[Feature]: VoltageGPU backend (confidential GPU VMs on Intel TDX) #4568

Backlog

Description

@Jabsama

Problem

dstack users who need confidential computing (memory encrypted by the CPU, attestation they can verify themselves) have no confidential GPU VMs to target today.

I run VoltageGPU. We rent GPU VMs that run inside Intel TDX trust domains with NVIDIA confidential computing: an H100 is $6.95/hour, billed per second, with no commitment. Each VM can produce its own TDX quote and NVIDIA attestation, which the tenant checks with our open-source verifier (voltage-verify).

Solution

A VM-type backend, built the same way as the Lambda one, limited to our confidential VMs:

  • gpuhunt: an online provider that reads our public pricing feed (no key needed): VM sizes, GPU, price and stock.
  • dstack: the backend adds the project's SSH key to the account and deploys the VM through our public API. It waits for SSH, then installs Docker, the NVIDIA Container Toolkit and the shim over SSH, and releases the VM on termination. Orphans are found through the deployed VM name.

Both branches are ready on my side:

  • gpuhunt: 430 tests pass.
  • dstack: the backend has 52 tests. The full suite passed under WSL (5,553 tests) before a small fix to two setup lines, described below.
  • Real run today: a task running nvidia-smi on an h100-small VM got an NVIDIA H100 80GB HBM3 (driver 595.71.05), exited with code 0, and the VM was released. The first attempt landed on a VM with no IPv6 route, where apt-get stalled on IPv6 mirrors (another VM had no such problem), so setup now forces IPv4 for apt and curl.

Known gaps on our API side:

  • There is no cloud-init, so setup runs over SSH.
  • The disk size is not published.
  • VM names are limited to 22 characters.
  • The deploy endpoint has no idempotency key.
  • There is no explicit failure state.

Workaround

SSH fleets already work on our VMs after a one-time install of Docker and the NVIDIA Container Toolkit.

Would you like to help us implement this feature by sending a PR?

Yes. If you are open to adding the backend, I would send the gpuhunt PR first, then the dstack PR.

The code was written with an AI coding assistant, under my direction. The tests and the real run above were done on our side, and I am the one accountable for the code and the review.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions