DeepSpeed
5ce448d3 - Switch hasattr to check for compiler and not compile since compile was introduced in torch 2.0 but compiler was introduced in torch 2.1, this fixes issues for those building with torch 2.0

Comment changes are shownComment changes are hidden
Commit
1 year ago
Switch hasattr to check for compiler and not compile since compile was introduced in torch 2.0 but compiler was introduced in torch 2.1, this fixes issues for those building with torch 2.0
Author
Parents
  • deepspeed/runtime
    • File
      compiler.py