Upload AIDC-AI_Ovis-Image-7B_0.txt with huggingface_hub
Browse files10 unmodified lines111213141415161735 unmodified lines535455565610 unmodified lines
ERROR: Traceback (most recent call last): File "/tmp/AIDC-AI_Ovis-Image-7B_0IutxDQ.py", line 27, in <module> File "/tmp/AIDC-AI_Ovis-Image-7B_0lzb2LR.py", line 27, in <module> pipe = DiffusionPipeline.from_pretrained("AIDC-AI/Ovis-Image-7B", dtype=torch.bfloat16, device_map="cuda") File "/tmp/.cache/uv/environments-v2/4c88b0d2a4015e5b/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs)35 unmodified lines ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/.cache/uv/environments-v2/4c88b0d2a4015e5b/lib/python3.13/site-packages/accelerate/utils/modeling.py", line 343, in set_module_tensor_to_device new_value = value.to(device, non_blocking=non_blocking)torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 144.00 MiB. GPU 0 has a total capacity of 22.03 GiB of which 143.12 MiB is free. Including non-PyTorch memory, this process has 21.89 GiB memory in use. Of the allocated memory 21.66 GiB is allocated by PyTorch, and 45.40 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 288.00 MiB. GPU 0 has a total capacity of 22.03 GiB of which 165.12 MiB is free. Including non-PyTorch memory, this process has 21.87 GiB memory in use. Of the allocated memory 21.65 GiB is allocated by PyTorch, and 29.39 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)AIDC-AI_Ovis-Image-7B_0.txt+2-2