Methods · Custom
Drop methods/<name>.py with fit(src, rec) to override the kernel method of the same name. Convention over registration: the file existing is enough.
PrerequisiteA train folder · methods/<name>.py implementing fit(src, rec)
methods/<name>.py
Train-local fit adapter. Wins over kernel/methods/<name>.py. Use only when a built-in is not enough.
example
# methods/foo.py$def fit(src, rec): # read recipe + data, write checkpoint artifacts$ ...