Skip to content

[BUG] Phi 4 Mini GPU does not run on the GPU #546

@nmetulev

Description

@nmetulev

Describe the bug
When I select Phi 4 Mini GPU under Custom models, the model runs on the CPU. Phi 3 Mini DirectML and Mistral 7B DirectML both work fine on the GPU

To Reproduce
Steps to reproduce the behavior:

  1. Go to Generate Text sample
  2. Select Phi 4 Mini GPU
  3. Run sample
  4. See memory, cpu, and gpu usage in Task manager

Expected behavior
The model should run on the GPU

Please complete the following information:

  • App Version [e.g. 0.4.1 from the Microsoft Store]: 0.5.4 from the store

Additional context
My GPU is RTX 3070 with 8GB of VRAM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    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