microsoft / microsoft/onnxruntime-genai

Try to using DML on my Radeon RX 580

Open
#1,669 0 comments 0 reactions 0 assignees View on GitHub
ep:DML
Dominant language
C++
Stars
1.1k
Forks
354
Avg merge
2d 16h
Merged PRs (30d)
85

Description

Image

I was using Phi3 and the example code on CS/HellosPhi

This is my project file structure. The DLL files were added.

Image

If I using Microsoft.ML.OnnxRuntime.DirectML SessionOption like below

```var options = new SessionOptions();
try
{
options.AppendExecutionProvider_DML();
}
Catch(Exception ex)
{
Console.WriteLine(" DML failed: " + ex.Message);
}
```
It fires no error.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the CS/HellosPhi example and the project file structure shown, then reproduce the SessionOptions setup using the listed DLLs on a Radeon RX 580. Check the DirectML execution-provider behavior and define done as a confirmed cause and documented or tested outcome for this setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.