Skip to content

chore(deps): bump the pip group across 2 directories with 2 updates - #4845

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/video-generation/pip-b55b30e793
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/video-generation/pip-b55b30e793

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 5, 2026

Copy link
Copy Markdown
Contributor

Bumps the pip group with 2 updates in the /video-generation directory: setuptools and accelerate.
Bumps the pip group with 2 updates in the /video-generation/reference directory: setuptools and accelerate.

Updates setuptools from 80.9.0 to 84.1.0

Changelog

Sourced from setuptools's changelog.

v84.1.0

Features

  • setuptools.archive_util now raises the new UnsafeMember exception when an archive member would be extracted outside of the extraction directory, where previously such a member was silently skipped. Aborting makes a malicious or malformed archive visible to the caller instead of yielding a quietly incomplete extraction, and matches the behavior of the standard library's tarfile extraction filters.

Bugfixes

  • Wheel.install_as_egg no longer creates namespace package directories outside of the destination egg directory. Entries in a wheel's namespace_packages.txt were split on . and passed straight to os.path.join, so an entry that was absolute, drive-qualified, or UNC discarded the destination and placed an __init__.py at a path chosen by the wheel. Namespace entries are now validated as dotted module names on every platform -- see GHSA-xmj3-9gf7-h52w.

    This code path is reached only by the deprecated setup_requires mechanism when setup() is invoked outside a PEP 517 frontend; the setuptools build backend never reaches it.

  • setuptools.archive_util no longer extracts archive members outside of the requested extraction directory. Both the tar and zip formats specify / as the only path separator, but the guard against .. components split member names on / alone, so a name such as ..\escaped.txt was treated as a single component and then resolved as a traversal by the filesystem on Windows. Member names containing a backslash, a drive letter, or a UNC prefix are now rejected on every platform, as are members whose resolved destination falls outside the extraction directory -- see GHSA-grgh-hr87-3jpw.

v84.0.0

