[BUG] Example of smaller net architecture that eats more CPU then it's bigger brother
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- audio-video-rtc, performance
Research direction
Start by reproducing the CPU comparison with the attached models and the stated Windows, Reaper, plugin, sample-rate, and hardware setup. Compare the 3-channel and 4-channel architectures and use the observed CPU difference to identify where the plugin's utilization diverges; done means the cause is isolated and a focused fix or confirmed explanation is documented.
Written by the indexing model from the issue text.
Description
I tried to search better architectures for NAM and find really interesting example
Win 10, Reaper 6.70, NAM plugin VST3.0 v0.7.11 on AMD Ryzen 5 3600 and RTX4070Ti
Project sample rate 48Khz
NAM files with samplerate 192kHz
I work on architecture based on WaveNet with 5 layers and 4 channels (alternate to "Feather" with 1.5x better loss values).
Then i try to make it less CPU hungry and decrease 4 channels to 3.
Resulted neural net has smaller size (less weights number), but it eats more CPU.
Here are screenshots of how much CPU it eats (see FX CPU on right side):
here are the comparison of their architectures, only differense is size of each layer 3 instead of 4:
"input_size": 1, "condition_size": 1, "head_size": 3, "channels": 3, "kernel_size": 6, "dilations": [1, 5, 25, 125], "activation": "Tanh"
"input_size": 3, "condition_size": 1, "head_size": 3, "channels": 3, "kernel_size": 6, "dilations": [1, 5, 25, 125], "activation": "Tanh"
"input_size": 3, "condition_size": 1, "head_size": 3, "channels": 3, "kernel_size": 6, "dilations": [1, 5, 25, 125], "activation": "Tanh"
"input_size": 3, "condition_size": 1, "head_size": 2, "channels": 3, "kernel_size": 6, "dilations": [1, 5, 25, 125], "activation": "Tanh"
"input_size": 3, "condition_size": 1, "head_size": 1, "channels": 2, "kernel_size": 6, "dilations": [625, 1, 5, 25, 125, 625], "activation": "Tanh"
, "head": null, "head_scale": 0.36
vs
"input_size": 1, "condition_size": 1, "head_size": 4, "channels": 4, "kernel_size": 6, "dilations": [1, 5, 25, 125], "activation": "Tanh"
"input_size": 4, "condition_size": 1, "head_size": 4, "channels": 4, "kernel_size": 6, "dilations": [1, 5, 25, 125], "activation": "Tanh"
"input_size": 4, "condition_size": 1, "head_size": 4, "channels": 4, "kernel_size": 6, "dilations": [1, 5, 25, 125], "activation": "Tanh"
"input_size": 4, "condition_size": 1, "head_size": 2, "channels": 4, "kernel_size": 6, "dilations": [1, 5, 25, 125], "activation": "Tanh"
"input_size": 4, "condition_size": 1, "head_size": 1, "channels": 2, "kernel_size": 6, "dilations": [625, 1, 5, 25, 125, 625], "activation": "Tanh"
, "head": null, "head_scale": 0.36
Here are models (they are for 192khz, will make same in 48kHz for check same results), main info in filename:
cpu utilize NAM examples.zip
maybe this example will helps to find some little buggy CPU utilizing thing on NAM plugin.
- Dominant language
- C++
- Stars
- 3k
- Forks
- 281
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sdatkinson/NeuralAmpModelerPlugin
-
enhancement priority:low
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
sdatkinson/NeuralAmpModelerPlugin#680 · 1 comment ·
-
bug priority:low unread
Difficulty 4/5 3-5 days Newbie friendliness 52/100
sdatkinson/NeuralAmpModelerPlugin#676 · 2 comments ·
-
bug priority:low unread
Difficulty 4/5 3-5 days Newbie friendliness 48/100
sdatkinson/NeuralAmpModelerPlugin#675 · 1 comment · 2 reactions ·
-
bug priority:low unread
Difficulty 4/5 3-5 days Newbie friendliness 48/100
sdatkinson/NeuralAmpModelerPlugin#674 · 2 comments ·
All issues in sdatkinson/NeuralAmpModelerPlugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gazebosim/gz-sensors#662 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LadybirdBrowser/ladybird#12123 ·