为 dask 指定仪表板端口
Specify dashboard port for dask
在使用 dask-jobqueue 创建 dask 集群时,有没有办法手动指定仪表板的端口? 8787被占用时,随机选择不同的端口,也就是说每次都需要设置不同的隧道。
from dask_jobqueue import PBSCluster
cluster = PBSCluster() # ideally here dashboard_port=
cluster.scale(10)
from dask.distributed import Client
client = Client(cluster) # Connect this local process to remote workers
根据 dask-jobqueue docs, additional kwargs
are passed to LocalCluster
所以你应该可以通过 dashboard_address
例如
cluster = PBSCluster(dashboard_address=':1234')
你试过了吗?
在使用 dask-jobqueue 创建 dask 集群时,有没有办法手动指定仪表板的端口? 8787被占用时,随机选择不同的端口,也就是说每次都需要设置不同的隧道。
from dask_jobqueue import PBSCluster
cluster = PBSCluster() # ideally here dashboard_port=
cluster.scale(10)
from dask.distributed import Client
client = Client(cluster) # Connect this local process to remote workers
根据 dask-jobqueue docs, additional kwargs
are passed to LocalCluster
所以你应该可以通过 dashboard_address
例如
cluster = PBSCluster(dashboard_address=':1234')
你试过了吗?