| 7 | |
| 8 | |
| 9 | class UtilsBuilder(OpBuilder): |
| 10 | BUILD_VAR = "DS_BUILD_UTILS" |
| 11 | NAME = "utils" |
| 12 | |
| 13 | def __init__(self): |
| 14 | super().__init__(name=self.NAME) |
| 15 | |
| 16 | def absolute_name(self): |
| 17 | return f'deepspeed.ops.{self.NAME}_op' |
| 18 | |
| 19 | def sources(self): |
| 20 | return ['csrc/utils/tensor_cast.cpp', 'csrc/utils/py_ds_utils.cpp'] |
no outgoing calls