Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor autoencoder tests (vq, kvae_video, oobleck, consistency_decoder, tiny, vidtok)#13849

Merged
sayakpaul merged 9 commits into
huggingface:mainfrom
akshan-main:tests-refactor-autoencoders-remaining
Jun 3, 2026
Merged

refactor autoencoder tests (vq, kvae_video, oobleck, consistency_decoder, tiny, vidtok)#13849
sayakpaul merged 9 commits into
huggingface:mainfrom
akshan-main:tests-refactor-autoencoders-remaining

Conversation

@akshan-main

Copy link
Copy Markdown
Contributor

What does this PR do?

Part of the ongoing modeling-test migration (following #13369 and #13153). Migrates the VQModel, AutoencoderKLKVAEVideo, AutoencoderOobleck, ConsistencyDecoderVAE, AutoencoderTiny, and AutoencoderVidTok test suites to the mixin-based structure (Config + ModelTesterMixin / TrainingTesterMixin / MemoryTesterMixin / NewAutoencoderTesterMixin).

@slow integration classes in the oobleck, consistency_decoder, and tiny suites are kept intact.

Before submitting

Who can review?

@sayakpaul @DN6

@github-actions github-actions Bot added size/L PR with diff > 200 LOC tests and removed size/L PR with diff > 200 LOC labels May 31, 2026
@akshan-main akshan-main force-pushed the tests-refactor-autoencoders-remaining branch from d0c7f5f to ce58c5b Compare June 1, 2026 11:16
@github-actions github-actions Bot added the size/L PR with diff > 200 LOC label Jun 1, 2026
@sayakpaul sayakpaul merged commit 4c77dcd into huggingface:main Jun 3, 2026
11 of 13 checks passed
DN6 pushed a commit that referenced this pull request Jul 1, 2026
…der, tiny, vidtok) (#13849)

* refactor vq tests

* refactor autoencoder_kl_kvae_video tests

* refactor autoencoder_oobleck tests

* refactor consistency_decoder_vae tests

* refactor autoencoder_tiny tests

* refactor autoencoder_vidtok tests

* remove unused base_precision and test_outputs_equivalence skips

---------

Co-authored-by: Sayak Paul <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L PR with diff > 200 LOC tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants