{"id":25201303,"url":"https://github.com/fdwr/onnxruntimedirectmlepsample","last_synced_at":"2025-05-12T13:20:51.556Z","repository":{"id":65619140,"uuid":"478649247","full_name":"fdwr/OnnxRuntimeDirectMLEPSample","owner":"fdwr","description":"Little console app to run an ONNX model through ONNX Runtime via the DirectML execution provider.","archived":false,"fork":false,"pushed_at":"2025-03-18T21:13:54.000Z","size":105,"stargazers_count":23,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T22:32:45.226Z","etag":null,"topics":["directml","onnx","onnxruntime"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fdwr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-06T16:54:31.000Z","updated_at":"2025-03-29T00:11:01.000Z","dependencies_parsed_at":"2024-12-19T02:31:52.364Z","dependency_job_id":"8b6998d9-b54e-494c-88fa-f88b333fef81","html_url":"https://github.com/fdwr/OnnxRuntimeDirectMLEPSample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdwr%2FOnnxRuntimeDirectMLEPSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdwr%2FOnnxRuntimeDirectMLEPSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdwr%2FOnnxRuntimeDirectMLEPSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fdwr%2FOnnxRuntimeDirectMLEPSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fdwr","download_url":"https://codeload.github.com/fdwr/OnnxRuntimeDirectMLEPSample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745197,"owners_count":21957320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["directml","onnx","onnxruntime"],"created_at":"2025-02-10T04:37:21.654Z","updated_at":"2025-05-12T13:20:51.527Z","avatar_url":"https://github.com/fdwr.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ONNX Runtime DirectML Execution Provider Sample\r\n\r\nDwayne Robinson 2022-04-06..2023-06-22\r\n\r\n## What is it?\r\nJust testing the DirectML execution provider in ONNX Runtime via D3D resources instead of CPU tensors (which incur synchronization costs). All the code is in `MainFullExample.cpp`, with `MainMinimalExample.cpp` being a much simpler introductory sample (no GPU binding and hard-coded to the given model).\r\n\r\n## Usage\r\n- **OS**: Windows 10+.\r\n- **GPU**: DirectX 12 compute capable.\r\n- **Running**: Command line app.\r\n- **License**: [License.txt](License.txt) tldr: Do whatever you want with the code.\r\n\r\n## Building\r\n- Standard Visual Studio msbuild project.\r\n- The Nuget dependencies [onnxruntime.dll 1.13](https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime.DirectML/) and [directml.dll 1.10.1](https://www.nuget.org/packages/Microsoft.AI.DirectML/) should automatically be copied into your build folder (and after building, it all just works 🤞).\r\n\r\n## Related\r\n- https://github.com/microsoft/DirectML\r\n- https://docs.microsoft.com/en-us/windows/ai/directml/dml-intro\r\n- https://www.nuget.org/packages/Microsoft.AI.DirectML/1.10.1\r\n- https://www.nuget.org/packages/Microsoft.ML.OnnxRuntime.DirectML/\r\n- https://github.com/microsoft/onnxruntime/\r\n- https://onnx.ai/\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdwr%2Fonnxruntimedirectmlepsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffdwr%2Fonnxruntimedirectmlepsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffdwr%2Fonnxruntimedirectmlepsample/lists"}