Commit e9759cf
Preload ARM64 native dependencies for NuGet package loading
Add preloading of ARM Performance Libraries and other libtorch
dependencies on Windows ARM64 before loading torch_cpu.dll and
LibTorchSharp.dll. This fixes native library resolution when
consuming TorchSharp from NuGet packages, where implicit DLL
dependencies cannot be found in the NuGet cache directory.
Follows the same pattern as the existing CUDA DLL preloading.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 4edf2e6 commit e9759cf
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
157 | 170 | | |
158 | 171 | | |
159 | 172 | | |
| |||
0 commit comments