aliyun / aliyun/SimAI

运行SimAI-Simulation样例时出现段错误(segment fault)

Open
#186 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
184
Avg merge
13h 4m
Merged PRs (30d)
1

Description

我在运行simai的readme的“快速开始(quick start)”时给出的对SimAI-Simulation的测试代码时遇到了这个问题,这段测试代码如下:

# Create network topo
$ python3 ./astra-sim-alibabacloud/inputs/topo/gen_Topo_Template.py -topo Spectrum-X -g 128 -gt A100 -bw 100Gbps -nvbw 2400Gbps

# Running
$ AS_SEND_LAT=3 AS_NVLS_ENABLE=1 ./bin/SimAI_simulator -t 16 -w ./example/microAllReduce.txt -n ./Spectrum-X_128g_8gps_100Gbps_A100 -c astra-sim-alibabacloud/inputs/config/SimAI.conf

它的运行结果如下:

Image

我在尝试用AICB生成工作负载,用TOPO生成网络拓扑后自定义运行之后也会碰到一样的问题,我看到之前的issue中有人提到过类似的问题,但被认为是AICB的问题。我不清楚我遇到的是否和之前的问题是一样的,因为我在运行理论上不应该出错的官方样例时一样会出现段错误,为了排除环境问题,我单独开了一个绝对纯净的环境来运行,问题一样。
期待回答。

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README Quick Start instructions and reproduce the commands using gen_Topo_Template.py, example/microAllReduce.txt, and SimAI.conf. Compare the generated Spectrum-X topology and SimAI_simulator output with the reported segmentation fault; done means the official sample runs without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.