Comments (7)
@Jeronymous thank you for making the requirements.txt
more flexible! This makes it easy to specify a whisper version that works with our environment.
from whisper-timestamped.
Thanks for notifying.
Indeed targeting a specific whisper version would be more future-proof.
However, using whisper version 20230306 would be better than the previous version 20230124, because of some bug resolutions that are useful (avoid an infinite loop for instance).
I'm currently testing and for now I don't see any breakage with the new version 20230306.
Can you please clarify what you refer to with "breaks if you don't have a specific environment"? Any specific error message during the setup?
from whisper-timestamped.
@Jeronymous this is the exact error I get:
ERROR: Could not find a version that satisfies the requirement triton>=2.0.0.dev20221202
(from openai-whisper) (from versions: none)
ERROR: No matching distribution found for triton>=2.0.0.dev20221202
Even just pinning whisper to git+https://github.com/openai/whisper@3e1780f
- the commit right before this change would be great.
from whisper-timestamped.
If you are testing on osx you will not see this error, it is a result of this portion of code that was added:
requirements = []
if sys.platform.startswith("linux"):
triton_requirement = "triton>=2.0.0.dev20221202"
try:
import re
import subprocess
version_line = subprocess.check_output(["nvcc", "--version"]).strip().split(b"\n")[-1]
major, minor = re.findall(rb"([\d]+)\.([\d]+)", version_line)[0]
if (int(major), int(minor)) < (11, 4):
# the last version supporting CUDA < 11.4
triton_requirement = "triton==2.0.0.dev20221011"
except (IndexError, OSError, subprocess.SubprocessError):
pass
requirements.append(triton_requirement)
I'm a bit surprised that this made it in to main, I wonder if they removed this version? They are now on the official 2.0.0 version as of 4 days ago: https://github.com/openai/triton/releases/tag/v2.0.0 - I think maybe they just forgot to update the dependency before pushing?
from whisper-timestamped.
And for what it's worth i think this is very platform specific - so if you are using an arm image of linux - pip will not be able to find triton as a pip dependency - so this fails. Based on this discussion. From what I can tell, pip does not appear to show versions that are unavailable for an specific platform.
-- Versions of Triton past 0.3.0 only have manylinux2014 x86_64 wheels on PyPI
from whisper-timestamped.
Even just pinning whisper to git+https://github.com/openai/whisper@3e1780f - the commit right before this change would be great.
This would make sense specifically for ARM linux, before the bug is solved on Whisper side.
I see that you reported the issue well openai/whisper#1048
Let's hope that it gets solved soon.
For now, I see nothing preventing from installing whatever version of whisper works for you, before installing whisper-timestamped.
from whisper-timestamped.
OK so in the end:
- Version 20230306 introduced a breakage on ARM linux, as reported by @kamranjon on openai/whisper#1048
- It also introduces some bugs, which can be a good reason to use another specific older version
- openai/whisper#1046
- (and I am seeing problems of repeated text around silences both with
- Version 20230306 also brings some backward compatibility issues with whisper-timestamped, which is addressed in #53
- The python requirement of whisper-timestamped was linking openai-whisper package to the github repo, which was forcing to prefer the latest version. This link was removed, so the requirement is more flexible and allow anybody to use any version / checkpoint of Whisper.
from whisper-timestamped.
Related Issues (20)
- whisper_timestamped blocks from an URL in CLI into subprocess module HOT 6
- Error with Whisper v3 HOT 2
- everytime I update this, it bricks my python install HOT 1
- Beam Search Decoding How to Get Beam of Tokens as Output HOT 3
- Error when using -vad_v3.1 HOT 1
- Consider using whisper-distilled HOT 2
- Publication on Pypi failing HOT 7
- Is there a way to use it with whisper.cpp HOT 2
- Cannot find audio file HOT 3
- Only part of audio transcribed HOT 4
- Trouble transcribing list of files HOT 2
- torch hub path is not properly set HOT 1
- Broken link for plotting word alignment section HOT 7
- Loading finetuned model serialized with safetensors (and/or sharded models) HOT 10
- How to activate flash attention? HOT 2
- Could it be possible to apply the same technique to the whisper API? HOT 6
- ctranslate2 support HOT 1
- CPU only light install links are broken? HOT 3
- Issue with accented characters coming up as symbols in output json file
- Repetitive Phrase Looping HOT 3
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-timestamped.