ColossalAI icon indicating copy to clipboard operation
ColossalAI copied to clipboard

[BUG]: RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.HalfTensor [1, 1, 512, 128]] is at version 3; expected version 2 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).

Open liulihui123 opened this issue 2 years ago โ€ข 5 comments

๐Ÿ› Describe the bug

no

Environment

No response

liulihui123 avatar Apr 10 '23 08:04 liulihui123

ไฝ ่งฃๅ†ณ่ฟ™ไธช้”™่ฏฏไบ†ๅ—

liulihui123 avatar Apr 11 '23 02:04 liulihui123

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


did you fix this error

Issues-translate-bot avatar Apr 11 '23 02:04 Issues-translate-bot

ๆœบๅ™จไบบๆฃ€ๆต‹ๅˆฐ้—ฎ้ข˜ๆญฃๆ–‡็š„่ฏญ่จ€ไธๆ˜ฏ่‹ฑ่ฏญ๏ผŒ่ฏท่‡ชๅŠจ็ฟป่ฏ‘ใ€‚๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ

ๆ‚จๆ˜ฏๅฆไฟฎๅคไบ†ๆญค้”™่ฏฏ

ๆฒกๆœ‰

liulihui123 avatar Apr 11 '23 02:04 liulihui123

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


The robot has detected that the language of the question text is not English, please translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ

Did you fix this bug

No

Issues-translate-bot avatar Apr 11 '23 02:04 Issues-translate-bot

Hi @liulihui123 Could you please provide more details to help us to reproduce this issue? The information is now too limited to locate. Thanks.

binmakeswell avatar Apr 17 '23 08:04 binmakeswell