Code Monkey home page Code Monkey logo

Comments (12)

gokayfem avatar gokayfem commented on May 29, 2024 1

yes you can move the folder files_for_uform_gen2_qwen to models/LLavacheckpoints. Dont forget to update the repository.

from comfyui_vlm_nodes.

gokayfem avatar gokayfem commented on May 29, 2024

i made a new update to repo yesterday, now all of the files downloads into models/LLavacheckpoints, this is more convenient.

from comfyui_vlm_nodes.

RYG81 avatar RYG81 commented on May 29, 2024

So how can I move old downloads to this new location and save download data and time?

from comfyui_vlm_nodes.

gokayfem avatar gokayfem commented on May 29, 2024

you can move them and it will work, even if you dont move them huggingface will find them i think. also becareful move only the files starts with 'files_for_...'

from comfyui_vlm_nodes.

RYG81 avatar RYG81 commented on May 29, 2024

image
Just moving this folder data to new folders in model folder

from comfyui_vlm_nodes.

RYG81 avatar RYG81 commented on May 29, 2024

thanks for the guidance. Hope to have more vision model support added. All the best and keep good work.

from comfyui_vlm_nodes.

gokayfem avatar gokayfem commented on May 29, 2024

thanks for the guidance. Hope to have more vision model support added. All the best and keep good work.

which one do you want

from comfyui_vlm_nodes.

RYG81 avatar RYG81 commented on May 29, 2024

Suggestion for vision model - https://huggingface.co/spaces/Vision-CAIR/MiniGPT-v2
also it keeps downloading models, i have created all nodes and downloaded all required models in folder but still everytime I run it downloads models under user .cache\huggingface\hub folder
Please fix this as it takes very long and hard to break downloading process

Also, i suggest print download folder location so that we know its downloading on right path

from comfyui_vlm_nodes.

RYG81 avatar RYG81 commented on May 29, 2024

I am getting this error when using kosmos2 and internlm

Error occurred when executing Kosmos2model:

Allocation on device 0 would exceed allowed memory. (out of memory)
Currently allocated : 9.50 GiB
Requested : 508.10 MiB
Device limit : 8.00 GiB
Free (according to CUDA): 0 bytes
PyTorch limit (set by user-supplied memory fraction)
: 17179869184.00 GiB

File "D:\000AI\ComfyUI\ComfyUI\execution.py", line 149, in recursive_execute
obj = class_def()
^^^^^^^^^^^
File "D:\000AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI_VLM_nodes\nodes\kosmos2.py", line 55, in init
self.predictor = KosmosModelPredictor()
^^^^^^^^^^^^^^^^^^^^^^
File "D:\000AI\ComfyUI\ComfyUI\custom_nodes\ComfyUI_VLM_nodes\nodes\kosmos2.py", line 21, in init
self.model = AutoModelForVision2Seq.from_pretrained(self.model_path).to(self.device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\000AI\ComfyUI\python_embeded\Lib\site-packages\transformers\modeling_utils.py", line 2595, in to
return super().to(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\000AI\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1152, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "D:\000AI\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 802, in _apply
module._apply(fn)
File "D:\000AI\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 802, in _apply
module._apply(fn)
File "D:\000AI\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 802, in _apply
module._apply(fn)
File "D:\000AI\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 825, in _apply
param_applied = fn(param)
^^^^^^^^^
File "D:\000AI\ComfyUI\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1150, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

from comfyui_vlm_nodes.

gokayfem avatar gokayfem commented on May 29, 2024

internlm is a heavy model even it's quantized version. also its not downloading, its fetching your old files from this repository from the root.

from comfyui_vlm_nodes.

RYG81 avatar RYG81 commented on May 29, 2024

https://github.com/Sanster/VLM-demos
this repo lists many VLMs, if there is a way to integrate all of them in comfy.

from comfyui_vlm_nodes.

RYG81 avatar RYG81 commented on May 29, 2024

Models keep downloading, i have used ufromgen2 before and have all models on location, but still it keeps downloading

sGdiJqzxSe.mp4

from comfyui_vlm_nodes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.