Comments (8)
I solved the problem by adding the local host to "/etc/hosts" manually.
Try this: https://blog.csdn.net/lin_xiao_yi/article/details/132490694
from open-sora.
Hi, could you reproduce this issue with the following steps?
- write a
test.py
import torch
torch.distributed.init_process_group(backend="nccl")
print("test")
- invoke this script with the following commands
torchrun --standalone --nproc_per_node 1 test.py
from open-sora.
Hi, could you reproduce this issue with the following steps?
- write a
test.py
import torch torch.distributed.init_process_group(backend="nccl") print("test")
- invoke this script with the following commands
torchrun --standalone --nproc_per_node 1 test.py
i just try above, it runs normally.
from open-sora.
I see, that's weird. While I try to debug this, you can replace colossalai.launch()
with the following lines first.
import torch
import torch.distributed as dist
dist.init_process_group(backend="nccl")
rank = dist.get_rank()
torch.cuda.set_device(rank)
from open-sora.
I use the 4090 run the test.py,there still have the same error.
from open-sora.
same problem, I have this warning
[2024-03-18 17:04:07,488] torch.distributed.run: [WARNING] master_addr is only used for static rdzv_backend and when rdzv_endpoint is not specified.
I try to add one line to modify the master_addr in inference.py
:
os.environ["MASTER_ADDR"] = "127.0.0.1"
colossalai.launch_from_torch({})
but it didn't work
from open-sora.
我也是遇到这种问题?不知如何解决
from open-sora.
I see, that's weird. While I try to debug this, you can replace
colossalai.launch()
with the following lines first.import torch import torch.distributed as dist dist.init_process_group(backend="nccl") rank = dist.get_rank() torch.cuda.set_device(rank)
我已经在anconda环境安装了
torch,但是不知道为什么还是找不到torch
from open-sora.
Related Issues (20)
- errors happened in the inference process HOT 3
- Something went wrong when saving the model
- Discussion about the issue of disk IO botteleneck 【存储IO瓶颈问题的交流】 HOT 2
- RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. HOT 2
- Which help is required? HOT 6
- 计算资源需求 HOT 1
- 生成的视频出现可疑的水印。 HOT 2
- https://huggingface.co/spaces/hpcai-tech/open-sora 无法加载和运行 HOT 3
- Requirements for run this program HOT 1
- How can I run the project without using Apex? HOT 2
- 老牌机场推荐:2024便宜老牌机场整理
- 最终训练数据CSV文件 HOT 2
- 本地下载模型后该如何操作 HOT 2
- Can you explain the details about you filter configuration when you process the dataset for fine-tune HOT 2
- [BUG] cannot import name 'IMG_EXTENSIONS' from 'tools.caption.utils' HOT 3
- Pretrained 1.0 checkpoint for 64x512x512 HOT 2
- Why T5 model be float not bf16 HOT 2
- How to load Open-Sora 1.1 checkpoint weights HOT 2
- Image and video inference returns static HOT 1
- 训练130k之后loss曲线没怎么下降 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-sora.