transformers - 💡(How to fix) Fix ValueError: Backend should be defined in the BACKENDS_MAPPING. Offending backend: tensorflow_text [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

I don't have tensorflow or tensorboard installed. Updating from version 5.8.0 to version 5.9.0 causes an error when launching ComfyUI on Linux: Traceback (most recent call last):

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

System Info

I don't have tensorflow or tensorboard installed. Updating from version 5.8.0 to version 5.9.0 causes an error when launching ComfyUI on Linux:

Traceback (most recent call last): File ".../ComfyUI/main.py", line 198, in <module> import execution File ".../ComfyUI/execution.py", line 20, in <module> from latent_preview import set_preview_method File ".../ComfyUI/latent_preview.py", line 5, in <module> from comfy.sd import VAE File ".../ComfyUI/comfy/sd.py", line 33, in <module> from . import model_detection File ".../ComfyUI/comfy/model_detection.py", line 3, in <module> import comfy.supported_models File ".../ComfyUI/comfy/supported_models.py", line 5, in <module> from . import sd1_clip File ".../ComfyUI/comfy/sd1_clip.py", line 3, in <module> from transformers import CLIPTokenizer File ".../ComfyUI/venv/lib/python3.12/site-packages/transformers/init.py", line 795, in <module> sys.modules[name] = _LazyModule( ^^^^^^^^^^^^ File ".../ComfyUI/venv/lib/python3.12/site-packages/transformers/utils/import_utils.py", line 2142, in init raise ValueError( ValueError: Backend should be defined in the BACKENDS_MAPPING. Offending backend: tensorflow_text

Who can help?

No response

Information

  • The official example scripts
  • My own modified scripts

Tasks

  • An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
  • My own task or dataset (give details below)

Reproduction

Start ComfyUI on my PC.

Expected behavior

Normal starting.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Normal starting.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING