Skip to content

Nightly LSF submission for Ollama+vLLM tests should reserve GPU memory (gmem) #1603

Closed

Description

@planetf1

test/scripts/run_tests_with_ollama_and_vllm.sh's own documented LSF example uses -gpu "num=1/task:mode=shared" so Ollama and vLLM can coexist on one GPU. mode=shared permits co-tenancy but reserves nothing — under cluster load this produces a sequence of GPU-memory failures depending on what a neighbor is using: torch.AcceleratorError: CUDA-capable device(s) is/are busy, then ValueError: Free memory ... is less than desired GPU memory utilization, then KV cache memory ... is larger than the available KV cache memory.

Adding gmem=<N> to the -gpu string (e.g. -gpu "num=1/task:mode=shared:gmem=20G") reserves actual GPU memory as an LSF-schedulable resource and resolved all of the above in ad-hoc verification (PR #1587, 2026-09-01). Whoever owns the real scheduled nightly LSF submission (outside this repo) should add this reservation.

Activity

  1. added
    p2
    on Sep 1, 2026
  2. planetf1 commented on Sep 1, 2026

    @planetf1
    ContributorAuthor
  3. planetf1 commented on Oct 5, 2026

    @planetf1
    ContributorAuthor

    Completed — both halves done.

    The in-repo work landed with PR #1587: every documented LSF example in test/scripts/run_tests_with_ollama_and_vllm.sh carries the gmem= reservation (:58 gmem=65G, :68 gmem=20G, :73 gmem=65G), verified against main (2026-10-05, e99267edc). The remaining action — the reservation on the real scheduled nightly LSF submission, owned outside this repo — is now resolved as well. The gmem= form documented here is the reference for any future rescheduling of that job.

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

    p2testing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions