octimot / StoryToolkitAI

An editing tool that uses AI to transcribe, understand content and search for anything in your footage, integrated with ChatGPT and other AI models
GNU General Public License v3.0
724 stars 60 forks source link

Installation process of Windows git version of StoryToolkitAI 0.24.0 reinstalls non-Cuda version of Torch #170

Closed bbqrooster closed 5 months ago

bbqrooster commented 8 months ago

Describe the bug Installation process of Windows git version of StoryToolkitAI 0.24.0 reinstalls non-Cuda version of Torch. This makes StoryToolkitAI 0.24 cannot use NVIDIA card even if one is available.

To Reproduce Steps to reproduce the behavior:

  1. Follow the installation process of Windows git version of StoryToolkitAI 0.24.0 including the installation of Torch with CUDA 2.2.1 cu118
  2. Execute venv\Scripts\python StoryToolkitAI\storytoolkitai 1st time
  3. You can see the installation of storytookitai removes Torch with CUDA 2.21 cu118 and replaces it with Torch without CUDA version 2.1.2
  4. Running StoryToolkitAI 0.24 confirms that the CUDA option is not available.

**Installation log file Installation Log.txt

Expected behavior I expect Torch with CUDA should not be replaced with Torch without CUDA.

System (please complete the following information):

Additional context Anything else that is relevant here.

octimot commented 7 months ago

Hey, thanks for pointing this out!

This is most likely because the tool does a pip install -r requirements.txt on that particular update.

We'll add a step which will check if there's CUDA support or not and let it decide which version to keep/install.

Cheers!

bbqrooster commented 7 months ago

Thanks

octimot commented 5 months ago

Fixed with https://github.com/octimot/StoryToolkitAI/commit/25eb44bc628e6cbd0715f57013ffc84fe826c1cd