ms-swift icon indicating copy to clipboard operation
ms-swift copied to clipboard

swift-web-ui使用问题

Open taiji01 opened this issue 2 years ago • 2 comments

使用notebook ,输入以下命令: git clone https://github.com/modelscope/swift.git cd swift pip install -e '.[llm]'

然后想要可视化训练界面,使用 SWIFT_UI_LANG=en swift web-ui 之后出现run sh: python /mnt/workspace/swift/swift/cli/web_ui.py 2024-07-12 17:36:01.587079: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-07-12 17:36:02.799902: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT [INFO:swift] Successfully registered /mnt/workspace/swift/swift/llm/data/dataset_info.json Running on local URL: http://127.0.0.1:7861/ 点击连接显示拒绝连接 如何修改?

taiji01 avatar Jul 13 '24 09:07 taiji01

看一下netstat -an | grep 7861 是不是listening状态

tastelikefeet avatar Jul 16 '24 03:07 tastelikefeet

你得设置这个参数:WEBUI_SERVER 0.0.0.0 swift web-ui

Alex37882388 avatar Oct 17 '24 09:10 Alex37882388