Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/api-reference/tensorflow-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ SciSharp.TensorFlow.Redist v1.14.0
### GPU support
GPU based TensorFlow is currently supported on:
* Windows
* Linux
As of now TensorFlow does not support running on GPUs for MacOS, so we cannot support this currently.

#### Prerequisites
You must have at least one CUDA compatible GPU, for a list of compatible GPUs see
Expand All @@ -26,7 +28,8 @@ following [Nvidia's Install guide](https://docs.nvidia.com/cuda/cuda-quick-start
#### Usage
To use TensorFlow with GPU support take a NuGet dependency on the following package depending on your OS:

Windows -> SciSharp.TensorFlow.Redist-Windows-GPU
* Windows -> SciSharp.TensorFlow.Redist-Windows-GPU
* Linux -> SciSharp.TensorFlow.Redist-Linux-GPU

No code modification should be necessary to leverage the GPU for TensorFlow operations.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,13 @@

<ItemGroup>
<PackageReference Include="Microsoft.ML.Onnx.TestModels" Version="$(MicrosoftMLOnnxTestModelsVersion)" />
</ItemGroup>
<ItemGroup Condition=" '$(OS)' == 'Windows_NT'">
<PackageReference Include="SciSharp.TensorFlow.Redist-Windows-GPU" Version="$(TensorFlowVersion)" />
</ItemGroup>
<ItemGroup Condition=" '$(OS)' == 'Unix'">
<PackageReference Include="SciSharp.TensorFlow.Redist-Linux-GPU" Version="$(TensorFlowVersion)" />
</ItemGroup>

<ItemGroup>
<Content Include="$(ObjDir)DnnImageModels\ResNet18Onnx\ResNet18.onnx">
Expand Down