MCPcopy Create free account
hub / github.com/Alpha-VLLM/LLaMA2-Accessory / export

Function export

Large-DiT-ImageNet/models.py:652–657  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

650
651
652def export(func):
653 assert func.__name__ not in DiT_models, (
654 f"Model with name 'func.__name__' is exported twice."
655 )
656 DiT_models[func.__name__] = func
657 return func
658
659
660#############################################################################

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected