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

ComfyUI-LTXVideo model install fails because git-lfs: command not found #206

Open
greyltc opened this issue Mar 1, 2025 · 6 comments
Open
Labels
bug Something isn't working

Comments

@greyltc
Copy link

greyltc commented Mar 1, 2025

Describe the bug

txt to video requirements install failure

To Reproduce

  1. choose txt to video (LTX Video) (high-vram) workflow type
  2. type any prompt text into the create tab
  3. click the generate button
  • new model download dialog appears
  • select all components and continue
  • download and install progresses then fails
  • press ctrl + shift + i to open a console to see the following
index-gvJDDaNb.js:133 [ai-backend]   WARNING: The scripts gguf-convert-endian.exe, gguf-dump.exe, gguf-new-metadata.exe and gguf-set-metadata.exe are installed in 'C:\ai\AI Playground\resources\comfyui-backend-env\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
index-gvJDDaNb.js:133 [ai-backend] 2025-03-01 10:42:02,117 - INFO - python requirements installation completed.
index-gvJDDaNb.js:133 [ai-backend] 2025-03-01 10:42:02,117 - INFO - calling cmd process: ['../portable-git/cmd/git.exe', 'clone', 'https://github.com/Lightricks/ComfyUI-LTXVideo', '../ComfyUI\\custom_nodes\\ComfyUI-LTXVideo']
index-gvJDDaNb.js:133 [ai-backend] Cloning into '../ComfyUI\custom_nodes\ComfyUI-LTXVideo'...
index-gvJDDaNb.js:133 [ai-backend] git-lfs filter-process: line 1: git-lfs: command not found
fatal: the remote end hung up unexpectedly
index-gvJDDaNb.js:133 [ai-backend] warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

index-gvJDDaNb.js:133 [ai-backend] 2025-03-01 10:42:03,329 - ERROR - Failed to call subprocess ../portable-git/cmd/git.exe clone https://github.com/Lightricks/ComfyUI-LTXVideo '../ComfyUI\custom_nodes\ComfyUI-LTXVideo' with error Command '['../portable-git/cmd/git.exe', 'clone', 'https://github.com/Lightricks/ComfyUI-LTXVideo', '../ComfyUI\\custom_nodes\\ComfyUI-LTXVideo']' returned non-zero exit status 128.
2025-03-01 10:42:03,329 - WARNING - git cloned failed with exception Command '['../portable-git/cmd/git.exe', 'clone', 'https://github.com/Lightricks/ComfyUI-LTXVideo', '../ComfyUI\\custom_nodes\\ComfyUI-LTXVideo']' returned non-zero exit status 128.. Cleaning up failed resources.

Expected behavior

txt to video install proceeds without error

Screenshots

n/a

Environment (please complete the following information):

  • OS: Windows11
  • GPU: Intel Arc Graphics
  • CPU: Intel Core Ultra 7 155H
  • Version: v2.2.0-beta

Additional context

n/a

@greyltc greyltc added the bug Something isn't working label Mar 1, 2025
@greyltc greyltc changed the title txt to video workflow does not work txt to video workflow does not work: node LTXVLoader does not exist Mar 1, 2025
@greyltc greyltc changed the title txt to video workflow does not work: node LTXVLoader does not exist ComfyUI-LTXVideo model install fails because git-lfs: command not found Mar 1, 2025
@bobduffy
Copy link
Contributor

bobduffy commented Mar 1, 2025

It sounds like the components didn't install.

  1. Be sure you are on v2.2b. This workflow will fail with v2.0.

  2. If on 2.2b Restart AI Playground, try again.

  3. Confirm the name of the workflow. Is it called "Text to Video"
    The resolution megapixel should give you .1 .25, .35 and .5. If this is not the case, click the cloud icon to get the right workflow

  4. If the issue persists copy and paste the last 5 entries from the console when it fails

@greyltc
Copy link
Author

greyltc commented Mar 1, 2025

I've now resolved this issue by installing the git-lfs command manually by running

winget install -e --id GitHub.GitLFS

prior to attempting to install the new Txt to Video workflow.

@Gydvins
Copy link

Gydvins commented Mar 2, 2025

@greyltc I did everything according to your instructions but it doesn’t work. Tell me please

Image

@greyltc
Copy link
Author

greyltc commented Mar 3, 2025

@greyltc I did everything according to your instructions but it doesn’t work. Tell me please

@Gydvins Yeah, you're likely getting the "doesn't exist" error (like I was) because the workflow failed to install because (in my case) the upstream repo (https://github.com/Lightricks/LTX-Video) that actually powers the new "Txt to Video" feature here can't be cloned without git-lfs. So you might try:

  1. Fully and properly uninstall ai playground (make sure everything is deleted including all workflows/models)
  2. Run winget install -e --id GitHub.GitLFS in your windows terminal to install git-lfs
  3. Probably reboot now for good measure and to ensure git-lfs makes it onto your PATH
  4. Reinstall ai playground
  5. Go through the Txt to Video workflow installation process, which might this time succeed because the upstream repo can be cloned properly with git-lfs

@bobduffy what is the mechanism here that (should?) install(s) git-lfs so that the clone of LTX-Video works? grepping the main branch of https://github.com/intel/AI-Playground.git for the string git-lfs doesn't show me anything. Do you think this issue should remain open since it seems now that I'm not the only one having trouble here?

@bobduffy
Copy link
Contributor

bobduffy commented Mar 3, 2025

The other issue on this topic is still open and points to this issue. No need to have two open. Waiting for this to get a look at Monday.
The mechanism that should install everything needed is installed with AI Playground

@Gydvins
Copy link

Gydvins commented Mar 3, 2025

@greyltc Thank you very much, everything worked) Have a nice day.

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