autoconvert tensor rt engine from onnx to specific CUDA gpu

This commit is contained in:
Alex Bezdieniezhnykh
2025-04-24 16:30:21 +03:00
parent e798af470b
commit e9a44e368d
14 changed files with 25 additions and 44 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ public partial class App
_resourceLoader = new ResourceLoader(_inferenceClient);
var login = new Login();
login.CredentialsEntered += async (_, credentials) =>
login.CredentialsEntered += (_, credentials) =>
{
_inferenceClient.Send(RemoteCommand.Create(CommandType.Login, credentials));
_azaionApi = new AzaionApi(new HttpClient { BaseAddress = new Uri(SecurityConstants.API_URL) }, _cache, credentials, _hardwareService);
+4 -4
View File
@@ -50,9 +50,9 @@ public partial class MainSuite
Loaded += OnLoaded;
Closed += OnFormClosed;
SizeChanged += async (_, _) => await SaveUserSettings();
LocationChanged += async (_, _) => await SaveUserSettings();
StateChanged += async (_, _) => await SaveUserSettings();
SizeChanged += (_, _) => SaveUserSettings();
LocationChanged += (_, _) => SaveUserSettings();
StateChanged += (_, _) => SaveUserSettings();
Left = (SystemParameters.WorkArea.Width - Width) / 2;
}
@@ -130,7 +130,7 @@ public partial class MainSuite
}
private async Task SaveUserSettings()
private void SaveUserSettings()
{
ThrottleExt.Throttle(() =>
{