Skip to content

[C#] Regression on 0.5.0 with DML #1071

@azchohfi

Description

@azchohfi

Describe the bug
C# Version 0.5.0 broke DML models, such as microsoft--Phi-3-mini-4k-instruct-onnx directml-int4-awq-block-128.
The model loads, but the Generator's constructor throws an Access violation exception.

To Reproduce
Steps to reproduce the behavior:

  1. Try running Phi3 Sample with DML
  2. Exception line 98

Expected behavior
Works just as 0.4.0.

Desktop (please complete the following information):

  • OS: Windows 11 (24H2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions