ColossalAI icon indicating copy to clipboard operation
ColossalAI copied to clipboard

[BUG]: import error

Open yingtongxiong opened this issue 2 years ago • 1 comments

🐛 Describe the bug

when i run the example in your tutorials (basic/colotensor), I met some problems. Traceback (most recent call last): File "colossalai-study/run_dist.py", line 8, in from colossalai.testing import spawnfrom colossalai.testing import spawn

from colossalai.testing import spawnImportErrorImportError

: : cannot import name 'spawn' from 'colossalai.testing'

How can I solve it?

Environment

No response

yingtongxiong avatar Apr 12 '23 02:04 yingtongxiong

Hi @yingtongxiong Sorry, we are currently in high-speed updates and the document may be a bit outdated. We suggest that you use images and language under example for testing. Thanks. https://github.com/hpcaitech/ColossalAI/tree/main/examples

binmakeswell avatar Apr 17 '23 08:04 binmakeswell