Skip to content

Add trusted NVIDIA build and test CI #11

Description

@voltjia

Problem

NVIDIA behavior is only validated manually on a development host. The project needs a reproducible GPU signal without exposing a self-hosted runner to untrusted pull-request code.

Scope

  • Add a separate self-hosted NVIDIA build/test workflow.
  • Use explicit runner labels and a public, digest-pinned CUDA/PyTorch image.
  • Build CPU+NVIDIA InfiniRT from a fixed public commit on every run.
  • Build/install the torch-infini wheel outside the source tree.
  • Verify automatic NVIDIA selection and assert Infini/CUDA device-count parity plus allocation/copy tests.
  • Initially trigger only on trusted manual runs and pushes to master.

Acceptance criteria

  • No private image name, /data/shared mount, preinstalled InfiniRT, environment backend selector, or manual initialization call is used.
  • Fork pull requests cannot execute arbitrary code on the self-hosted runner.
  • The workflow produces a clear GPU build and test result.

Depends on #2 and the public image/runner-label contract.

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