Skip to content

Error running on GPU (DML) #63

@00f8t

Description

@00f8t

I`m trying to run it on GPU using DML. I installed required packages

Image

and when im trying to set provider

var sessionOptions = new SessionOptions()
{
    LogSeverityLevel = OrtLoggingLevel.ORT_LOGGING_LEVEL_VERBOSE,
    LogVerbosityLevel = 1,
    EnableMemoryPattern = false
};
sessionOptions.AppendExecutionProvider_DML();

it breaks with next error:
Microsoft.ML.OnnxRuntime.OnnxRuntimeException: '[ErrorCode:RuntimeException] '

Also i tried running it on CUDA, but it was even slower, than on CPU, and i tried to run it using TensorRT, but there was problems with model, i guess..

Im running on RTX 3050, and DX12 is installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions