iree: ScheduleAllocation crashes when compiling included sparse program

Segmentation fault inside of ScheduleAllocation (iree-stream-schedule-allocation) when compiling the following sparse program:

https://gist.github.com/rsuderman/28ad59022e46137903746557e6d05dd4

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 22 (8 by maintainers)

Commits related to this issue

Most upvoted comments

For argmax-like things we should be able to do much better than a globally-sized heap allocation (eventually) - as we’re regularly out-of-memory’ing on LLM’s I’d err on the side of assuming we’ll have to some day eliminate all such cases of globally-sized heap allocations that can be done any other way 😃

Argmax are handled today without globally-sizes heap allocation… they are handled through bounded stack allocations.

Yeah, the repro from @silvasean in #13637 (ir19 from #13543) also has this issue.