Upload black-forest-labs_FLUX.2-dev_1.txt with huggingface_hub
Browse files13 unmodified lines1415161718192022 unmodified lines4344454613 unmodified linesERROR:Traceback (most recent call last):File "/tmp/black-forest-labs_FLUX.2-dev_1lcScNX.py", line 28, in <module>pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-dev", dtype=torch.bfloat16, device_map="cuda")File "/tmp/.cache/uv/environments-v2/d49ad6c613615895/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fnreturn fn(*args, **kwargs)22 unmodified lines~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/tmp/.cache/uv/environments-v2/d49ad6c613615895/lib/python3.13/site-packages/diffusers/models/model_loading_utils.py", line 751, in _caching_allocator_warmup_ = torch.empty(warmup_elems, dtype=dtype, device=device, requires_grad=False)torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 60.02 GiB. GPU 0 has a total capacity of 22.03 GiB of which 21.51 GiB is free. Including non-PyTorch memory, this process has 526.00 MiB memory in use. Of the allocated memory 321.49 MiB is allocated by PyTorch, and 18.51 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)13 unmodified lines1415161718192022 unmodified lines4344454613 unmodified linesERROR:Traceback (most recent call last):File "/tmp/black-forest-labs_FLUX.2-dev_1bcVXZm.py", line 28, in <module>pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.2-dev", dtype=torch.bfloat16, device_map="cuda")File "/tmp/.cache/uv/environments-v2/d49ad6c613615895/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fnreturn fn(*args, **kwargs)22 unmodified lines~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/tmp/.cache/uv/environments-v2/d49ad6c613615895/lib/python3.13/site-packages/diffusers/models/model_loading_utils.py", line 751, in _caching_allocator_warmup_ = torch.empty(warmup_elems, dtype=dtype, device=device, requires_grad=False)torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 60.02 GiB. GPU 0 has a total capacity of 22.03 GiB of which 21.84 GiB is free. Including non-PyTorch memory, this process has 186.00 MiB memory in use. Of the allocated memory 0 bytes is allocated by PyTorch, and 0 bytes 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)
black-forest-labs_FLUX.2-dev_1.txt+2-2