diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/neural.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua index 2d659474e..71ae3afb6 100644 --- a/src/plugins/lua/neural.lua +++ b/src/plugins/lua/neural.lua @@ -950,6 +950,8 @@ else else torch = require "torch" nn = require "nn" + + torch.setnumthreads(1) end local id = rspamd_config:register_symbol({ |