|
<Project Sdk="Microsoft.NET.Sdk"> |
|
|
|
<PropertyGroup> |
|
<OutputType>Exe</OutputType> |
|
<TargetFramework>net6.0</TargetFramework> |
|
<Nullable>enable</Nullable> |
|
<Platform>x64</Platform> |
|
<TorchVersion>0.99.3</TorchVersion> |
|
</PropertyGroup> |
|
|
|
<ItemGroup> |
|
<PackageReference Include="Microsoft.ML" Version="2.0.1" /> |
|
<PackageReference Include="Microsoft.ML.Tokenizers" Version="0.20.1" /> |
|
<PackageReference Include="TorchVision" Version="$(TorchVersion)" /> |
|
<PackageReference Condition="'$(OS)' == 'Windows_NT'" Include="TorchSharp-cuda-windows" Version="$(TorchVersion)" /> |
|
<PackageReference Condition="'$(OS)' == 'Linux'" Include="TorchSharp-cuda-linux" Version="$(TorchVersion)" /> |
|
<None Update="Checkpoint/**/*"> |
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
|
</None> |
|
</ItemGroup> |
|
|
|
</Project> |
|
|