machinelearning
machinelearning copied to clipboard
Remove unsupported platform check.
I have the following build script:
dotnet publish -c Release --runtime linux-arm64 --self-contained
This results in the following error:
/Users/gjtorikian/.nuget/packages/microsoft.ml/1.7.1/build/netstandard2.0/Microsoft.ML.targets(16,5): error : Microsoft.ML currently supports 'x64' and 'x86' processor architectures. Please ensure your application is targeting 'x64' or 'x86'.
Is arm64 not supported?
Hi @gjtorikian. Arm64 is supported, but there are a few trainers that don't fully work in Arm64 because of dependencies that don't run there. That being said, I thought I had removed this check since we now do support Arm64... To workaround this you can set EnableMLUnsupportedPlatformTargetCheck to false and it will skip this check.
I'll rename this issue so we can track removing that check.
Great, worked like a charm. Thank you!