gpt4 book ai didi

python-3.x - 如何在 sagemaker 中设置 NotebookApp.iopub_data_rate_limit

转载 作者:行者123 更新时间:2023-12-04 04:18:14 27 4
gpt4 key购买 nike

我在 sagemaker 中运行 jupyter notebook 时出现错误:

OPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.
Current values:
NotebookApp.iopub_data_rate_limit=1000000.0 (bytes/sec)
NotebookApp.rate_limit_window=3.0 (secs)

我尝试了几种解决方案(例如 solution1solution2 ),但都没有用。

有人能知道如何解决这个问题吗?

最佳答案

您可以在 Sagemaker 终端的 ./.jupyter/jupyter_notebook_config.py 中取消注释并编辑此行 c.NotebookApp.iopub_data_rate_limit = 1000000

我使用 vim 编辑器来做到这一点。

关于python-3.x - 如何在 sagemaker 中设置 NotebookApp.iopub_data_rate_limit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60092509/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com