mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-09-09 21:09:18 +00:00
[doc] add deepspeed citation and copyright (#2996)
* [doc] add deepspeed citation and copyright * [doc] add deepspeed citation and copyright * [doc] add deepspeed citation and copyright
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import torch
|
||||
# This code has been adapted from the DeepSpeed library.
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
|
||||
import functools
|
||||
from typing import Optional
|
||||
|
||||
import torch
|
||||
|
||||
|
||||
def substitute_init_recursively(cls, func, visited: set):
|
||||
for subcls in cls.__subclasses__():
|
||||
|
Reference in New Issue
Block a user