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

Issue with persistence for ComfyUI container #852

Open
2 tasks done
RS-Credentive opened this issue Feb 13, 2025 · 0 comments
Open
2 tasks done

Issue with persistence for ComfyUI container #852

RS-Credentive opened this issue Feb 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@RS-Credentive
Copy link

RS-Credentive commented Feb 13, 2025

Search before asking

  • I have searched the jetson-containers issues and found no similar feature requests.

jetson-containers Component

No response

Bug

When using a volume to persist nodes and models for the comfyUI container, any Python packages installed by the nodes are lost when the container is restarted. This may leave ComfyUI in an inconsistent/broken state.

Environment

$ docker image ls
REPOSITORY        TAG       IMAGE ID       CREATED       SIZE
dustynv/comfyui   r36.4.0   92b71a6683ae   6 weeks ago   18.9GB
$ cat /etc/nv_tegra_release 
# R36 (release), REVISION: 4.3, GCID: 38968081, BOARD: generic, EABI: aarch64, DATE: Wed Jan  8 01:49:37 UTC 2025
# KERNEL_VARIANT: oot
TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia
$ jetson-containers update
Already up to date.

Additional

This was first raised in a comment on #796. That includes a more detailed proposal to incorporate uv, which could solve this problem. However, this issue is different and much smaller in scope. For now, I will submit a PR to the comfyui Dockerfile that creates a .venv under /opt/ComfyUI. That will address this specific issue.

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@RS-Credentive RS-Credentive added the bug Something isn't working label Feb 13, 2025
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

1 participant