First commit

This commit is contained in:
2025-08-05 19:02:46 +08:00
parent 9efe891f99
commit 99fb9f5cb0
1412 changed files with 203615 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
#
# This source code is licensed under the BSD license found in the
# LICENSE file in the root directory of this source tree.
import warnings
def deprecated_function(self):
name = repr(self) # self.__name__
msg = f"{name} is deprecated and is not maintained anymore. It might be removed in a future version of xFormers"
warnings.warn(msg, FutureWarning, stacklevel=2)