Skip to content

Flipping logic for lfs install, README edits - #3

Open
tyrwh wants to merge 4 commits into
mainfrom
dev
Open

Flipping logic for lfs install, README edits#3
tyrwh wants to merge 4 commits into
mainfrom
dev

Conversation

@tyrwh

@tyrwh tyrwh commented Aug 19, 2026

Copy link
Copy Markdown

General first-pass edits across the README

Existing logic for LFS file install was to exclude the large BiRefNet weights in the .lfsconfig and override that exclusion with git lfs pull --include [weights.pth] when the user requests it.

I could not get that override to work correctly, either on my Macbook or on an Ubuntu docker image. The man pages for git lfs suggest that it should work, not sure what the problem is.

Instead, I flipped the logic around in weights.py and in the .lfsconfig. Instead of the lfsconfig excluding the file and the commands including it, the two relevant lines in the lfsconfig are commented out and the weights fetching tools will always run git lfs pull --exclude [weights.pth] by default, unless the user specifies that they want to retrieve the BiRefNet weights

tyrwh and others added 4 commits July 31, 2026 09:59
First-round edits to README, prior to attempting installation
Initial README edits, edited to resolve conflicts with dev branch
@tyrwh
tyrwh requested a review from ackermanar August 19, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant