A1111 and Confyui Sharing models

Viewing 2 reply threads
  • Author
    Posts
    • #12045
      Veep PeepVeep Peep
      Participant

        Hello,

        I am running both Comfyui and A1111 on the same computer (but isolated).  Instead of copying checkpoint models, I want them to share a folder.

        Since i am using Windows 11 can I make a sybolic link from mklink /D “C:\Users\USER\Python Scripts\ComfyUI_windows_portable\ComfyUI\models\checkpoints” “C:\Users\USER\Python Scripts\stable-diffusion-webui\models\Stable-diffusion”

        I am using Comfyui Portable, but when I started it, it just overwrote the symbolic link and created a new checkpoint folder.

        Or is there a comfyui config file?  I see nothing in the settings.

        But the Main.py code has this:

        #These are the default folders that checkpoints, clip and vae models will be saved to when using CheckpointSave, etc.. nodes
        folder_paths.add_model_folder_path(“checkpoints”, os.path.join(folder_paths.get_output_directory(), “checkpoints”))
        folder_paths.add_model_folder_path(“clip”, os.path.join(folder_paths.get_output_directory(), “clip”))
        folder_paths.add_model_folder_path(“vae”, os.path.join(folder_paths.get_output_directory(), “vae”))

        Not sure I want to meddle with it and hardcode it.

        Thoughts?

        Thanks,

         

        V

         

      • #12411
        AvatarAndrew
        Keymaster

          Yes, you can share models between them.  See instructions for setting for the config file in ComfyUI

           

          • This reply was modified 9 months, 1 week ago by AvatarAndrew.
        • #12414
          Veep PeepVeep Peep
          Participant

            Hi Andrew.

            Guess I still can’t read..

            “TO SHARE MODELS BETWEEN COMFYUI AND ANOTHER UI:
            In the ComfyUI directory you will find a file: extra_model_paths.yaml.example
            Rename this file to: extra_model_paths.yaml and edit it with your favorite text editor.”

            Thanks, will give it a go!

            V

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.