mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:46:30 +00:00
autoconvert tensor rt engine from onnx to specific CUDA gpu
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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(() =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user