dotnet / eShopSupport

A reference .NET application using AI for a customer support ticketing system
MIT License
383 stars 98 forks source link

Any roadmap support for Apple Silicon #44

Open fabianwilliams opened 1 month ago

fabianwilliams commented 1 month ago

Running a MBP M3 with Apple Silicon GPUs, any support coming or workarounds?

luisquintanilla commented 1 month ago

Are you running into issues today preventing you from using Apple Silicon?

For local models, the sample uses Ollama, so whatever hardware it supports is what the sample supports. Looks like that includes Apple as well based on their documentation.

For OpenAI models, hardware support shouldn't matter since the models don't run locally.

muhammadyehia commented 1 month ago

I am also facing a lot of problems with Python and running the aspire projects under Apple Silicon. I did a few changes to be able to run the the project like <Exec Command="pwsh -NoProfile -NoLogo -NonInteractive -ExecutionPolicy Unrestricted -Command '$(ProjectDir)bin/Debug/net8.0/playwright.ps1 install chromium --with-deps'" Condition="'$(OS)' == 'Unix'" /> in E2ETest.csproj and <Import Project="$(MSBuildExtensionsPath32)/Microsoft/VisualStudio/v$(VisualStudioVersion)/Python Tools/Microsoft.PythonTools.targets" Condition="Exists('$(MSBuildExtensionsPath32)/Microsoft/VisualStudio/v$(VisualStudioVersion)/Python Tools/Microsoft.PythonTools.targets')" /> in src/PythonInference/PythonInference.pyproj

and under this two libraries can't be installed with Apple silicon intel-openmp==2021.4.0 mkl==2021.4.0