@fer @gianfranco This is now implemented, so it can be set at compile time for the Dwarf.
I tried changing also the default in the .ttl, but the noise issue, sometimes at the pedalboard loading, still occurs… As a test, I did a patch in your CompositeModel.h just to use the smallest model for all qualities and now the noise does not occur any more :-)… I think it could be related how MOD software handles parameters with pedalboards, presets and snapshots, only one parameter is changed at a time, and perhaps somehow the plugin gets initialized with Full quality.
Thanks @MikeOliphant !! Although I have mixed feelings about setting this for MOD Dwarf. Considering most of NAM models are closer to 12dBu than 2dBu, and not all are calibrated, I think I prefer to keep a Gain Plugin just before with -10dB. This is also related to MOD changing one parameter at a time, when you change a preset of the NAM plugin you get for a very short time an inconsistency of the input level with the neural model..
What I don’t understand is where a quality value over 0.5 is coming from? The saved preset value, the lv2 port default, and the internal default value should all be less than 0.5…
I dont understand neither. I double checked the pedalboard complete folder and plugin presets and nowhere there is a quality greater than 0.5…
@fer FYI - the latest version of my lv2 repo has a significant performance enhancement for NAM A2 full. Not sure if it will enable A2 full for Dwarf, but it might be worth a shot…
To get the improvement, you need to cmake with:
-DENABLE_MULTIFRAME_8X8_CONVOLUTION=ON
and use a pretty recent compiler (ie: gcc15). I think @falkTX has a branch of mod-plugin-builder that enables gcc15 for Anagram - maybe the same can be done for Dwarf?
@MikeOliphant ohh good to know. Thanks!!
I will try as soon as I’m back from my holidays in a couple of weeks, and report back the result. Probably gcc15 for dwarf is not easy for me, but let’s do it!!

My first experiments with the new NAM A2:
This is awesome.
2 NAM’s for a greasy stereo blend, an IR cab, a Dragonly, an EQ and some pedals and while playing I’ll go to about 77%!
I have this exact issue.
connecting the interface i see CPU maxed out.
Switching both of the 2 nam plug ins to full and to lite again fixed it. guess I’ll have to make a button for that on the device as workaround for now…
Yes, it looks solved! Great
Hey @MikeOliphant, I manage to compile it statically with GCC15 after some changes in mpb with some AI help. Unfortunately still a2 full not playable, no apparent difference with different MULTIFRAME_8X8_CONVOLUTION values. It does not improve gcc9 with nam core.
I m thinking maybe it is also necessary to update glibc 2.27 and or Linux headers 4.4 (dwarf runs with6.1)… what do you think?
@fer I would have hoped that setting MULTIFRAME_8X8_CONVOLUTION to “4” would have helped.
Are you able to run an executable on the Dwarf? If you build with “-DBUILD_UTILS=ON”, it creates a “ModelTest” app that does performance benchmarking. It would be interesting to see the results.
Btw, GCC16 adds more optimization. Not sure if it will help, but…
That might help. If you are compiling with static glibc (“-static-libstdc++ -static-libgcc”), then you can build with a newer glibc and it will still run on Dwarf’s old version.
4 posts were split to a new topic: NAM plugin always jumps to full, overloading the dwarf
Results of ModelTest (GCC15.2 and MULTIFRAME_8X8_CONVOLUTION to “4”)
[root@moddwarf neural_amp_modeler.lv2]# ./ModelTest
Block size: 64 Quality Scale: 1
Loading models from: “/root/.lv2/neural_amp_modeler.lv2/Models”
WaveNet (A2 Full) Test
Model: “/root/.lv2/neural_amp_modeler.lv2/Models/BossWN-a2.nam”
Internal: 9.7822 (0.558293xRT)
NAM Core: 8.5402 (0.639486xRT)
NAM vs Internal RMS err: 9.74984e-08
Internal is: 0.873034x NAM
WaveNet (A2 Lite) Test
Model: “/root/.lv2/neural_amp_modeler.lv2/Models/BossWN-a2.nam”
Internal: 1.36605 (3.99789xRT)
NAM Core: 1.2163 (4.49013xRT)
NAM vs Internal RMS err: 8.3052e-08
Internal is: 0.890372x NAM
WaveNet (A1 Standard) Test
Model: “/root/.lv2/neural_amp_modeler.lv2/Models/BossWN-standard.nam”
Internal: 10.2996 (0.530246xRT)
NAM Core: 15.019 (0.363628xRT)
NAM vs Internal RMS err: 1.00481e-07
Internal is: 1.45821x NAM
LSTM (1x16) Test
Model: “/root/.lv2/neural_amp_modeler.lv2/Models/BossLSTM-1x16.nam”
Internal: 0.92932 (5.8767xRT)
NAM Core: 1.05275 (5.18767xRT)
NAM vs Internal RMS err: 5.24119e-07
Internal is: 1.13282x NAM
I don’t see many difference with MULTIFRAME_8X8_CONVOLUTION to “0”, or even with GCC9.4 . Only appreciable difference is with MULTIFRAME_8X8_CONVOLUTION to “8”, but looks still far from 1xRT
WaveNet (A2 Full) Test
Model: “/root/.lv2/neural_amp_modeler.lv2/Utils/Models/BossWN-a2.nam”
Internal: 7.661 (0.712875xRT)
Anyway for A2 LITE, the best results are with GCC15.2 + NamCore + Patch277, where the Dwarf CPU with just with the neural plugin goes from around 36,5% to 35,5%.
Yeah, unsurprisingly it looks like A2 Full is still out of reach.
MULTIFRAME_8X8_CONVOLUTION only impacts the larger network sizes, so it won’t make a difference for “lite”. Interesting that NAM Core is a bit faster - that isn’t the case on any other platform I’ve tested.
If you are using “-DWAVENET_FRAMES=128” (which you should, assuming the Dwarf will be running with 128 sample buffers), make sure you run ModelTest with “-b 128”.
Also, looking at the build config in mod plugin builder, there are a lot of optimization flags that might be doing more harm than good. Specifically, turning off loop unrolling will prevent a lot of the modern compiler optimizations from working properly.
I get similar results with -b 128.
About optimization flags I already tried to remove them and the results were similar. But still a slight better performance with -fno-unroll-loops vs -funroll-loops
