sandrohanea / whisper.net

Whisper.net. Speech to text made simple using Whisper Models
MIT License
567 stars 88 forks source link

Whisper.net.Runtime.NoAvx: Compile error: Could not copy the files #247

Open bvdcode opened 3 hours ago

bvdcode commented 3 hours ago

Cannot compile the project with Whisper.net.Runtime.NoAvx or Whisper.net.AllRuntimes but previous Whisper.net.Runtime is working good

Project file:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
    <DockerfileContext>.</DockerfileContext>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Whisper.net" Version="1.7.1" />
    <PackageReference Include="Whisper.net.Runtime.NoAvx" Version="1.7.1" />
  </ItemGroup>

</Project>
#6 89.82 error MSB3030: Could not copy the file "/root/.nuget/packages/whisper.net.runtime.noavx/1.7.1/build/linux-arm64/libwhisper.so" because it was not found. [/src/WhisperBot.csproj]
#6 89.82 error MSB3030: Could not copy the file "/root/.nuget/packages/whisper.net.runtime.noavx/1.7.1/build/linux-x64/libwhisper.so" because it was not found. [/src/WhisperBot.csproj]
#6 89.82 error MSB3030: Could not copy the file "/root/.nuget/packages/whisper.net.runtime.noavx/1.7.1/build/linux-x64/libggml.so" because it was not found. [/src/WhisperBot.csproj]
#6 89.82 error MSB3030: Could not copy the file "/root/.nuget/packages/whisper.net.runtime.noavx/1.7.1/build/linux-arm64/libggml.so" because it was not found. [/src/WhisperBot.csproj]
#6 89.82 error MSB3030: Could not copy the file "/root/.nuget/packages/whisper.net.runtime.noavx/1.7.1/build/linux-arm/libggml.so" because it was not found. [/src/WhisperBot.csproj]
#6 89.82 error MSB3030: Could not copy the file "/root/.nuget/packages/whisper.net.runtime.noavx/1.7.1/build/linux-arm/libwhisper.so" because it was not found. [/src/WhisperBot.csproj]
sandrohanea commented 3 hours ago

Hello, Indeed, there were some problems with the packaging of noavx for 1.7.1. I'm working on a fix (already merged, just require some additional testing) and will release 1.7.2-preview2 soon which should have all these issues fixed.

I expect 1.7.2-preview2 to be released later today.