microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.77k stars 2.94k forks source link

Segmentation fault when following the Phi-3 tutorial for DirectML #22910

Open matt200-ok opened 1 day ago

matt200-ok commented 1 day ago

Describe the issue

When following the Phi-3 Tutorial using DirectML the phi3-qa.py script causes a segmentation fault after entering the input.

This issue occurs a laptop with a 13th Gen Intel(R) Core(TM) i7-1360P and a laptop with an AMD Ryzen™ AI 9 HX 370.

To reproduce

Urgency

No response

Platform

Windows

OS Version

Windows 11 Home 22631.4460

ONNX Runtime Installation

Released Package

ONNX Runtime Version or Commit ID

1.20.0

ONNX Runtime API

Python

Architecture

X64

Execution Provider

DirectML

Execution Provider Library Version

0.5.1