acids-ircam / rave_vst

Other
184 stars 28 forks source link

Rave Standalone/VST3 Crashes after loading custom model and consuming all available RAM #28

Open poppingtonic opened 1 year ago

poppingtonic commented 1 year ago

I trained a custom model and loaded it into RAVE_VST to test it. This uses up all available RAM and crashes the program

Environment

Pop OS! 22.04
vendor_id       : AuthenticAMD
model name      : AMD Ryzen 9 5900HX with Radeon Graphics
GPU: RTX 3070
cmake version: 3.22.1

gdb log

(rave) ➜  RAVE_VST git:(master) ✗ gdb ./rave_vst/build/rave-vst_artefacts/Release/Standalone/RAVE
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./rave_vst/build/rave-vst_artefacts/Release/Standalone/RAVE...
(No debugging symbols found in ./rave_vst/build/rave-vst_artefacts/Release/Standalone/RAVE)
(gdb) run
Starting program: /home/mu/src/RAVE/RAVE_VST/rave_vst/build/rave-vst_artefacts/Release/Standalone/RAVE 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdfebf640 (LWP 890685)]
[New Thread 0x7fffdf11a640 (LWP 890686)]
[Thread 0x7fffdf11a640 (LWP 890686) exited]
[New Thread 0x7fffdf11a640 (LWP 890687)]
[Thread 0x7fffdf11a640 (LWP 890687) exited]
[New Thread 0x7fffdf11a640 (LWP 890688)]
[New Thread 0x7fffde919640 (LWP 890689)]
[New Thread 0x7fffde118640 (LWP 890690)]
[-] Network - No API response
[New Thread 0x7fffdd4d5640 (LWP 890691)]
[ ] RAVE - Model successfully loaded: /home/mu/.config/ACIDS/RAVE/rave_soundofnairobi_rt.ts.ts
[New Thread 0x7fffbc7f4640 (LWP 890693)]
[Thread 0x7fffbc7f4640 (LWP 890693) exited]
        Encode parameters:     1
    1
   32
 2048
[ CPULongType{4} ]
        Decode parameters:    32
 2048
    2
    1
[ CPULongType{4} ]
        Full latent size: 1767859301
        Ratio: 2048
to low; setting rate to : 11
[New Thread 0x7fffbc7f4640 (LWP 890694)]
[New Thread 0x7fffbbff3640 (LWP 890695)]
[New Thread 0x7fffbb7f2640 (LWP 890696)]
[New Thread 0x7fffbaff1640 (LWP 890697)]
[New Thread 0x7fffba7f0640 (LWP 890698)]
[New Thread 0x7fffb9fef640 (LWP 890699)]
[New Thread 0x7fffb97ee640 (LWP 890700)]
[New Thread 0x7fffb8fed640 (LWP 890701)]
[Thread 0x7fffb8fed640 (LWP 890701) exited]
[Thread 0x7fffb97ee640 (LWP 890700) exited]
[Thread 0x7fffb9fef640 (LWP 890699) exited]
[Thread 0x7fffba7f0640 (LWP 890698) exited]
[Thread 0x7fffbaff1640 (LWP 890697) exited]
[Thread 0x7fffbb7f2640 (LWP 890696) exited]
[Thread 0x7fffbbff3640 (LWP 890695) exited]
[Thread 0x7fffbc7f4640 (LWP 890694) exited]
[Thread 0x7fffdd4d5640 (LWP 890691) exited]
[Thread 0x7fffde118640 (LWP 890690) exited]
[Thread 0x7fffde919640 (LWP 890689) exited]
[Thread 0x7fffdfebf640 (LWP 890685) exited]
[Thread 0x7fffe07bf2c0 (LWP 890661) exited]
[Thread 0x7fffdf11a640 (LWP 890688) exited]
[New process 890661]

Program terminated with signal SIGKILL, Killed.
The program no longer exists.
sonnyobrien commented 1 year ago

Same issue on windows