mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-29 13:35:48 +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:
@@ -5,4 +5,4 @@ from ...registry import meta_patched_function
|
||||
|
||||
@meta_patched_function.register(torch.nn.functional.relu)
|
||||
def torch_nn_func_relu(input, inplace=False):
|
||||
return torch.empty(input.shape, device='meta')
|
||||
return torch.empty(input.shape, device="meta")
|
||||
|
Reference in New Issue
Block a user