Features

  • Newline-separated keywords and platformspypa/setuptools#4887old specification <https://peps.python.org/pep-0345/>_ separated items with spaces and the current one uses commas. (#4887)
  • Extensionpypa/distutils#373#5022)
  • The C compiler modules now emit log messages through their own compilers.C.* loggers instead of the distutils root logger, part of decoupling the compilers package from distutils. The logger names are normalized to a stable compilers.C.* prefix so they remain constant as the package migrates toward a standalone compilers.C distribution. (#5266)
  • The C compilers gained a Compiler.call method -- a thin wrapper over subprocess.check_call (with macOS deployment-target env injection) that is the modern replacement for Compiler.spawn. The compilers no longer depend on distutils.spawn, distutils.dir_util, distutils.file_util, distutils._modified, or distutils.util.execute/split_quoted: the generic newer/newer_group and split_quoted helpers are vendored into the compilers package, and Compiler.mkpath/move_file/execute are implemented directly on the standard library (os.makedirs/shutil.move). The methods are retained for backward compatibility. (#5267)
  • The compilers no longer depend on distutils.util, distutils.version, distutils.compat, or distutils._macos_compat. The platform-identification helpers (get_platform/get_host_platform/is_mingw) now live in distutils.compilers.platform.detect and the macOS deployment-target logic and compiler_fixup in distutils.compilers.platform.macos; CygwinCCompiler.gcc_version returns a packaging.version.Version. distutils.util re-exports the platform/macOS helpers from their new homes for backward compatibility rather than keeping duplicate copies. (sysconfig lookups still route through distutils pending its own decoupling.) (#5268)
  • The compilers now read their build configuration from the standard library's sysconfig instead of distutils.sysconfig. Per-compiler customization -- previously distutils.sysconfig.customize_compiler -- has moved into Compiler.configure_system(): a no-op on the base class, with UnixCCompiler applying the compiler/flag/archiver settings CPython recorded in sysconfig (and the usual CC/CFLAGS/LDSHARED/… environment overrides). distutils.sysconfig.customize_compiler is retained as a thin wrapper that calls compiler.configure_system(). (#5269)

... (truncated)

Commits

Updates accelerate from 1.12.0 to 1.15.0

Release notes

Sourced from accelerate's releases.

v1.15.0: FSDP2 activation memory, dtensor improvements

FSDP2

A large batch of FSDP2 work this release: two fixes that cut activation memory at long sequence lengths, tied-embedding support on torch >= 2.13, and a round of checkpointing correctness and scale fixes.

Activation checkpointing was wrapping each child of the matched layer (self_attn, mlp, the norms) instead of the layer itself, so every inter-child activation stayed saved for backward. It now wraps the layer.

There's also a new FSDP2-only activation_checkpointing_offload, which moves the remaining per-layer checkpoint inputs to pinned CPU memory. Gradients are exactly those of plain activation checkpointing:

# fsdp2.yaml
fsdp_config:
  fsdp_version: 2
  fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
  fsdp_activation_checkpointing: true
  fsdp_activation_checkpointing_offload: true
accelerate launch --config_file fsdp2.yaml train.py
  • FSDP2 activation checkpointing: wrap the matched transformer layer itself, not each of its children by @​qgallouedec in #4172
  • Add FSDP2 activation_checkpointing_offload: offload checkpointed layer inputs to pinned CPU memory by @​qgallouedec in #4175
  • Fix FSDP2 tied-embedding models on torch >= 2.13: put the output embedding in the same fully_shard group by @​qgallouedec in #4171
  • Fix FSDP2/PEFT/FULL_STATE_DICT dropping every rank's adapter shard except rank 0 by @​AmineDiro in #4206
  • FSDP2: per-rank torch.save/load for SHARDED_STATE_DICT to fix 2800+ NPU checkpoint timeout by @​gygdh-001 in #4105
  • Fix FSDP sharded checkpoint path resolution by @​HaomingSong in #4119
  • Raise a clear error when FSDP is enabled on a mesh with no shard dimension by @​qgallouedec in #4180

DTensor

Two fixes for DTensor-sharded models, which you hit with FSDP2, tensor parallelism, or any N-D parallelism setup: gradient clipping no longer fails on the foreach op when plain tensors and DTensors are mixed, and prepare_model leaves an already-sharded model where it is:

Offloading & Quantization

An entire model can now be dispatched to disk, including tied weights — useful for tools like llm-compressor that compress large models on machines that can't hold them:

Trackers

Custom trackers can be registered by name and then selected from log_with= like any built-in one:

from accelerate import Accelerator
from accelerate.tracking import register_tracker_class
</tr></table> 

... (truncated)

Commits
  • 6afc1e5 Release: v1.15.0
  • 636a934 Fix nightly CI: tensor parallel size detection and DeepSpeed warmup steps (#4...
  • 385d9fb docs: fix three dead links left by the docs restructure (#4230)
  • c424d0b docs: fix garbled sentence in CONTRIBUTING.md (#4231)
  • 0f7e35f Clip grad norm support for dtensors (#4219)
  • b2ac509 Fix FSDP2/ PEFT/FULL_STATE_DICT dropping every rank's adapter shard except ...
  • 33e8bc4 Fix load_accelerator_state only restoring one RNG backend (#4217)
  • 50de3ad Treat MPS out-of-memory errors as OOM in find_executable_batch_size (#4227)
  • ab5fe8e feat: add the neuron device branch in state (#4218)
  • 9baf95b Fix MLFLOW_NESTED_RUN never being able to turn nesting off (#4223)
  • Additional commits viewable in compare view

Updates setuptools from 80.9.0 to 84.1.0

Changelog

Sourced from setuptools's changelog.

v84.1.0

Features

  • setuptools.archive_util now raises the new UnsafeMember exception when an archive member would be extracted outside of the extraction directory, where previously such a member was silently skipped. Aborting makes a malicious or malformed archive visible to the caller instead of yielding a quietly incomplete extraction, and matches the behavior of the standard library's tarfile extraction filters.

Bugfixes

  • Wheel.install_as_egg no longer creates namespace package directories outside of the destination egg directory. Entries in a wheel's namespace_packages.txt were split on . and passed straight to os.path.join, so an entry that was absolute, drive-qualified, or UNC discarded the destination and placed an __init__.py at a path chosen by the wheel. Namespace entries are now validated as dotted module names on every platform -- see GHSA-xmj3-9gf7-h52w.

    This code path is reached only by the deprecated setup_requires mechanism when setup() is invoked outside a PEP 517 frontend; the setuptools build backend never reaches it.

  • setuptools.archive_util no longer extracts archive members outside of the requested extraction directory. Both the tar and zip formats specify / as the only path separator, but the guard against .. components split member names on / alone, so a name such as ..\escaped.txt was treated as a single component and then resolved as a traversal by the filesystem on Windows. Member names containing a backslash, a drive letter, or a UNC prefix are now rejected on every platform, as are members whose resolved destination falls outside the extraction directory -- see GHSA-grgh-hr87-3jpw.

v84.0.0

Features

  • Newline-separated keywords and platformspypa/setuptools#4887old specification <https://peps.python.org/pep-0345/>_ separated items with spaces and the current one uses commas. (#4887)
  • Extensionpypa/distutils#373#5022)
  • The C compiler modules now emit log messages through their own compilers.C.* loggers instead of the distutils root logger, part of decoupling the compilers package from distutils. The logger names are normalized to a stable compilers.C.* prefix so they remain constant as the package migrates toward a standalone compilers.C distribution. (#5266)
  • The C compilers gained a Compiler.call method -- a thin wrapper over subprocess.check_call (with macOS deployment-target env injection) that is the modern replacement for Compiler.spawn. The compilers no longer depend on distutils.spawn, distutils.dir_util, distutils.file_util, distutils._modified, or distutils.util.execute/split_quoted: the generic newer/newer_group and split_quoted helpers are vendored into the compilers package, and Compiler.mkpath/move_file/execute are implemented directly on the standard library (os.makedirs/shutil.move). The methods are retained for backward compatibility. (#5267)
  • The compilers no longer depend on distutils.util, distutils.version, distutils.compat, or distutils._macos_compat. The platform-identification helpers (get_platform/get_host_platform/is_mingw) now live in distutils.compilers.platform.detect and the macOS deployment-target logic and compiler_fixup in distutils.compilers.platform.macos; CygwinCCompiler.gcc_version returns a packaging.version.Version. distutils.util re-exports the platform/macOS helpers from their new homes for backward compatibility rather than keeping duplicate copies. (sysconfig lookups still route through distutils pending its own decoupling.) (#5268)
  • The compilers now read their build configuration from the standard library's sysconfig instead of distutils.sysconfig. Per-compiler customization -- previously distutils.sysconfig.customize_compiler -- has moved into Compiler.configure_system(): a no-op on the base class, with UnixCCompiler applying the compiler/flag/archiver settings CPython recorded in sysconfig (and the usual CC/CFLAGS/LDSHARED/… environment overrides). distutils.sysconfig.customize_compiler is retained as a thin wrapper that calls compiler.configure_system(). (#5269)

... (truncated)

Commits

Updates accelerate from 1.12.0 to 1.15.0

Release notes

Sourced from accelerate's releases.

v1.15.0: FSDP2 activation memory, dtensor improvements

FSDP2

A large batch of FSDP2 work this release: two fixes that cut activation memory at long sequence lengths, tied-embedding support on torch >= 2.13, and a round of checkpointing correctness and scale fixes.

Activation checkpointing was wrapping each child of the matched layer (self_attn, mlp, the norms) instead of the layer itself, so every inter-child activation stayed saved for backward. It now wraps the layer.

There's also a new FSDP2-only activation_checkpointing_offload, which moves the remaining per-layer checkpoint inputs to pinned CPU memory. Gradients are exactly those of plain activation checkpointing:

# fsdp2.yaml
fsdp_config:
  fsdp_version: 2
  fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
  fsdp_activation_checkpointing: true
  fsdp_activation_checkpointing_offload: true
accelerate launch --config_file fsdp2.yaml train.py
  • FSDP2 activation checkpointing: wrap the matched transformer layer itself, not each of its children by @​qgallouedec in #4172
  • Add FSDP2 activation_checkpointing_offload: offload checkpointed layer inputs to pinned CPU memory by @​qgallouedec in #4175
  • Fix FSDP2 tied-embedding models on torch >= 2.13: put the output embedding in the same fully_shard group by @​qgallouedec in #4171
  • Fix FSDP2/PEFT/FULL_STATE_DICT dropping every rank's adapter shard except rank 0 by @​AmineDiro in #4206
  • FSDP2: per-rank torch.save/load for SHARDED_STATE_DICT to fix 2800+ NPU checkpoint timeout by @​gygdh-001 in #4105
  • Fix FSDP sharded checkpoint path resolution by @​HaomingSong in #4119
  • Raise a clear error when FSDP is enabled on a mesh with no shard dimension by @​qgallouedec in #4180

DTensor

Two fixes for DTensor-sharded models, which you hit with FSDP2, tensor parallelism, or any N-D parallelism setup: gradient clipping no longer fails on the foreach op when plain tensors and DTensors are mixed, and prepare_model leaves an already-sharded model where it is:

Offloading & Quantization

An entire model can now be dispatched to disk, including tied weights — useful for tools like llm-compressor that compress large models on machines that can't hold them:

Trackers

Custom trackers can be registered by name and then selected from log_with= like any built-in one:

from accelerate import Accelerator
from accelerate.tracking import register_tracker_class
</tr></table> 

... (truncated)

Commits
  • 6afc1e5 Release: v1.15.0
  • 636a934 Fix nightly CI: tensor parallel size detection and DeepSpeed warmup steps (#4...
  • 385d9fb docs: fix three dead links left by the docs restructure (#4230)
  • c424d0b docs: fix garbled sentence in CONTRIBUTING.md (#4231)
  • 0f7e35f Clip grad norm support for dtensors (#4219)
  • b2ac509 Fix FSDP2/ PEFT/FULL_STATE_DICT dropping every rank's adapter shard except ...
  • 33e8bc4 Fix load_accelerator_state only restoring one RNG backend (#4217)
  • 50de3ad Treat MPS out-of-memory errors as OOM in find_executable_batch_size (#4227)
  • ab5fe8e feat: add the neuron device branch in state (#4218)
  • 9baf95b Fix MLFLOW_NESTED_RUN never being able to turn nesting off (#4223)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the pip group with 2 updates in the /video-generation directory: [setuptools](https://github.com/pypa/setuptools) and [accelerate](https://github.com/huggingface/accelerate).
Bumps the pip group with 2 updates in the /video-generation/reference directory: [setuptools](https://github.com/pypa/setuptools) and [accelerate](https://github.com/huggingface/accelerate).


Updates `setuptools` from 80.9.0 to 84.1.0
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v80.9.0...v84.1.0)

Updates `accelerate` from 1.12.0 to 1.15.0
- [Release notes](https://github.com/huggingface/accelerate/releases)
- [Commits](huggingface/accelerate@v1.12.0...v1.15.0)

Updates `setuptools` from 80.9.0 to 84.1.0
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v80.9.0...v84.1.0)

Updates `accelerate` from 1.12.0 to 1.15.0
- [Release notes](https://github.com/huggingface/accelerate/releases)
- [Commits](huggingface/accelerate@v1.12.0...v1.15.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 84.1.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: accelerate
  dependency-version: 1.15.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: setuptools
  dependency-version: 84.1.0
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: accelerate
  dependency-version: 1.15.0
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team November 5, 2026 20:35
@dependabot
dependabot Bot requested a review from functionstackx as a code owner November 5, 2026 20:35
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 5, 2026
@dependabot dependabot Bot added the python Pull requests that update python code label Nov 5, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment thread video-generation/pyproject.toml Resolved
@SemiKyle

Copy link
Copy Markdown
Collaborator

Major upgrade check (local agent, dependabot-autopilot /major-upgrades)

Result: blocked
Reason: age floor. The lock also moves filelock 4.2.6 -> 4.2.9 (transitive). filelock 4.2.9 is 6 days old. It reaches 7 days on 2026-11-11 at 18:37 UTC.
Head: 2cdece7 (no change)
Packages: setuptools 80.9.0 -> 84.1.0 (direct), accelerate 1.12.0 -> 1.15.0 (direct)
Other lock changes: wheel 0.45.1 -> 0.48.0, filelock 4.2.6 -> 4.2.9
Age check: 5 versions checked. 4 are at least 7 days old. filelock 4.2.9 is not.
Migration guide: https://setuptools.pypa.io/en/latest/history.html
Codemod: none
Files changed: 0; source changed: no
Checks:

  • install: not run (stopped at age check)
  • GitHub checks: green (video harness passes)
    Notes:
  • setuptools 82 removed pkg_resources. The pinned diffusers archive setup.py does not use it. A re-run should still check the reference env imports.
  • reference/README.md still names Accelerate 1.12.0 and installs setuptools==80.9.0 wheel==0.45.1 as build tools. These lines go stale with this PR.
  • evaluator/reference.py compares installed versions with requirements.in, so the bootstrap pins are replaced by uv pip sync and the check still matches.
  • Re-run after 2026-11-11 18:37 UTC.

@SemiKyle

Copy link
Copy Markdown
Collaborator

Major upgrade check (local agent, /major-upgrades)

Result: needs-approval
This re-run replaces the blocked result of 2026-11-10. filelock 4.2.9 is now old enough.
Head: 2cdece7 (no change)
Packages: setuptools 80.9.0 -> 84.1.0 (direct:production), accelerate 1.12.0 -> 1.15.0 (direct:production). The lock also moves wheel 0.45.1 -> 0.48.0 and filelock 4.2.6 -> 4.2.9.
Age check: 7 versions checked, all at least 7 days old (setuptools 84.1.0, accelerate 1.15.0, filelock 4.2.9, wheel 0.48.0, pytest 9.2.0, transformers 5.22.1, huggingface-hub 1.32.0)
Migration guide: https://setuptools.pypa.io/en/latest/history.html (v81 to v84), https://github.com/huggingface/accelerate/releases
Codemod: none
Files changed: 0; source changed: no
Checks:

  • install: pass (video-generation, editable install with dev extra, Python 3.12)
  • resolve: pass. uv pip compile of reference/requirements.in for CPython 3.12 manylinux_2_28 x86_64, with the lock as preferences, gives the same 65 versions. All 69 lock hashes match index hashes.
  • pins: all 13 pins in requirements.in match requirements-linux.txt, so the --check version guard agrees with the lock.
  • build: pass. The pinned diffusers archive (hash matches the lock) builds with setuptools 84.1.0 and wheel 0.48.0 and --no-build-isolation, as the README flow does.
  • compileall: pass
  • tests: PR head 87 passed. PR merged onto current main: 110 passed, 2 failed, 2 collection errors. Main without the PR gives the same failures (timing tests on a Windows host, and tests that need the infx package).
  • lint: n/a (no Python source changed)
  • reference --check: not run. It needs the full torch and CUDA stack.
  • GitHub checks: green
    Notes:
  • setuptools 82 removed pkg_resources. No pkg_resources import in accelerate 1.15.0, transformers 5.22.1, huggingface-hub 1.32.0, torchvision 0.25.0, triton 3.6.0, the diffusers archive, or torch 2.10.0 torch/utils/cpp_extension.py. The evaluator does not import setuptools or accelerate.
  • diffusers setup.py imports only setuptools.Command, find_packages and setup, which setuptools 84 keeps.
  • accelerate 1.13 to 1.15 release notes list no change that touches component CPU offload.
  • The pytest 9.2.0 line in pyproject.toml is already on main, so it is a no-op after merge.
  • reference/README.md still names Accelerate 1.12.0 and the build tool step setuptools==80.9.0 wheel==0.45.1. uv pip sync replaces them with the locked versions, so the flow still works, but the text is stale. The lock header says one hash per package; the 4 updated packages now carry 2 hashes each.
  • Approval needed because the reference environment and its --check did not run on GPU hardware.

@SemiKyle

Copy link
Copy Markdown
Collaborator

Full Linux test of this PR (local agent)

Result: no behavior difference found on CPU. GPU paths are not covered.

Compared: main at e763ea2 against main with this PR merged locally (not pushed). After the merge, only reference/requirements.in and reference/requirements-linux.txt change: accelerate 1.12.0 to 1.15.0, setuptools 80.9.0 to 84.1.0, wheel 0.45.1 to 0.48.0, filelock 4.2.6 to 4.2.9. pyproject.toml on main already has these changes.

Where these files and packages are used

  • Only the manual flow in reference/README.md and evaluator/reference.py read the two files. runtime_identity() checks the pins in requirements.in and records the sha256 of requirements-linux.txt.
  • No workflow, Dockerfile or script installs the reference lock. Test Video Harness installs only av, numpy, pyyaml and pytest. GPU video sweeps run the harness against engine container images.
  • No repo code imports setuptools, pkg_resources, accelerate, wheel or filelock directly. They are reached through diffusers (ComponentsManager.enable_auto_cpu_offload uses accelerate hooks, send_to_device and convert_file_size_to_int for --offload-reserve), transformers, huggingface_hub (filelock), and the --no-build-isolation diffusers build (setuptools, wheel).

Setup
WSL Ubuntu 24.04, CPU only, system Python 3.12.3 (the README asks for 3.12.14). Each reference env was installed with the README steps: uv venv, the build tools, uv pip sync --require-hashes --no-build-isolation, then uv pip check. Torch 2.10.0 was installed as pinned (the CUDA wheel, which runs on CPU). A third env ran the same flow with the new build tool pins installed first.

Step main main + PR
README install, uv pip check pass, 65 packages pass, 65 packages. Only the 4 bumped versions differ
diffusers archive build pass, setuptools 80.9.0 pass, setuptools 84.1.0. All 1125 installed files and METADATA are byte identical
pytest, CI style env 151 passed 151 passed, same test ids
pytest, inside reference env 151 passed 151 passed
ruff check and format pass pass
evaluator.reference --check pass pass. Only the accelerate, setuptools and wheel versions and the lock sha256 differ. Plan sha256, the 21 cases and both 49 update sigma hashes are identical
Version guard, negative cases env with the other tree's pins fails with accelerate: expected .... Missing HF_HUB_OFFLINE fails same
Package build, uv build (setuptools 84.2.1) pass pass. Wheel is byte identical. sdist content is identical
Package build with the env's setuptools, no isolation pass (80.9.0) pass (84.1.0). Same files. Only the WHEEL Generator line differs
Import smoke (repo modules, accelerate, filelock, wheel, diffusers hooks and modular pipelines, huggingface_hub, torch cpp_extension) all ok all ok except pkg_resources, which setuptools 82 removed
CPU end to end generate() selection_complete selection_complete. video.npy, audio.npy and reference.mp4 sha256 are identical

End to end run
The real model snapshot is about 498 GB and main() requires a CUDA device. So the test called evaluator.reference.generate() directly on CPU with the public tiny test checkpoint hf-internal-testing/tiny-minimax-h3-modular-pipe (43 MB, not gated, no token). It used the h3-v2 plan with 124 frames and 50 sigma points (49 updates), a 32x32 canvas, and 2 cases (warmup-only, ceramic-wheel). The offload reserve was 12GB, then 1000GB. torch.cpu has no mem_get_info, so the test supplied a small shim. The accelerate offload hooks and the offload strategy ran 104 times per run. On CPU no model moves between devices. Outputs were video (124, 3, 32, 32) and audio (2, 828). All 6 runs (3 envs, 2 reserves) gave the same hashes.

Differences and risks

  1. pkg_resources is gone in the new env. A scan of every installed package found no import of it.
  2. wheel 0.48.0 depends on packaging. wheel 0.45.1 had no dependencies. The README build tool step installs it unpinned. The README still names setuptools 80.9.0, wheel 0.45.1 and Accelerate 1.12.0. The flow still works because sync replaces them, but the text is stale and should be updated in a follow up.
  3. reference/h3-v2.json records requirements_lock_sha256 0e79ab68..., the lock on main. After merge the lock hash is a2cf50d2.... No code checks this field. quality.py compares only model, generation and fairness, so scoring is not affected. New reference runs will record the new lock hash.
  4. Not covered: model loading on CUDA, real GPU to CPU offload with accelerate 1.15.0, and BF16 GPU kernels.

GPU coverage
No workflow installs this lock. The only GPU path for this stack is the manual README step "Generate on an authorized H100 allocation" (the ceramic-wheel pilot). e2e-tests.yml and Run Sweep run H3 video configs on self-hosted GPU runners, but they use engine images, not this lock.

All installed package versions were at least 7 days old. The youngest was filelock 4.2.9 at 20 days.

@SemiKyle

Copy link
Copy Markdown
Collaborator

GPU check for this bump, following the "Generate on an authorized H100 allocation" step in video-generation/reference/README.md.

Setup: one H100 80GB, BF16, native SDPA, component CPU offload with a 12GB reserve. Case ceramic-wheel from release-v1. Pinned MiniMax-H3 snapshot 42ed227, with every file size and LFS sha256 checked against the Hub manifest. Python 3.12.3 on Ubuntu 24.04, torch 2.10.0 with CUDA 12.8 wheels.

Runs on the same machine:

  • A: main at 18c9ceb.
  • B: main with this PR merged locally.
  • A2: main again, to measure run to run noise.

Both environments were installed offline from the hashed lockfiles. They differ only in accelerate 1.15.0, filelock 4.2.9, setuptools 84.1.0 and wheel 0.48.0. uv pip check passed for both.

Results:

  • All three runs finished with status selection_complete.
  • video.npy, audio.npy and reference.mp4 are byte identical across A, B and A2. Max abs diff is 0 for both arrays.
  • The --check output has the same keys in A and B. Only the accelerate, setuptools and wheel versions and the lock file hash differ, as expected. reference.json differs in the same fields only.
  • Peak CUDA memory allocated was 68.3 GiB in every run. Peak process RSS was 139.6 GiB in every run.
  • Generation took 543.5 s (A), 538.8 s (B) and 543.7 s (A2). Model loading took about 5 s in each run.
  • Warnings are the same in all runs.

This covers CUDA model loading, GPU to CPU offload with accelerate 1.15.0 and the BF16 GPU kernels for this one case. It does not cover the full 20+1 case set.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autopilot:needs-human dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant