Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Base installation currently pulls
entropack>=0.1.7, which requirestorch>=2.10. That conflicts with preinstalled MUSA torch 2.7.1 / 2.9.1 stacks: preserving the vendor torch version prevents resolution, while allowing replacement can lose the intended MUSA build.Applicability and scope
This PR addresses dependency installation compatibility for an existing MUSA environment. Users must first obtain matching
torch,torch_musa, andtorchvisionbuilds from their vendor image or distribution. This PR does not install the MUSA runtime/driver or establish compatibility for all optional packages.This is an installation prerequisite for basic MUSA use. Runtime device adaptation is prepared separately on
arcing-mt:fix/musa-runtime-compat; together these changes remain a minimal foundation for MUSA execution, rather than full support for every model or training configuration.Changes — 3 files
pyproject.toml: moveentropack>=0.1.7from base dependencies into bothquantandallextras.Pipeline_Usage/Setup.md: place the MUSA section after Ascend NPU, describe reuse of the preinstalled framework stack, and explain version constraints/dry-run checks for audio and training extras.Effect on other environments
Making EntroPack optional changes base installation on all platforms, including CUDA. Users of examples that select
entropack_*methods must install the matching backend explicitly, or use the applicable quantization extra. Those extras still retain EntroPack'storch>=2.10requirement and are unsuitable for the older MUSA torch stacks discussed here.The patch contains no device-runtime or model-code changes and does not guarantee that arbitrary future dependency versions or all extras preserve an installed vendor framework.
Validation and limits
In the existing torch 2.7.1.post1 MUSA environment,
pip install --dry-run --no-build-isolation -e .resolved successfully. The report proposed onlydiffsynth 2.2.3and the missingftfy 6.3.1, with no replacement of torch or other installed packages. No packages were installed during validation.Dependency metadata, the MUSA section order in both languages, and
git diff --checkpassed. The torch 2.9.1 conflict follows from the dependency requirements and prior environment records; this revision was not installation-tested in that separate environment. Quantization functionality and every optional-extra combination were not validated.Based directly on upstream
mainatfc8b4be5, independently of the runtime adaptation branch.Related independent PR: #1837