Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to select NPU instead of GPU on Intel laptop? #1029

Open
mmaitre314 opened this issue Nov 3, 2024 · 0 comments
Open

How to select NPU instead of GPU on Intel laptop? #1029

mmaitre314 opened this issue Nov 3, 2024 · 0 comments
Labels

Comments

@mmaitre314
Copy link

Where could I find a code sample showing how to run genai on NPU instead of GPU using DmlExecutionProvider in Python?

Conda environment:

name: phi3-onnx-dml
channels:
  - conda-forge
  - nodefaults
dependencies:
  - python=3.12
  - vs2015_runtime=14.40.33810
  - pip
  - pip:
    - ipykernel==6.29.5
    - numpy==1.26.4
    - huggingface-hub[cli]==0.26.2
    - onnxruntime-directml==1.20.0
    - onnxruntime-genai-directml==0.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant