简体   繁体   English

rasa:训练太慢

[英]rasa: training is too slow

I have rtx 3090 gpu and i9 12th gen processor.我有 rtx 3090 gpu 和 i9 第 12 代处理器。 my training is not too large as well and yet the training time is too long.我的训练也不是太大,但训练时间太长了。 When I begin the training phase it says 24 cores available but limiting to safe limit of only 8 cores.当我开始训练阶段时,它说有 24 个核心可用,但限制为只有 8 个核心的安全限制。 NUMEXPR_MAX_THREADS not set. NUMEXPR_MAX_THREADS 未设置。

In your terminal add the NUMEXPR_MAX_THREADS to your terminal.在您的终端中,将NUMEXPR_MAX_THREADS添加到您的终端。 You can do so by writing in your CLI: export NUMEXPR_MAX_THREADS="24" if you want to use all of them.您可以通过在 CLI 中编写来实现: export NUMEXPR_MAX_THREADS="24"如果您想使用所有这些。 This will work until you close your terminal.这将一直有效,直到您关闭终端。 You can add it permanently to your terminal profile (.bash_profile, ~/.zshrc...) Regarding slow execution, that depends on your rasa config choices and the number of stories/rules.您可以将它永久添加到您的终端配置文件(.bash_profile、~/.zshrc ...)关于执行缓慢,这取决于您的 rasa 配置选择和故事/规则的数量。 Finally, you need to pass the param use_gpu = True in your config for TedPolicy t make it train TED faster.最后,您需要在 TedPolicy 的配置中传递参数use_gpu = True以使其更快地训练 TED。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Rasa 中训练或评估模型时,指标“it/s”的含义是什么? - What is the meaning of the metric “it/s” when training or evaluating models in Rasa? 训练rasa时如何解决domain.yml中的错误 - How to solve error in domain.yml while training rasa 有没有办法将具有意图和训练短语的 CSV 文件的定义格式转换为 RASA nlu.md 文件? - Is there a way to convert a defined format of CSV file having intent and training phrases to RASA nlu.md file? 损失值的更改无需在RASA NLU中对训练数据或配置进行任何更改 - Loss value changes without any changes in training data or configuration in RASA NLU Rasa NLU Trainer-如何修复“找不到训练文件”错误? - Rasa NLU Trainer-How to fix “Can't find training file” error? RASA Chatbot Framework在训练时给出错误:fit()为关键字参数'batch_size'获得了多个值 - RASA Chatbot Framework gives error while training :fit() got multiple values for keyword argument 'batch_size' 我无法从 rasa_nlu.training_data 中找到 load_data 函数 - I can´t find the load_data function from rasa_nlu.training_data Rasa核心和Rasa nlu之间的区别 - Difference between Rasa core and Rasa nlu 无法同时运行 rasa 服务器和 rasa 操作 - Cannot run rasa server and rasa actions simultaneously 当前版本的 rasa 无法使用 rasa x - Not able to use rasa x with current version of rasa
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM