pjkm.core.tasks.configure.setup_git_lfs¶
Configure task: set up Git LFS tracking for ML/data file types.
Attributes¶
Classes¶
Configures Git LFS tracking rules for ML/data file types. |
Module Contents¶
- pjkm.core.tasks.configure.setup_git_lfs.LFS_TRACKED_PATTERNS: list[str] = ['*.pt', '*.pth', '*.onnx', '*.safetensors', '*.h5', '*.hdf5', '*.pkl', '*.pickle', '*.model',...[source]¶
- class pjkm.core.tasks.configure.setup_git_lfs.SetupGitLfsTask[source]¶
Bases:
pjkm.core.tasks.base.BaseTaskConfigures Git LFS tracking rules for ML/data file types.
Only runs when the hf or ml package group is selected. If
git-lfsis not installed the task emits a warning and skips gracefully rather than failing the pipeline.- should_run(ctx)[source]¶
Override to conditionally skip this task based on context.
- Parameters:
- Return type: