Skip to content

[CLI] Running out of memory when running qwen3.5-0.8b-cuda-gpu:2 with Github Copilot #855

Description

@ponnapz

Problem

I was simply experimenting with trying to run some local models with GitHub copilot app.

I was able to do foundry run qwen3.5-0.8b-cuda-gpu:2 in CLI and try some queries, but trying to do the same in GitHub copilot app fails - after some seconds, suddenly both VRAM and RAM usage spikes and consumes entire available memory and session fails.

When I run the same model in Ollama and connect to GitHub Copilot app, that works as expected, so this looks like some issue specific to foundry local CLI and the Open AI compatible server?

Diagnostics

System

  • OS: Microsoft Windows 10.0.26200
  • Architecture: X64
  • CPU: 13th Gen Intel(R) Core(TM) i7-13800H (20 logical cores)
  • GPU: Intel Corporation Intel(R) Iris(R) Xe Graphics (2.0 GB), NVIDIA NVIDIA GeForce RTX 4060 Laptop GPU (4.0 GB)
  • RAM: 9.5 GB available / 63.8 GB total
  • Disk: 1.1 TB free / 1.4 TB total (D:)
  • .NET: .NET 9.0.17

Service

Models

  • Available variants: 161
  • Loaded: 1
  • Cached: 1

Connectivity

  • Local service: Reachable
  • Model registry: Reachable

Warnings

  • No warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions