Skip to content

Commit 9e11226

Browse files
prathikrPrathik Rao
andauthored
[sdk_v2] version fixes for bug bash (#426)
* version updates * more changes * switch order * comment * undo package.json changes * newline * foundry from ort nightly --------- Co-authored-by: Prathik Rao <prathikrao@microsoft.com>
1 parent 69b8c58 commit 9e11226

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

sdk_v2/cs/src/Microsoft.AI.Foundry.Local.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@
9898

9999
<PropertyGroup>
100100
<!-- default version unless overridden during dotnet build/restore command -->
101-
<FoundryLocalCoreVersion Condition="'$(FoundryLocalCoreVersion)' == ''">0.8.1.0</FoundryLocalCoreVersion>
101+
<FoundryLocalCoreWinMLVersion Condition="'$(FoundryLocalCoreVersion)' != ''">$(FoundryLocalCoreVersion)</FoundryLocalCoreWinMLVersion>
102+
<FoundryLocalCoreWinMLVersion Condition="'$(FoundryLocalCoreVersion)' == ''">0.9.0.7-dev.20260209T090407.b5352143</FoundryLocalCoreWinMLVersion>
103+
<FoundryLocalCoreVersion Condition="'$(FoundryLocalCoreVersion)' == ''">0.9.0.8-dev.20260209T090216.b5352143</FoundryLocalCoreVersion>
102104
</PropertyGroup>
103105

104106
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -110,7 +112,7 @@
110112

111113
<ItemGroup>
112114
<PackageReference Condition="'$(UseWinML)' == 'true'"
113-
Include="Microsoft.AI.Foundry.Local.Core.WinML" Version="$(FoundryLocalCoreVersion)" />
115+
Include="Microsoft.AI.Foundry.Local.Core.WinML" Version="$(FoundryLocalCoreWinMLVersion)" />
114116
<PackageReference Condition="'$(UseWinML)' != 'true'"
115117
Include="Microsoft.AI.Foundry.Local.Core" Version="$(FoundryLocalCoreVersion)" />
116118

sdk_v2/js/script/install.cjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,19 @@ const CORE_FEED = useNightly ? ORT_NIGHTLY_FEED : NUGET_FEED;
5555
const ARTIFACTS = [
5656
{
5757
name: useWinML ? 'Microsoft.AI.Foundry.Local.Core.WinML' : 'Microsoft.AI.Foundry.Local.Core',
58-
version: useNightly ? undefined : '0.8.2.2', // Set later using resolveLatestVersion if undefined
58+
version: useNightly ? undefined : useWinML ? '0.9.0.7-dev.20260209T090407.b5352143' : '0.9.0.8-dev.20260209T090216.b5352143', // Set later using resolveLatestVersion if undefined
5959
files: ['Microsoft.AI.Foundry.Local.Core'],
60-
feed: CORE_FEED
60+
feed: ORT_NIGHTLY_FEED
6161
},
6262
{
63-
name: os.platform() === 'linux' ? 'Microsoft.ML.OnnxRuntime.Gpu.Linux' : 'Microsoft.ML.OnnxRuntime.Foundry',
64-
version: '1.23.2', // Hardcoded stable version
63+
name: os.platform() === 'linux' ? 'Microsoft.ML.OnnxRuntime.Gpu.Linux' : 'Microsoft.ML.OnnxRuntime.Foundry',
64+
version: os.platform() === 'linux' ? '1.24.1' : '1.24.1.1', // Hardcoded stable version
6565
files: RID == 'win-x64' ? ['onnxruntime', 'dxil', 'dxcompiler'] : ['onnxruntime'],
66-
feed: os.platform() === 'linux' ? NUGET_FEED : ORT_FEED
66+
feed: os.platform() === 'linux' ? NUGET_FEED : ORT_NIGHTLY_FEED
6767
},
6868
{
6969
name: useWinML ? 'Microsoft.ML.OnnxRuntimeGenAI.WinML' : 'Microsoft.ML.OnnxRuntimeGenAI.Foundry',
70-
version: '0.12.0-dev-20260130-1069610-180ed1ac', // Hardcoded dev version (until we upload 0.12.0 to ORT or NuGet)
70+
version: '0.12.0', // Hardcoded dev version (until we upload 0.12.0 to ORT or NuGet)
7171
files: ['onnxruntime-genai'],
7272
feed: ORT_NIGHTLY_FEED
7373
}

0 commit comments

Comments
 (0)