【求助帖】20241024课程 多模态的BLIP Image Caption中第一个程序报错 #287
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#287
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
【求助帖】20241024课程 多模态的BLIP Image Caption中第二个程序报错to 【求助帖】20241024课程 多模态的BLIP Image Caption中第一个程序报错这个报错信息表明在执行CUDA操作时遇到了非法内存访问的问题。CUDA error: an illegal memory access was encountered: 这表明在CUDA操作中尝试访问了不允许的内存区域,可能是由于内存越界或访问了未分配的内存。按照你图中的信息,为了调试这个问题,建议设置环境变量CUDA_LAUNCH_BLOCKING=1。这将使CUDA操作同步执行,从而使得错误报告与实际发生错误的代码位置一致,便于调试。