pytorch / glow

Compiler for Neural Network hardware accelerators
Apache License 2.0
3.21k stars 689 forks source link

Migrate GlowJIT to LLVM's ORCv2 APIs #3551

Open opti-mix opened 5 years ago

opti-mix commented 5 years ago

LLVM 9.0 introduced new ORC JIT APIs. Old APIs are deprecated. Thus GlowJIT needs to be migrated to the new ORCv2 APIs.

mcurtis-cadence commented 3 years ago

@SameerAsal @opti-mix I was looking at doing this unless migration is already underway by someone else.

opti-mix commented 3 years ago

@mcurtis-cadence

No, there are no migration efforts underway. So, if you could look into doing this it would be very useful and appreciated!

mcurtis-cadence commented 3 years ago

@SameerAsal @opti-mix I've started working on this. Feel free to assign this issue to me if you think that makes sense.

Also, I'm a little concerned that I'll break code behind FACEBOOK_INTERNAL. It would help to know what LLVM versions are supported with FACEBOOK_INTERNAL.

opti-mix commented 3 years ago

Also, I'm a little concerned that I'll break code behind FACEBOOK_INTERNAL. It would help to know what LLVM versions are supported with FACEBOOK_INTERNAL.

Currently, FACEBOOK_INTERNAL means LLVM 9 in most cases.