Comments (2)
Hey @alcarazolabs! The idea behind Whisper JAX is that it has minimal dependencies, solely Transformers, JAX, Flax and cached-property:
Lines 24 to 28 in 9c50a6e
Because JAX has different installation routes depending on your hardware, it's impossible to put it in a requirements.txt
file in a way that respects each installation route. Instead, it is advocated that users install JAX based on the official instructions, and then install the remaining 3 dependencies for Whisper JAX (Transformers, Flax and cached-property). If you're having issues with installing JAX on CUDA, I recommend you ask on the JAX repository for more detailed support!
We don't pin any of the requirements on Flax since all you need is a version that is compatible with your JAX version. If we pinned the version of Flax, the requirements would become more stringent, and also not forward compatible with new versions of JAX/Flax.
Therefore, the requirements are fully defined as required dependencies in setup.py
. You can install the trio of requirements by running:
pip install git+https://github.com/sanchit-gandhi/whisper-jax.git
from whisper-jax.
Hi @sanchit-gandhi - would you be able to list your benchmark/* dependencies please? These scripts actually don't seem to work anymore with naive package installs, but I could be wrong. If I simply install the additional required packages naively (ex: pip install datasets, ...), the benchmarking scripts fail and complain about jax_array. For context: I'm using python3.9 and jax 0.4.25 and have run "pip install ." after cloning the repo. The src code itself works fine but i'd like to run the benchmarks to validate performance. Thanks very much!
from whisper-jax.
Related Issues (20)
- How to add millisecond for the timestamp?
- I have downloaded the flax_model, where can I call it?
- why whisper-jax did not use my GPU? HOT 3
- Rust impl
- Unsuccessful deployment HOT 1
- Coral TPU support HOT 2
- Slower than openai whisper with my gpu HOT 2
- I want to use whisper-at models HOT 1
- Has translate be integrated into transcribe? It returns English but expect Chinese. HOT 3
- Slow post processing HOT 1
- unable to run TPU using current kaggle environment HOT 1
- Large Model causing performance degradation?
- Shape Error when running on GPU HOT 2
- HuggingFace space erroring more often than usual HOT 1
- Transcription issues.
- Punctuation mark
- Confidence score and average log probability on Whisper-JAX
- whisper-large-v3 (in demo code) VS whisper-large-v2 (in kaggle notebook)
- Add wrapper for wyoming API
- Kernel always restarting when JIT compiling the forward call on MacBook Pro M3 Max
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whisper-jax.