Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GIT LFS installed on system but not while installing a package git-lfs: command not found #1167

Open
manu-kapoor opened this issue Feb 22, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@manu-kapoor
Copy link

Package

ComfyUI-LTXVideo

When did the issue occur?

Installing the Package

What GPU / hardware type are you using?

MacBook Pro M3 Max, 36GB

What happened?

I have git-lfs installed on my MacBook Pro M3 Max and it works in my terminal if i try to install ComfyUI-LTXVideo. However, I see the error while trying to install it within Stability Matrix.
What I have tried:

  • Install git-lfs as a python package using "Pyhton Packages" option
  • Install git-lfs as a package by going to command line:
➜  bin git:(master) ✗ ./python3.10 -m pip install git-lfs
Requirement already satisfied: git-lfs in /Users/myuser/Library/Application Support/StabilityMatrix/Packages/ComfyUI/venv/lib/python3.10/site-packages (1.6)

Console output

Cloning https://github.com/Lightricks/ComfyUI-LTXVideo
Error: StabilityMatrix.Core.Exceptions.ProcessException: Git command [git clone --depth 1 https://github.com/Lightricks/ComfyUI-LTXVideo] failed with exit code 128:

Cloning into 'ComfyUI-LTXVideo'...git-lfs filter-process: git-lfs: command not foundfatal: the remote end hung up unexpectedlywarning: Clone succeeded, but checkout failed.You can inspect what was checked out with 'git status'and retry with 'git restore --source=HEAD :/'
   at StabilityMatrix.Avalonia.Helpers.UnixPrerequisiteHelper.RunGit(ProcessArgs args, String workingDirectory) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Avalonia/Helpers/UnixPrerequisiteHelper.cs:line 228
   at StabilityMatrix.Core.Helper.IPrerequisiteHelper.CloneGitRepository(String rootDir, String repositoryUrl, GitVersion version) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Helper/IPrerequisiteHelper.cs:line 83
   at StabilityMatrix.Core.Models.Packages.Extensions.GitPackageExtensionManager.InstallExtensionAsync(PackageExtension extension, InstalledPackage installedPackage, PackageExtensionVersion version, IProgress`1 progress, CancellationToken cancellationToken) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/Packages/Extensions/GitPackageExtensionManager.cs:line 260
   at StabilityMatrix.Core.Models.Packages.ComfyUI.ComfyExtensionManager.InstallExtensionAsync(PackageExtension extension, InstalledPackage installedPackage, PackageExtensionVersion version, IProgress`1 progress, CancellationToken cancellationToken) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/Packages/ComfyUI.cs:line 575
   at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps) in /Users/runner/work/StabilityMatrix/StabilityMatrix/StabilityMatrix.Core/Models/PackageModification/PackageModificationRunner.cs:line 35

Version

v2.13..3

What Operating System are you using?

macOS

@manu-kapoor manu-kapoor added the bug Something isn't working label Feb 22, 2025
@biyott
Copy link

biyott commented Feb 27, 2025

I've confirmed same message and I couldn't solve it either.
I tried to install git-lfs in ComfyUI's venv path and saw message 'Installing collected packages: git-lfs'.
(.venv/bin/python -m pip install git-lfs)

but I saw same error message.

@mohnjiles
Copy link
Contributor

We intentionally try to avoid using your system resources (python, git, etc) to maintain portability. We do not install git-lfs to our portable git install currently. It should be in the <sm_dir>/PortableGit folder if you'd like to try installing it there yourself, but we'll try to get that added in one of the next versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants