MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / __init__

Method __init__

deepspeed/inference/v2/kernels/ds_kernel.py:12–21  ·  view source on GitHub ↗

If necessary trigger compilation and warmup Autotuning of the kernel would happen at this stage to eliminate any potential hangs that might occur mid-deployment Validate that the desired run configuration is compatible. It is not necessary to call super on t

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

10
11 @abstractmethod
12 def __init__(self, *args, **kwargs):
13 """
14 If necessary trigger compilation and warmup
15 Autotuning of the kernel would happen at this stage to
16 eliminate any potential hangs that might occur mid-deployment
17 Validate that the desired run configuration is compatible.
18
19 It is not necessary to call super on this method.
20 """
21 raise NotImplementedError()
22
23 @abstractmethod
24 def __call__(self, *args, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected