Comfy-Org / Comfy-Org/ComfyUI

πŸ“ŒπŸ“ŒπŸ“ŒπŸ“ŒπŸ“ŒπŸ“ŒπŸ“Œ SamplerCustomAdvanced module 'tensorflow' has no attribute 'Tensor'

Open
#9,861 0 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Custom Node Testing

- [ ] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

πŸ†˜

### Actual Behavior

Image

### Steps to Reproduce

πŸ™‹πŸ»β€β™‚οΈπŸ™‹πŸ»β€β™‚οΈπŸ™‹πŸ»β€β™‚οΈπŸ™‹πŸ»β€β™‚οΈ

Hello everyone. I received the following error after updating comfyui. I searched Github and Google for help with chatgpt and tried every alternative I could find. Unfortunately, I received the same error again. The production process started without any problems until I reached the custom advanced node. I received an error there, and unfortunately, I couldn't render.

I also tried the solutions on girhub. So, I'm opening a new thread.

I wish you all the best.
Peace be upon you.

--------------------------------------------------------------------------------------------

### Debug Logs

```powershell
CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16
clip missing: ['text_projection.weight']
Requested to load Flux
loaded completely 16575.924036941527 12245.509887695312 True
0%| | 0/21 [00:00 b (h w) (c ph pw)", ph=patch_size, pw=patch_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\python_embeded\Lib\site-packages\einops\einops.py", line 600, in rearrange
return reduce(tensor, pattern, reduction="rearrange", **axes_lengths)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\python_embeded\Lib\site-packages\einops\einops.py", line 527, in reduce
backend = get_backend(tensor)
^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\python_embeded\Lib\site-packages\einops\_backends.py", line 55, in get_backend
if backend.is_appropriate_type(tensor):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI\python_embeded\Lib\site-packages\einops\_backends.py", line 358, in is_appropriate_type
return isinstance(tensor, (self.tf.Tensor, self.tf.Variable))
^^^^^^^^^^^^^^
AttributeError: module 'tensorflow' has no attribute 'Tensor'

Prompt executed in 12.46 seconds
```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.