Guest User

Untitled

a guest
Dec 5th, 2025
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.92 KB | None | 0 0
  1. W1206 03:22:37.720000 1782551 site-packages/torch/distributed/run.py:803]
  2. W1206 03:22:37.720000 1782551 site-packages/torch/distributed/run.py:803] *****************************************
  3. W1206 03:22:37.720000 1782551 site-packages/torch/distributed/run.py:803] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
  4. W1206 03:22:37.720000 1782551 site-packages/torch/distributed/run.py:803] *****************************************
  5.  
  6. Loading pipeline components...: 0%| | 0/7 [00:00<?, ?it/s]
  7. Loading pipeline components...: 0%| | 0/7 [00:00<?, ?it/s]
  8. Loading pipeline components...: 0%| | 0/7 [00:00<?, ?it/s]`torch_dtype` is deprecated! Use `dtype` instead!
  9. You set `add_prefix_space`. The tokenizer needs to be converted from the slow tokenizers
  10.  
  11. Loading pipeline components...: 0%| | 0/7 [00:00<?, ?it/s]`torch_dtype` is deprecated! Use `dtype` instead!
  12.  
  13.  
  14. Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]
  15.  
  16. Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]
  17. Loading checkpoint shards: 100%|██████████| 2/2 [00:00<00:00, 56.89it/s]
  18.  
  19. Loading checkpoint shards: 100%|██████████| 2/2 [00:00<00:00, 55.74it/s]
  20.  
  21. Loading pipeline components...: 29%|██▊ | 2/7 [00:00<00:00, 5.90it/s]
  22. Loading pipeline components...: 29%|██▊ | 2/7 [00:00<00:00, 6.13it/s]
  23. Loading pipeline components...: 14%|█▍ | 1/7 [00:00<00:02, 2.93it/s]You set `add_prefix_space`. The tokenizer needs to be converted from the slow tokenizers
  24. You set `add_prefix_space`. The tokenizer needs to be converted from the slow tokenizers
  25.  
  26.  
  27. Loading checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s]
  28. Loading pipeline components...: 14%|█▍ | 1/7 [00:00<00:02, 2.27it/s]`torch_dtype` is deprecated! Use `dtype` instead!
  29.  
  30. Loading checkpoint shards: 100%|██████████| 3/3 [00:00<00:00, 43.59it/s]
  31.  
  32. Loading pipeline components...: 43%|████▎ | 3/7 [00:00<00:00, 6.67it/s]You set `add_prefix_space`. The tokenizer needs to be converted from the slow tokenizers
  33.  
  34.  
  35. Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]
  36. Loading pipeline components...: 43%|████▎ | 3/7 [00:00<00:00, 5.42it/s]
  37. Loading pipeline components...: 29%|██▊ | 2/7 [00:00<00:01, 3.83it/s]
  38. Loading checkpoint shards: 100%|██████████| 2/2 [00:00<00:00, 57.52it/s]
  39.  
  40. Loading pipeline components...: 57%|█████▋ | 4/7 [00:00<00:00, 8.26it/s]
  41.  
  42. Loading checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s]
  43.  
  44. Loading checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s]
  45. Loading checkpoint shards: 100%|██████████| 3/3 [00:00<00:00, 44.33it/s]
  46.  
  47. Loading pipeline components...: 57%|█████▋ | 4/7 [00:00<00:00, 6.05it/s]`torch_dtype` is deprecated! Use `dtype` instead!
  48.  
  49. Loading checkpoint shards: 100%|██████████| 3/3 [00:00<00:00, 42.07it/s]
  50.  
  51.  
  52. Loading checkpoint shards: 0%| | 0/3 [00:00<?, ?it/s]
  53. Loading pipeline components...: 57%|█████▋ | 4/7 [00:00<00:00, 6.65it/s]
  54. Loading pipeline components...: 71%|███████▏ | 5/7 [00:00<00:00, 7.13it/s]
  55. Loading checkpoint shards: 100%|██████████| 3/3 [00:00<00:00, 43.73it/s]
  56.  
  57. Loading pipeline components...: 86%|████████▌ | 6/7 [00:00<00:00, 8.82it/s]
  58.  
  59. Loading checkpoint shards: 0%| | 0/2 [00:00<?, ?it/s]
  60. Loading pipeline components...: 100%|██████████| 7/7 [00:00<00:00, 8.57it/s]
  61.  
  62. Loading checkpoint shards: 100%|██████████| 2/2 [00:00<00:00, 57.05it/s]
  63.  
  64. Loading pipeline components...: 100%|██████████| 7/7 [00:00<00:00, 10.37it/s]
  65. Loading pipeline components...: 100%|██████████| 7/7 [00:00<00:00, 8.36it/s]
  66.  
  67. Loading pipeline components...: 100%|██████████| 7/7 [00:00<00:00, 9.79it/s]
  68. Loading pipeline components...: 100%|██████████| 7/7 [00:00<00:00, 8.45it/s]
  69.  
  70. Loading pipeline components...: 100%|██████████| 7/7 [00:00<00:00, 10.97it/s]
  71. Loading pipeline components...: 100%|██████████| 7/7 [00:00<00:00, 8.17it/s]
  72. Attention backends are an experimental feature and the API may be subject to change.
  73. `enable_parallelism` is an experimental feature. The API may change in the future and breaking changes may be introduced at any time without warning.
  74. Attention backends are an experimental feature and the API may be subject to change.
  75. `enable_parallelism` is an experimental feature. The API may change in the future and breaking changes may be introduced at any time without warning.
  76.  
  77. 0%| | 0/50 [00:00<?, ?it/s]
  78. 0%| | 0/50 [00:00<?, ?it/s]Attention backends are an experimental feature and the API may be subject to change.
  79. `enable_parallelism` is an experimental feature. The API may change in the future and breaking changes may be introduced at any time without warning.
  80. Attention backends are an experimental feature and the API may be subject to change.
  81. `enable_parallelism` is an experimental feature. The API may change in the future and breaking changes may be introduced at any time without warning.
  82.  
  83. 0%| | 0/50 [00:00<?, ?it/s]
  84. 0%| | 0/50 [00:00<?, ?it/s]
  85. 0%| | 0/50 [00:01<?, ?it/s]
  86. 0%| | 0/50 [00:01<?, ?it/s]
  87.  
  88.  
  89. 0%| | 0/50 [00:03<?, ?it/s]
  90. 0%| | 0/50 [00:02<?, ?it/s]
  91.  
  92. [rank3]: Traceback (most recent call last):
  93. [rank3]: File "/fsx/sayak/diffusers/check_unified_attention.py", line 30, in <module>
  94. [rank3]: image = pipeline(prompt, guidance_scale=3.5, num_inference_steps=50, generator=generator).images[0]
  95. [rank3]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 120, in decorate_context
  96. [rank3]: return func(*args, **kwargs)
  97. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/pipelines/flux/pipeline_flux.py", line 944, in __call__
  98. [rank3]: noise_pred = self.transformer(
  99. [rank3]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  100. [rank3]: return self._call_impl(*args, **kwargs)
  101. [rank3]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  102. [rank3]: return forward_call(*args, **kwargs)
  103. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/hooks/hooks.py", line 189, in new_forward
  104. [rank3]: output = function_reference.forward(*args, **kwargs)
  105. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 743, in forward
  106. [rank3]: encoder_hidden_states, hidden_states = block(
  107. [rank3]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  108. [rank3]: return self._call_impl(*args, **kwargs)
  109. [rank3]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  110. [rank3]: return forward_call(*args, **kwargs)
  111. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 453, in forward
  112. [rank3]: attention_outputs = self.attn(
  113. [rank3]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  114. [rank3]: return self._call_impl(*args, **kwargs)
  115. [rank3]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  116. [rank3]: return forward_call(*args, **kwargs)
  117. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 352, in forward
  118. [rank3]: return self.processor(self, hidden_states, encoder_hidden_states, attention_mask, image_rotary_emb, **kwargs)
  119. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 118, in __call__
  120. [rank3]: hidden_states = dispatch_attention_fn(
  121. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 351, in dispatch_attention_fn
  122. [rank3]: return backend_fn(**kwargs)
  123. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 2012, in _native_cudnn_attention
  124. [rank3]: out = _templated_context_parallel_attention(
  125. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1407, in _templated_context_parallel_attention
  126. [rank3]: return TemplatedUnifiedAttention(
  127. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1349, in TemplatedUnifiedAttention
  128. [rank3]: out = TemplatedRingAttention.apply(
  129. [rank3]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/autograd/function.py", line 581, in apply
  130. [rank3]: return super().apply(*args, **kwargs) # type: ignore[misc]
  131. [rank3]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1168, in forward
  132. [rank3]: out = prev_out - torch.nn.functional.sigmoid(lse - prev_lse) * (prev_out - out)
  133. [rank3]: RuntimeError: The size of tensor a (12) must match the size of tensor b (2304) at non-singleton dimension 2
  134. [rank2]: Traceback (most recent call last):
  135. [rank2]: File "/fsx/sayak/diffusers/check_unified_attention.py", line 30, in <module>
  136. [rank2]: image = pipeline(prompt, guidance_scale=3.5, num_inference_steps=50, generator=generator).images[0]
  137. [rank2]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 120, in decorate_context
  138. [rank2]: return func(*args, **kwargs)
  139. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/pipelines/flux/pipeline_flux.py", line 944, in __call__
  140. [rank2]: noise_pred = self.transformer(
  141. [rank2]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  142. [rank2]: return self._call_impl(*args, **kwargs)
  143. [rank2]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  144. [rank2]: return forward_call(*args, **kwargs)
  145. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/hooks/hooks.py", line 189, in new_forward
  146. [rank2]: output = function_reference.forward(*args, **kwargs)
  147. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 743, in forward
  148. [rank2]: encoder_hidden_states, hidden_states = block(
  149. [rank2]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  150. [rank2]: return self._call_impl(*args, **kwargs)
  151. [rank2]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  152. [rank2]: return forward_call(*args, **kwargs)
  153. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 453, in forward
  154. [rank2]: attention_outputs = self.attn(
  155. [rank2]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  156. [rank2]: return self._call_impl(*args, **kwargs)
  157. [rank2]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  158. [rank2]: return forward_call(*args, **kwargs)
  159. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 352, in forward
  160. [rank2]: return self.processor(self, hidden_states, encoder_hidden_states, attention_mask, image_rotary_emb, **kwargs)
  161. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 118, in __call__
  162. [rank2]: hidden_states = dispatch_attention_fn(
  163. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 351, in dispatch_attention_fn
  164. [rank2]: return backend_fn(**kwargs)
  165. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 2012, in _native_cudnn_attention
  166. [rank2]: out = _templated_context_parallel_attention(
  167. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1407, in _templated_context_parallel_attention
  168. [rank2]: return TemplatedUnifiedAttention(
  169. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1349, in TemplatedUnifiedAttention
  170. [rank2]: out = TemplatedRingAttention.apply(
  171. [rank2]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/autograd/function.py", line 581, in apply
  172. [rank2]: return super().apply(*args, **kwargs) # type: ignore[misc]
  173. [rank2]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1168, in forward
  174. [rank2]: out = prev_out - torch.nn.functional.sigmoid(lse - prev_lse) * (prev_out - out)
  175. [rank2]: RuntimeError: The size of tensor a (12) must match the size of tensor b (2304) at non-singleton dimension 2
  176. [rank1]: Traceback (most recent call last):
  177. [rank1]: File "/fsx/sayak/diffusers/check_unified_attention.py", line 30, in <module>
  178. [rank1]: image = pipeline(prompt, guidance_scale=3.5, num_inference_steps=50, generator=generator).images[0]
  179. [rank1]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 120, in decorate_context
  180. [rank1]: return func(*args, **kwargs)
  181. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/pipelines/flux/pipeline_flux.py", line 944, in __call__
  182. [rank1]: noise_pred = self.transformer(
  183. [rank1]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  184. [rank1]: return self._call_impl(*args, **kwargs)
  185. [rank1]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  186. [rank1]: return forward_call(*args, **kwargs)
  187. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/hooks/hooks.py", line 189, in new_forward
  188. [rank1]: output = function_reference.forward(*args, **kwargs)
  189. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 743, in forward
  190. [rank1]: encoder_hidden_states, hidden_states = block(
  191. [rank1]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  192. [rank1]: return self._call_impl(*args, **kwargs)
  193. [rank1]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  194. [rank1]: return forward_call(*args, **kwargs)
  195. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 453, in forward
  196. [rank1]: attention_outputs = self.attn(
  197. [rank1]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  198. [rank1]: return self._call_impl(*args, **kwargs)
  199. [rank1]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  200. [rank1]: return forward_call(*args, **kwargs)
  201. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 352, in forward
  202. [rank1]: return self.processor(self, hidden_states, encoder_hidden_states, attention_mask, image_rotary_emb, **kwargs)
  203. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 118, in __call__
  204. [rank1]: hidden_states = dispatch_attention_fn(
  205. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 351, in dispatch_attention_fn
  206. [rank1]: return backend_fn(**kwargs)
  207. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 2012, in _native_cudnn_attention
  208. [rank1]: out = _templated_context_parallel_attention(
  209. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1407, in _templated_context_parallel_attention
  210. [rank1]: return TemplatedUnifiedAttention(
  211. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1349, in TemplatedUnifiedAttention
  212. [rank1]: out = TemplatedRingAttention.apply(
  213. [rank1]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/autograd/function.py", line 581, in apply
  214. [rank1]: return super().apply(*args, **kwargs) # type: ignore[misc]
  215. [rank1]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1168, in forward
  216. [rank1]: out = prev_out - torch.nn.functional.sigmoid(lse - prev_lse) * (prev_out - out)
  217. [rank1]: RuntimeError: The size of tensor a (12) must match the size of tensor b (2304) at non-singleton dimension 2
  218. [rank0]: Traceback (most recent call last):
  219. [rank0]: File "/fsx/sayak/diffusers/check_unified_attention.py", line 30, in <module>
  220. [rank0]: image = pipeline(prompt, guidance_scale=3.5, num_inference_steps=50, generator=generator).images[0]
  221. [rank0]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 120, in decorate_context
  222. [rank0]: return func(*args, **kwargs)
  223. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/pipelines/flux/pipeline_flux.py", line 944, in __call__
  224. [rank0]: noise_pred = self.transformer(
  225. [rank0]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  226. [rank0]: return self._call_impl(*args, **kwargs)
  227. [rank0]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  228. [rank0]: return forward_call(*args, **kwargs)
  229. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/hooks/hooks.py", line 189, in new_forward
  230. [rank0]: output = function_reference.forward(*args, **kwargs)
  231. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 743, in forward
  232. [rank0]: encoder_hidden_states, hidden_states = block(
  233. [rank0]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  234. [rank0]: return self._call_impl(*args, **kwargs)
  235. [rank0]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  236. [rank0]: return forward_call(*args, **kwargs)
  237. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 453, in forward
  238. [rank0]: attention_outputs = self.attn(
  239. [rank0]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1775, in _wrapped_call_impl
  240. [rank0]: return self._call_impl(*args, **kwargs)
  241. [rank0]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1786, in _call_impl
  242. [rank0]: return forward_call(*args, **kwargs)
  243. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 352, in forward
  244. [rank0]: return self.processor(self, hidden_states, encoder_hidden_states, attention_mask, image_rotary_emb, **kwargs)
  245. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/models/transformers/transformer_flux.py", line 118, in __call__
  246. [rank0]: hidden_states = dispatch_attention_fn(
  247. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 351, in dispatch_attention_fn
  248. [rank0]: return backend_fn(**kwargs)
  249. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 2012, in _native_cudnn_attention
  250. [rank0]: out = _templated_context_parallel_attention(
  251. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1407, in _templated_context_parallel_attention
  252. [rank0]: return TemplatedUnifiedAttention(
  253. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1349, in TemplatedUnifiedAttention
  254. [rank0]: out = TemplatedRingAttention.apply(
  255. [rank0]: File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/autograd/function.py", line 581, in apply
  256. [rank0]: return super().apply(*args, **kwargs) # type: ignore[misc]
  257. [rank0]: File "/fsx/sayak/diffusers/src/diffusers/models/attention_dispatch.py", line 1168, in forward
  258. [rank0]: out = prev_out - torch.nn.functional.sigmoid(lse - prev_lse) * (prev_out - out)
  259. [rank0]: RuntimeError: The size of tensor a (12) must match the size of tensor b (2304) at non-singleton dimension 2
  260. [rank1]:[W1206 03:23:03.518618524 ProcessGroupNCCL.cpp:1524] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
  261. [rank0]:[W1206 03:23:03.570948018 ProcessGroupNCCL.cpp:1524] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
  262. [rank2]:[W1206 03:23:04.916631126 ProcessGroupNCCL.cpp:1524] Warning: WARNING: destroy_process_group() was not called before program exit, which can leak resources. For more info, please see https://pytorch.org/docs/stable/distributed.html#shutdown (function operator())
  263. W1206 03:23:09.585000 1782551 site-packages/torch/distributed/elastic/multiprocessing/api.py:908] Sending process 1782613 closing signal SIGTERM
  264. W1206 03:23:09.589000 1782551 site-packages/torch/distributed/elastic/multiprocessing/api.py:908] Sending process 1782614 closing signal SIGTERM
  265. W1206 03:23:09.589000 1782551 site-packages/torch/distributed/elastic/multiprocessing/api.py:908] Sending process 1782616 closing signal SIGTERM
  266. E1206 03:23:10.668000 1782551 site-packages/torch/distributed/elastic/multiprocessing/api.py:882] failed (exitcode: 1) local_rank: 2 (pid: 1782615) of binary: /fsx/sayak/miniconda3/envs/diffusers/bin/python
  267. Traceback (most recent call last):
  268. File "/fsx/sayak/miniconda3/envs/diffusers/bin/torchrun", line 8, in <module>
  269. sys.exit(main())
  270. File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 357, in wrapper
  271. return f(*args, **kwargs)
  272. File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/distributed/run.py", line 936, in main
  273. run(args)
  274. File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/distributed/run.py", line 927, in run
  275. elastic_launch(
  276. File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 156, in __call__
  277. return launch_agent(self._config, self._entrypoint, list(args))
  278. File "/fsx/sayak/miniconda3/envs/diffusers/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 293, in launch_agent
  279. raise ChildFailedError(
  280. torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
  281. ============================================================
  282. check_unified_attention.py FAILED
  283. ------------------------------------------------------------
  284. Failures:
  285. <NO_OTHER_FAILURES>
  286. ------------------------------------------------------------
  287. Root Cause (first observed failure):
  288. [0]:
  289. time : 2025-12-06_03:23:09
  290. host : ip-26-0-160-103.ec2.internal
  291. rank : 2 (local_rank: 2)
  292. exitcode : 1 (pid: 1782615)
  293. error_file: <N/A>
  294. traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
  295. ============================================================
  296.  
Advertisement
Add Comment
Please, Sign In to add comment