GithubHelp home page GithubHelp logo

Comments (3)

Manamama avatar Manamama commented on June 12, 2024

Too generic query. It has been working fine on CPUs, even on Android (sic).

Provide the neofetch results, the module versions, the errors...

from whisperx.

nigelmathes avatar nigelmathes commented on June 12, 2024

Too generic query. It has been working fine on CPUs, even on Android (sic).

Do you have a link to reference implementations on Android?

from whisperx.

Manamama avatar Manamama commented on June 12, 2024

This project is the 'reference implementations on Android'. In very short:

  1. Run pip install -v https://github.com/m-bain/whisperX/
  2. Look for the (multiple) errors.
  3. For each error, git clone the submodule, including whisperX itself, and tinker with:
    A. Its requirements.txt etc.
    B. Find if a compiled version does exist, via:
    pkg list-all |grep ...., e.g. python-numpy/stable,now 1.26.4-1 aarch64 [installed]
    C. Install B, if it makes sense to get the missing submodule, as per A. If not, comment it out or make it ignore version checks (e.g. the av module).
  4. Enjoy: ~ $ uname -a Linux localhost 4.14.186+ #1 SMP PREEMPT Thu Mar 17 16:28:22 CST 2022 aarch64 Android ~ $ pip show whisperx Name: whisperx Version: 3.1.3 Summary: Time-Accurate Automatic Speech Recognition using Whisper. Home-page: https://github.com/m-bain/whisperx Author: Max Bain Author-email: License: MIT Location: /data/data/com.termux/files/usr/lib/python3.11/site-packages Requires: faster-whisper, nltk, pandas, pyannote.audio, setuptools, torch, torchaudio, transformers
    If that fails (very likely, as you need to learn the gcc switches etc, too, to compile most, especially ctranslate2), then:
  5. Use termux-proot, e.g. /data/data/com.termux/files/usr/bin/proot-distro login debian --shared-tmp
  6. Then just Point 1 and pray.
  7. Some Points 2 for good measure: apt list with grep
  8. Get: OS: Debian GNU/Linux 12 (bookworm) aarch64 Host: realme RMX3085 Kernel: 6.2.1-PRoot-Distro and a whisperx that works, also see Point 4.

from whisperx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.