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

Function get_config

csrc/compile/deepcompile.cpp:137–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135
136template <typename T>
137static T get_config(pybind11::object& config, const char* name)
138{
139 return pybind11::getattr(config, name).cast<T>();
140}
141
142void init(c10::intrusive_ptr<c10d::ProcessGroup> pg,
143 pybind11::object& config,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected