You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know it's been said before about the very long generation time, and I too am experiencing that. However, a bigger concern I have is the memory usage. I'm running Chatette on Hyperconverge on a VM that my Rasa bot is on. This VM is kUbuntu. Here's the uname -a output:
Linux Huginn 6.2.0-34-generic #34~22.04-1-Ubuntu SMP PREEMPT DYNAMIC Thu Sep 7 13:12:03 UTC 2 x86 64 x86 64 GNU/Linux"
and here's the cat /etc/issue output:
Ubuntu 22.04.3 LTS \n \l
_
This VM has 8 cores with HT (so 16 logical cores) and had 30GB of ram assigned to it. Initially, the script kept exiting out with the last line saying "Killed". I came to realize it must be because the Linux kernel is invoking the OOM Killer. I browsed through the GitHub issue and came across some advice that said to break up the file and also try to minimize the length of alias chains. I've done all this and it still keeps getting killed. I've even tried adding in extra code into the Chatette package so I could see the recursion depth (using editor.mergely.com here's the generated diff file contents):
So I thought something else must be going on, then I started to unravel that it's because the code is written extremely meta / dynamic (makes sense to do so given the context of what the program's purpose is), but the AST code looked crazy nasty and without a full understanding of what is called when, where, and why, I then decided to power the VM down and bump the VM up to 64GB of ram, and left it generating over night. I came in this morning and it still got killed. I'm not sure how much more variable-expansion I can do without starting to really rack up some serious line counts in my chatette file... So as I mentioned earlier, I've split my master file across multiple files in an attempt to generate one set at a time (since I think somewhere in an issue it was mentioned that Chatette caches all of the combinations in memory) and avoid overusing memory and to better determine where the problem lies.
I'm going to keep trying to minimize and variable-expand but I don't hold out a lot of hope that my efforts alone are going to solve this. It'd also be nice to have some more debugging functionality / tools to determine where it's spinning out of control (over-recursing because of some logic error in our template files)
The text was updated successfully, but these errors were encountered:
I know it's been said before about the very long generation time, and I too am experiencing that. However, a bigger concern I have is the memory usage. I'm running Chatette on Hyperconverge on a VM that my Rasa bot is on. This VM is kUbuntu. Here's the uname -a output:
Linux Huginn 6.2.0-34-generic #34~22.04-1-Ubuntu SMP PREEMPT DYNAMIC Thu Sep 7 13:12:03 UTC 2 x86 64 x86 64 GNU/Linux"
and here's the cat /etc/issue output:
Ubuntu 22.04.3 LTS \n \l
_
This VM has 8 cores with HT (so 16 logical cores) and had 30GB of ram assigned to it. Initially, the script kept exiting out with the last line saying "Killed". I came to realize it must be because the Linux kernel is invoking the OOM Killer. I browsed through the GitHub issue and came across some advice that said to break up the file and also try to minimize the length of alias chains. I've done all this and it still keeps getting killed. I've even tried adding in extra code into the Chatette package so I could see the recursion depth (using editor.mergely.com here's the generated diff file contents):
Unfortunately, it only showed:
[...]
<0>
Killed
So I thought something else must be going on, then I started to unravel that it's because the code is written extremely meta / dynamic (makes sense to do so given the context of what the program's purpose is), but the AST code looked crazy nasty and without a full understanding of what is called when, where, and why, I then decided to power the VM down and bump the VM up to 64GB of ram, and left it generating over night. I came in this morning and it still got killed. I'm not sure how much more variable-expansion I can do without starting to really rack up some serious line counts in my chatette file... So as I mentioned earlier, I've split my master file across multiple files in an attempt to generate one set at a time (since I think somewhere in an issue it was mentioned that Chatette caches all of the combinations in memory) and avoid overusing memory and to better determine where the problem lies.
Here is the directory layout of files:
Here are the file contents
Chatette_Workspace/imperative_compound_1a.chatette:
Chatette_Workspace/Imperative_Compound/Aliases/aliases.chatette:
Chatette_Workspace/Imperative_Compound/Slots/slots.chatette:
I'm going to keep trying to minimize and variable-expand but I don't hold out a lot of hope that my efforts alone are going to solve this. It'd also be nice to have some more debugging functionality / tools to determine where it's spinning out of control (over-recursing because of some logic error in our template files)
The text was updated successfully, but these errors were encountered: