mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-08 12:30:42 +00:00
[misc] update pre-commit and run all files (#4752)
* [misc] update pre-commit * [misc] run pre-commit * [misc] remove useless configuration files * [misc] ignore cuda for clang-format
This commit is contained in:
@@ -25,7 +25,9 @@ class MultiTensorApply(object):
|
||||
raise RuntimeError(
|
||||
"Attempted to call MultiTensorApply method, but MultiTensorApply "
|
||||
"is not available, possibly because Apex was installed without "
|
||||
"--cpp_ext --cuda_ext. Original import error message:", MultiTensorApply.import_err)
|
||||
"--cpp_ext --cuda_ext. Original import error message:",
|
||||
MultiTensorApply.import_err,
|
||||
)
|
||||
|
||||
def __call__(self, op, noop_flag_buffer, tensor_lists, *args):
|
||||
self.check_avail()
|
||||
|
Reference in New Issue
Block a user