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

Method InvokerInitializer

csrc/lion/cpu_lion_impl.cpp:163–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162struct InvokerInitializer {
163 InvokerInitializer()
164 {
165 create_invoker<c10::Half, float>();
166 create_invoker<c10::Half, c10::Half>();
167 create_invoker<c10::BFloat16, float>();
168 create_invoker<c10::BFloat16, c10::BFloat16>();
169 create_invoker<float, float>();
170 }
171} _invoker_initializer;
172
173void invoke(std::shared_ptr<Lion_Optimizer> opt,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected