-
Notifications
You must be signed in to change notification settings - Fork 449
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
启动时报RuntimeError: Cluster is not available after multiple attempts #2023
Comments
xinference-local -H 0.0.0.0 |
可以用本机ip,但是我本地有chatchat他会请求127.0.0.1的地址,改chatchat的配置也不好使,所以看怎么能让xinference绑定0.0.0.0算根本决绝问题 |
windows 下不能用0.0.0.0 换成 127.0.0.1 就可以了 |
@wangsen1110 我用127.0.0.1也报错是为什么呢xinference-local --host 127.0.0.1 --port 9997 |
(xinference) F:\pyth\Langchain-Chatchat>xinference-local --host 127.0.0.1 --port 9997 |
一样的问题,和0.0.0.0的地址无关,对gradio库进行降级也没有解决。环境为WINDOWS 2022+CONDA |
解决了吗?我也碰到了这个问题。 |
我也是换成本地地址就不会报错,但是换成0.0.0.0就会报错,但是如果改成本地地址的话,用其他软件就打不开这个地址的模型,直接用端口号,也打不开地址。 |
可以直接用机器的 IP。 |
先关闭。 |
System Info / 系統信息
Python 3.11.9
windows11
Running Xinference with Docker? / 是否使用 Docker 运行 Xinfernece?
Version info / 版本信息
xinference, version 0.14.0
The command used to start Xinference / 用以启动 xinference 的命令
xinference-local -H 0.0.0.0
Reproduction / 复现过程
C:\Users\Administrator>xinference-local -H 0.0.0.0
2024-08-06 10:32:37,372 xinference.core.supervisor 3216 INFO Xinference supervisor 0.0.0.0:39084 started
2024-08-06 10:32:37,403 xinference.model.image.core 3216 WARNING Cannot find builtin image model spec: stable-diffusion-inpainting
2024-08-06 10:32:37,404 xinference.model.image.core 3216 WARNING Cannot find builtin image model spec: stable-diffusion-2-inpainting
2024-08-06 10:32:37,405 xinference.model.image.core 3216 WARNING Cannot find builtin image model spec: stable-diffusion-xl-inpainting
2024-08-06 10:32:37,416 xinference.core.worker 3216 INFO Starting metrics export server at 0.0.0.0:None
2024-08-06 10:32:37,421 xinference.core.worker 3216 INFO Checking metrics export server...
2024-08-06 10:32:42,412 xinference.core.worker 3216 INFO Metrics server is started at: http://0.0.0.0:51174
2024-08-06 10:32:42,413 xinference.core.worker 3216 INFO Xinference worker 0.0.0.0:39084 started
2024-08-06 10:32:42,418 xinference.core.worker 3216 INFO Purge cache directory: C:\Users\Administrator.xinference\cache
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Python311\Scripts\xinference-local.exe_main.py", line 7, in
File "C:\Python311\Lib\site-packages\click\core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\xinference\deploy\cmdline.py", line 225, in local
start_local_cluster(
File "C:\Python311\Lib\site-packages\xinference\deploy\cmdline.py", line 112, in start_local_cluster
main(
File "C:\Python311\Lib\site-packages\xinference\deploy\local.py", line 122, in main
raise RuntimeError("Cluster is not available after multiple attempts")
RuntimeError: Cluster is not available after multiple attempts
Expected behavior / 期待表现
xinference-local -H 127.0.0.1 可以正常启动,但是修改为0.0.0.0就报错,这是什么问题
The text was updated successfully, but these errors were encountered: