Comments (12)
@royshil We can provide build instructions with ROCm rather than provide pre-built binaries.
@reaperx7 Are you so kind as to develop a ROCm-enabled version of our plugin? We will appreciate your contributions!
from obs-backgroundremoval.
I would if I could, but I can't read code worth a penny.
from obs-backgroundremoval.
Just dropping in to confirm I was able to build the plugin using the C/C++ API of the ROCm Execution Provider. All I needed to do was to modify ort-session-utils.cpp
to add the ROCm EP to the ONNX Runtime session instead of the TensorRT EP, and to then to set the appropriate flag in CMake to use the system's own ONNX Runtime presumably built for ROCm.
from obs-backgroundremoval.
from obs-backgroundremoval.
rocm in general is supported by ONNX runtime: https://onnxruntime.ai/docs/execution-providers/ROCm-ExecutionProvider.html
i just don't have a solid way of testing this
also we would need to build onnxruntime with rocm support: https://onnxruntime.ai/docs/build/eps.html#amd-rocm
since the linux release for ORT doesn't include the rocm EP
only CUDA and TRT
so i'm not sure... we could certainly use some help w this
from obs-backgroundremoval.
@reaperx7 Do you have an environment to test our ROCm-enabled plugin if we provide you with build instructions?
from obs-backgroundremoval.
from obs-backgroundremoval.
@reaperx7 @payom I have implemented the initial ROCm support. Can you test this?
#545
from obs-backgroundremoval.
from obs-backgroundremoval.
@reaperx7 You must build the binary by yourself. We will not provide any pre-built things. Thank you!
from obs-backgroundremoval.
from obs-backgroundremoval.
Tried enabling plugin and got error and obs crashed. log file attached.
error.log
Source built with flags:
cmake -B build --preset linux-x86_64 -DENABLE_ROCM=ON
from obs-backgroundremoval.
Related Issues (20)
- pop up HOT 4
- Can we remove Qt dependency? HOT 3
- Background removal filter does not show up although module is loaded HOT 2
- Release v1.1.11 HOT 1
- Can we have another place to communicate with users casually? HOT 5
- record with alpha channel? HOT 4
- Plugin installs, loads, but does not appear in filter list HOT 3
- [NixOS] Unable to get model filename models/mediapipe.onnx HOT 3
- Keeps crashing OBS HOT 5
- It doesn't show up in any Filter. HOT 13
- Cache TensorRT modules HOT 5
- I could not understand how to use the new version of this plugin. HOT 7
- Upgrade to ONNXRuntime v1.17.1 HOT 2
- Even if you check Disable update check, it will be displayed every time you start OBS. HOT 2
- Background removal doesn't work nicely with the Source Clone plugin from Exeldro. HOT 7
- Can this plugin remove the background of a game card instead of a human portrait? HOT 18
- The latest update for OBS Back ground removal will not load because of Microsoft Defender SmartScreen HOT 6
- Latest update seems to break silhouette coherence HOT 2
- Huge latency issue in Linux HOT 6
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 obs-backgroundremoval.