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

Commit 775d92d

Browse files
author
James Tayler
committed
add comment on how to improve test performance
1 parent f6a2bba commit 775d92d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

OnnxStack.IntegrationTests/StableDiffusionTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212

1313
namespace OnnxStack.IntegrationTests;
1414

15+
/// <summary>
16+
/// These tests just run on CPU execution provider for now, but could switch it to CUDA and run on GPU
17+
/// if the necessary work is done to setup the docker container to allow GPU passthrough to the container.
18+
/// See https://blog.roboflow.com/use-the-gpu-in-docker/ for an example of how to do this.
19+
///
20+
/// Can then also setup a self-hosted runner in Github Actions to run the tests on your own GPU as part of the CI/CD pipeline.
21+
/// Maybe something like https://www.youtube.com/watch?v=rVq-SCNyxVc
22+
/// </summary>
1523
public class StableDiffusionTests
1624
{
1725
private readonly IStableDiffusionService _stableDiffusion;

0 commit comments

Comments
 (0)