Remove deprecated VQModel/VQEncoderOutput shim (past target version 0.31)

Open Beginner friendly
#14,365 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

Start in src/diffusers/models/vq_model.py and inspect the VQModel/VQEncoderOutput deprecation shim targeting version 0.31. Then locate its reference in the relevant init.py and remove both pieces; done means the obsolete shim and reference are gone without breaking the surrounding model imports.

Written by the indexing model from the issue text.

Description

bug models needs-code-example

src/diffusers/models/vq_model.py still contains the backward-compat shim for VQModel/VQEncoderOutput with deprecate(..., 0.31). Current version is 0.40.0.dev0, so this is well past its removal target. Happy to send a PR removing this file and its reference in the relevant init.py if maintainers are OK with it. Let me know if this is still wanted or already being handled elsewhere.

Dominant language
Python
Stars
34.6k
Forks
7.3k
Avg merge
3d 16h
Merged PRs (30d)
74

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from huggingface/diffusers

All issues in huggingface/diffusers

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.