Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Jan :rust: :ferris:
@janriemer@floss.social  ·  activity timestamp 4 weeks ago

Ok, I have to correct myself:

Compiling any C/C++ project on Windows is an absolute clusterfuck!

I've now almost spent more time trying to compile my program for Windows than writing the actual code for it - let that sink in!

#Windows #CPlusPlus #Compile #Build #BuildSystem #CMake

  • Copy link
  • Flag this post
  • Block
Jan :rust: :ferris:
@janriemer@floss.social replied  ·  activity timestamp 4 weeks ago

Whoop! It compiles now on Windows! awesome

You'll never guess what the #error was...

...on my Windows machine I had a file sync program running in the background, which apparently tripped up the compilation process (the program to compile was in a folder that had been under sync)!

Once I moved the program out of this folder, it all compiled fine!

Holy cow! 🤯

Unfortunately, my program doesn't seem to work on #Windows yet. It just gets stuck after passing audio to #Whisper. 😢

#Fail

  • Copy link
  • Flag this comment
  • Block
Jan :rust: :ferris:
@janriemer@floss.social replied  ·  activity timestamp 4 weeks ago

Hmm... 🤔

My suspicion why it's "not working" is:

Even though I do `cargo run --release` I've seen, during my investigation of the above compiling-fail-nightmare, that it puts artifacts into `Debug` folder.

So it might be that the program (Whisper.cpp to be precise) runs as a debug build and is just _terribly_ slow. 🐌

Oh boy, the struggle continues... 🤸

This might be related:
https://codeberg.org/tazz4843/whisper-rs/issues/226

Codeberg.org

x10 slower in release build

Running Whisper for transcribing in a release build seems to take approximately x10 as long as a debug build. I tested this with the `audio_transcription.rs` example using the `jfk.wav` file and the `ggml-medium.en-q5_0.bin` model. In Debug ``` PS C:\Repositories\wh...
  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.13 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login