Comments (5)
Hey guys! stemgen
defaults to CPU instead of GPU. To use the GPU acceleration, you can search and remove -d cpu
in the script.
from stemgen.
Demucs uses the GPU by default if it's available. I would expect the stemgen wrapping of Demucs to Just Work if run in an environment (like WSL2 with GPU passthrough) with GPU available.
from stemgen.
hm thats odd, I already have it running in WSL2 with the Nvidia drivers installed with no luck, I'll try figuring it out, thank you.
from stemgen.
from stemgen.
To be honest, it's mostly a selfish decision because I don't have a Nvidia GPU so I chose to default to CPU. If you have a GPU you should use it! Except if you have low memory I guess, but you should try.
I haven't got any request about this so far but I'm obviously happy to default to GPU instead (and maybe let the underlying software fallback to CPU or introduce a flag to force CPU).
I was using Spleeter with the CPU package when I first created this script. It was a separate package for the GPU so this was the only option available. Now it seems to be unified but I unfortunately don't have an Nvidia GPU so I can't really test the GPU acceleration. Also I'd love to try to make Spleeter and/or Demucs work with Mac GPUs, maybe it could work with Tensorflow Metal?
Meta: I don't have any information about current users' needs. Please send me an email if you want to chat more about the future of Stemgen!
from stemgen.
Related Issues (20)
- [Feature Request] traktor4 metadata HOT 6
- ni-stem errors on linux HOT 1
- [Feature Request] GUI HOT 3
- [Feature Request] Windows Support HOT 10
- [Feature Request] MP3 support HOT 9
- [Note] ALAC stems can't be read on Windows within Traktor HOT 3
- Sweep(slow): Review the codebase and make suggestions to make the code more readable and Pythonic HOT 1
- Sweep(slow): Review the codebase and make suggestions to make the code more readable and Pythonic HOT 1
- Sweep: Refactor ableton.py to be cleaner, extracting any methods you can into separate files if that makes sense HOT 1
- Sweep: Add comments and docstrings to ableton.py. Clarify each method and global HOT 1
- Mutagen missing in installation instructions HOT 1
- Converting multiple songs at once? HOT 3
- [Feature request] Extract only vocals and instrumental HOT 2
- Error opening input: No such file or directory HOT 8
- How to know if qaac encoder is used on Windows? HOT 2
- [Feature request] Custom name & color for stem HOT 2
- [Bug] Windows cleaning step failing HOT 5
- [Feature Request] Following the Stem File Specification HOT 1
- [Bug] ALAC stems can't be read on Windows within Traktor HOT 4
- [Feature Request] GPU acceleration HOT 8
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 stemgen.