Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit e1a63bb

Browse files
committed
CUDA nuget packages
1 parent 850b32a commit e1a63bb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

OnnxStack.Console/OnnxStack.Console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<ItemGroup>
1212
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
1313
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
14-
<PackageReference Include="Microsoft.ML.OnnxRuntime.DirectML" Version="1.16.1" />
14+
<PackageReference Include="Microsoft.ML.OnnxRuntime.Gpu" Version="1.16.1" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

OnnxStack.Console/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"InterOpNumThreads": 0,
2828
"IntraOpNumThreads": 0,
2929
"ExecutionMode": "ORT_SEQUENTIAL",
30-
"ExecutionProvider": "DirectML",
30+
"ExecutionProvider": "Cuda",
3131
"ModelConfigurations": [
3232
{
3333
"Type": "Tokenizer",

OnnxStack.UI/OnnxStack.UI.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
</ItemGroup>
5050

5151
<ItemGroup>
52-
<PackageReference Include="OnnxStack.StableDiffusion" Version="0.6.0" Condition=" '$(Configuration)' == 'Release' "/>
52+
<PackageReference Include="Microsoft.ML.OnnxRuntime.Gpu" Version="1.16.1" />
53+
<PackageReference Include="OnnxStack.StableDiffusion" Version="0.6.0" Condition=" '$(Configuration)' == 'Release' " />
5354
<ProjectReference Include="..\OnnxStack.StableDiffusion\OnnxStack.StableDiffusion.csproj" />
5455
</ItemGroup>
5556

@@ -58,7 +59,6 @@
5859
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
5960
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="7.0.0" />
6061
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
61-
<PackageReference Include="Microsoft.ML.OnnxRuntime.DirectML" Version="1.16.1" />
6262
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" />
6363
</ItemGroup>
6464

0 commit comments

Comments
 (0)