MCPcopy
hub / github.com/ytongbai/LVM / get_default_config

Method get_default_config

EasyLM/models/llama/llama_model.py:337–343  ·  view source on GitHub ↗
(cls, updates=None)

Source from the content-addressed store, hash-verified

335
336 @classmethod
337 def get_default_config(cls, updates=None):
338 config = function_args_to_config(cls.__init__)
339
340 if updates is not None:
341 config.update(ConfigDict(updates).copy_and_resolve_references())
342
343 return config
344
345 @staticmethod
346 def get_jax_mesh(axis_dims):

Callers 4

lm_eval_json.pyFile · 0.45
lm_eval_harness.pyFile · 0.45
llama_serve.pyFile · 0.45
llama_train.pyFile · 0.45

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected