Skip to content

Commit

Permalink
fix engine generation
Browse files Browse the repository at this point in the history
  • Loading branch information
the-database committed Oct 7, 2023
1 parent c6885b6 commit 49cfaa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AnimeJaNaiConverterGui/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ public async Task RunCommand(string command)
_runningProcess = process;
process.StartInfo.FileName = "cmd.exe";
process.StartInfo.Arguments = command;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.RedirectStandardOutput = false;
process.StartInfo.RedirectStandardError = true;
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;
Expand Down
2 changes: 1 addition & 1 deletion AnimeJaNaiConverterGui/Views/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
<ToggleButton IsChecked="{Binding DirectMlSelected}" Content="DirectML" Command="{Binding SetDirectMlSelected}" />
<ToggleButton IsChecked="{Binding NcnnSelected}" Content="NCNN" Command="{Binding SetNcnnSelected}" />
<TextBlock FontSize="12" VerticalAlignment="Center" Margin="20,0,0,0" xml:space="preserve">
TensorRT: Fastest option but NVIDIA only. Supports fp16 and fp32 ONNX models.
TensorRT: Fastest option but NVIDIA only. Supports fp16 and fp32 ONNX models. The initial engine generation may require several minutes but only needs to be done once.
DirectML: Compatible with NVIDIA, AMD, and Intel GPUs but slower than TensorRT. Supports fp32 ONNX models only.
NCNN: Compatible with NVIDIA, AMD, and Intel GPUs but typically slower than DirectML. Supports fp32 ONNX models only.
</TextBlock>
Expand Down

0 comments on commit 49cfaa1

Please sign in to comment.