mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
MI now supports ONNX runtime so the extension should support is as well (#10604)
This commit is contained in:
@@ -43,9 +43,9 @@ export class PredictService {
|
||||
let connection = await this.getCurrentConnection();
|
||||
if (connection) {
|
||||
const serverInfo = await this._apiWrapper.getServerInfo(connection.connectionId);
|
||||
// Right now only Azure SQL Edge support Onnx
|
||||
// Right now only Azure SQL Edge and MI support Onnx
|
||||
//
|
||||
return serverInfo && serverInfo.engineEditionId === 9;
|
||||
return serverInfo && (serverInfo.engineEditionId === 9 || serverInfo.engineEditionId === 8);
|
||||
}
|
||||
return false;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user