Comments (5)
The issue is related to the source image, which is devops-works/golang-upx. That docker image gets built for amd64 only unfortunately, which causes the arm64 to pull the wrong image and try to build on top of that.
My solution looks like follows:
-
Pull golang-upx repository from here: https://github.com/devops-works/docker-golang-upx
-
Patch the dockerfile to download the arm64 upx binary instead of the amd64 one. That part is hardcoded, so we'd need to ask for support for $BUILDPLATFORM and create a separate issue over at the golang-upx repository to get that problem solved, or patch it manually for the time being. I decided for the latter because I needed a quickfix.
-
I then added the following to the whishper docker file top:
# syntax = devthefuture/dockerfile-x
You can now replace the requirement of devops-works/golang-upx:latest with this line:
FROM ./docker-golang-upx/Dockerfile as backend-builder
Make sure to use the correct path to your golang-upx Dockerfile.
- Now build your own whishper image, which will run just fine on arm64. You can also directly reference the whishper Dockerfile inside of your docker-compose.yml too if you want to.
Hope that helps someone. There is no better solution to the problem for now, or I don't know any better one.
Best permanent fix would be to either request a fix over at golang-upx or step away from that image/implementation entirely, or manually patch and build within the CI/release process to get a proper ARM64 image built and pushed.
from whishper.
huh, that's strange, I can't seem to reproduce it. did you find out anything else about the issue?
from whishper.
I am running it on an Oracle Cloud VPS, the free tier. with 4 virtual core, 24gb RAM.
I have tried it on a Raspberry Pi 4b (8gb) and I get the same error.
from whishper.
Hey @beastarman74 can you try latest version v2.0.0?
from whishper.
Hi @pluja
Experiencing same issue on v2.0.0 and beta branch
from whishper.
Related Issues (20)
- [Feature] Jump to transcribed part corresponding to audio/video's current position
- [BUG] VTT Format invalid HOT 1
- [Feature] Synchronized Lyrics not only line by line, but Word by word, or even down to the syllable
- [Feature] Upload video/audio + reference transcript → Get subtitles/lyrics with timecodes
- Can it handle multiple tasks at once?
- [Question] It's possible acess from postman? HOT 1
- [Feature] Summary & Action Items
- How To Fix Following Error: service "translate-cpu" has neither an image nor a build context specified
- [BUG] Failed to transcribe HOT 2
- [BUG] Installation fail due to an not existed folder for supervisord HOT 2
- How to install v4 HOT 1
- [BUG] Frontend not reacting on start input HOT 6
- An error occurred while synchronising the Systran/faster-whisper-tiny model from the Hugging Face Hub HOT 1
- [Feature] Upload multiple files to queue
- [Feature] Set defaults for UI / new uploads
- [Feature] Align Existing Transcript and Waveform Audio Labelling
- [Feature] Automatic upload/download to/from network folder
- [Feature] Add paragraphs to text export
- [Feature] can we install it without docker?
- [BUG] Not starting transcription/upload
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 whishper.