-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model constantly grows in size, implement removing synapses, segments; death #461
Comments
For me this is a low priority because RAM is historically inexpensive. I think that the CPU is more often the bottleneck. |
A quick update:
in that thread HDD/model size was a practical problem. Also, we never had a model running for example one year continuously. I'm also not interested in the practical limitations, but
|
Yes this is correct. At initialization the Spatial Pooler creates all its synapses and segments. At run time it neither create nor destroys any segments/synapses. At run time it has a fixed memory usage. |
Hi together, I'm running a model over 13 trillion data samples to simulate a streaming analysis. After about 3% of the data, the model used up my whole memory and crashes at I've looked in the HTM Forum and I came across this issue, but it seems like it's still an open task. Have you implemented the synapse drop out in some way? Thanks in advance. |
@N3rv0uS thanks for reporting this. |
Hi @N3rv0uS ,
very interesting data size!
there's a param as
even with the pruning off, the model should use up all of its avail synapses/mem and then start reusing it - the crash is unexpected.
ideally if you can a stack trace with crash in Debug mode, but I guess it's pracically hard to get. Can you try emulating the problem by setting low limits on num synapses, num segments, ... If it does not crash, you can have just too large model and your HW (RAM) cannot satisfy that. Then you'd need to lower the settings for your model. I'll be happy to look at this later next week. |
segment and synapse pruning is implemented in #601 for Connections, therefore available to any of our algorithms (SP,TM). If you can live with that, please try enabling both synapse & segment pruning. |
I ran into an interesting read from Subutai:
I think the issue has been discussed here.
To experiment with this:
createSynapse()
sThe text was updated successfully, but these errors were encountered: