Skip to content

feat: support text_encoder for flux2 on device npu - #2031

Open
wang-shuibin wants to merge 3 commits into
xLLM-AI:mainfrom
wang-shuibin:flux2_text_encoder_0725
Open

feat: support text_encoder for flux2 on device npu#2031
wang-shuibin wants to merge 3 commits into
xLLM-AI:mainfrom
wang-shuibin:flux2_text_encoder_0725

Conversation

@wang-shuibin

Copy link
Copy Markdown
Collaborator

Description

support text_encoder for flux2 on device npu

Related Issues

Feat: support text_encoder for flux2 on device npu

Change Type

  • Bug fix
  • New feature
  • Performance improvement
  • Refactor
  • Documentation
  • Test
  • Build or CI

Pull Request Checklist

Thank you for contributing to xLLM. Before requesting review, please make sure the following items are complete.

PR Title and Commit Messages

  • The PR title and each commit message follow the xLLM commit format: <type>: <subject>.

Allowed types: feat, bugfix, docs, test, refactor, chore, style, revert, perf, model, build, release.
The subject should use clear English, start with a verb, include at least 4 words, and end with ..

Pre-commit Checks

  • I have installed pre-commit by running pip install pre-commit or an equivalent command.
  • I have installed the hooks with pre-commit install.
  • I have run pre-commit run --all-files and fixed any reported issues.

If you are unsure how to set up pre-commit, see the pre-commit documentation.

Self Review

  • I have self-reviewed the code according to .agents/skills/code-review/references/custom-code-style.md, especially code written or assisted by AI.
  • I have rebased this PR onto the latest main branch.

Build and Test Coverage

  • Tests have been added or updated as needed.
  • CUDA: python setup.py build test has passed on a CUDA machine.
  • NPU: python setup.py build test has passed on an NPU machine.
  • MLU: python setup.py build test has passed on an MLU machine.

Reviewer Notes

Co-authored-by: haimbb000 <kalo2013@foxmail.com>
@wang-shuibin
wang-shuibin force-pushed the flux2_text_encoder_0725 branch from dc36360 to 8007404 Compare July 24, 2026 19:24
@wang-shuibin wang-shuibin changed the title Flux2 text encoder 0725 support text_encoder for flux2 on device npu Jul 25, 2026
@DongheJin

Copy link
Copy Markdown
Collaborator

Commit messages must conform to the specifications.

@wang-shuibin wang-shuibin changed the title support text_encoder for flux2 on device npu feat: support text_encoder for flux2 on device npu Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants