ariG23498 HF Staff commited on
Commit
439f6c3
·
verified ·
1 Parent(s): ad3cddb

Upload black-forest-labs_FLUX.1-Kontext-dev_1.txt with huggingface_hub

Browse files
black-forest-labs_FLUX.1-Kontext-dev_1.txt CHANGED
@@ -14,7 +14,7 @@ image = pipe(image=input_image, prompt=prompt).images[0]
14
 
15
  ERROR:
16
  Traceback (most recent call last):
17
- File "/tmp/black-forest-labs_FLUX.1-Kontext-dev_19uhjDC.py", line 28, in <module>
18
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda")
19
  File "/tmp/.cache/uv/environments-v2/ca96a1cdc2ecd6c7/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
20
  return fn(*args, **kwargs)
@@ -43,4 +43,4 @@ Traceback (most recent call last):
43
  ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44
  File "/tmp/.cache/uv/environments-v2/ca96a1cdc2ecd6c7/lib/python3.13/site-packages/diffusers/models/model_loading_utils.py", line 754, in _caching_allocator_warmup
45
  _ = torch.empty(warmup_elems, dtype=dtype, device=device, requires_grad=False)
46
- torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 22.17 GiB. GPU 0 has a total capacity of 22.03 GiB of which 21.05 GiB is free. Including non-PyTorch memory, this process has 998.00 MiB memory in use. Of the allocated memory 792.19 MiB is allocated by PyTorch, and 19.81 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)
 
14
 
15
  ERROR:
16
  Traceback (most recent call last):
17
+ File "/tmp/black-forest-labs_FLUX.1-Kontext-dev_1G7ALee.py", line 28, in <module>
18
  pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda")
19
  File "/tmp/.cache/uv/environments-v2/ca96a1cdc2ecd6c7/lib/python3.13/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
20
  return fn(*args, **kwargs)
 
43
  ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44
  File "/tmp/.cache/uv/environments-v2/ca96a1cdc2ecd6c7/lib/python3.13/site-packages/diffusers/models/model_loading_utils.py", line 754, in _caching_allocator_warmup
45
  _ = torch.empty(warmup_elems, dtype=dtype, device=device, requires_grad=False)
46
+ torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 22.17 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)