已合并
fix: fix dependency library description #2787
htwang创建于 7月7日
fix: fix dependency library description #2787
已合并
共 13 个文件变更+70-82
| @@ -1,75 +1,75 @@ | |||
| 1 | # formatting | 1 | # formatting |
| 2 | -yapf==0.32.0 | 2 | +yapf |
| 3 | -toml==0.10.2 | 3 | +toml |
| 4 | -tomli==2.0.2 | 4 | +tomli |
| 5 | -ruff==0.6.5 | 5 | +ruff |
| 6 | -codespell==2.3.0 | 6 | +codespell |
| 7 | -isort==5.13.2 | 7 | +isort |
| 8 | -sphinx-lint==1.0.0 | 8 | +sphinx-lint |
| 9 | torch==2.7.1 | 9 | torch==2.7.1 |
| 10 | 10 | ||
| 11 | -ml-collections==1.1.0 | 11 | +ml-collections |
| 12 | -absl-py==2.3.1 | 12 | +absl-py |
| 13 | -inflect==6.0.4 | 13 | +inflect |
| 14 | -pydantic==2.9.2 | 14 | +pydantic |
| 15 | -protobuf==5.29.5 | 15 | +protobuf |
| 16 | -packaging==25.0 | 16 | +packaging |
| 17 | -ninja==1.11.1.4 | 17 | +ninja |
| 18 | -trl==0.19.1 | 18 | +trl |
| 19 | 19 | ||
| 20 | -accelerate==1.9.0 | 20 | +accelerate |
| 21 | -bitsandbytes==0.46.1 | 21 | +bitsandbytes |
| 22 | -transformers==4.54.0 | 22 | +transformers==4.57.0 |
| 23 | -tokenizers==0.21.2 | 23 | +tokenizers |
| 24 | -albumentations==1.4.20 | 24 | +albumentations |
| 25 | -av==13.1.0 | 25 | +av |
| 26 | -einops==0.8.0 | 26 | +einops |
| 27 | -gdown==5.2.0 | 27 | +gdown |
| 28 | -h5py==3.12.1 | 28 | +h5py |
| 29 | -idna==3.7 | 29 | +idna |
| 30 | -imageio==2.36.0 | 30 | +imageio |
| 31 | -matplotlib==3.9.2 | 31 | +matplotlib |
| 32 | numpy==1.26.3 | 32 | numpy==1.26.3 |
| 33 | -omegaconf==2.3.0 | 33 | +omegaconf |
| 34 | -opencv-python==4.10.0.84 | 34 | +opencv-python |
| 35 | -opencv-python-headless==4.10.0.84 | 35 | +opencv-python-headless |
| 36 | -pandas==2.2.3 | 36 | +pandas |
| 37 | -pillow==10.3.0 | 37 | +pillow |
| 38 | -pydub==0.25.1 | 38 | +pydub |
| 39 | -pytorch-lightning==2.4.0 | 39 | +pytorch-lightning |
| 40 | -pytorchvideo==0.1.5 | 40 | +pytorchvideo |
| 41 | -PyYAML==6.0.1 | 41 | +PyYAML |
| 42 | -regex==2024.9.11 | 42 | +regex |
| 43 | requests | 43 | requests |
| 44 | -scikit-learn==1.5.2 | 44 | +scikit-learn |
| 45 | -scipy==1.13.0 | 45 | +scipy |
| 46 | -six==1.16.0 | 46 | +six |
| 47 | -test-tube==0.7.5 | 47 | +test-tube |
| 48 | -timm==1.0.11 | 48 | +timm |
| 49 | -torchdiffeq==0.2.4 | 49 | +torchdiffeq |
| 50 | -torchmetrics==1.5.1 | 50 | +torchmetrics |
| 51 | -tqdm==4.66.5 | 51 | +tqdm |
| 52 | -urllib3==2.6.3 | 52 | +urllib3 |
| 53 | -uvicorn==0.32.0 | 53 | +uvicorn |
| 54 | -scikit-video==1.1.11 | 54 | +scikit-video |
| 55 | -imageio-ffmpeg==0.5.1 | 55 | +imageio-ffmpeg |
| 56 | -sentencepiece==0.2.1 | 56 | +sentencepiece |
| 57 | -beautifulsoup4==4.12.3 | 57 | +beautifulsoup4 |
| 58 | -ftfy==6.3.0 | 58 | +ftfy |
| 59 | -moviepy==1.0.3 | 59 | +moviepy |
| 60 | -wandb==0.18.5 | 60 | +wandb |
| 61 | -pydantic==2.9.2 | 61 | +pydantic |
| 62 | -watch==0.2.7 | 62 | +watch |
| 63 | -gpustat==1.1.1 | 63 | +gpustat |
| 64 | -peft | 64 | +peft>=0.17.0 |
| 65 | -einops==0.8.0 | 65 | +einops |
| 66 | -wheel==0.44.0 | 66 | +wheel |
| 67 | -loguru==0.7.3 | 67 | +loguru |
| 68 | -diffusers | 68 | +diffusers>=0.38.0 |
| 69 | 69 | ||
| 70 | 70 | ||
| 71 | # type checking | 71 | # type checking |
| 72 | -mypy==1.11.1 | 72 | +mypy |
| 73 | types-PyYAML | 73 | types-PyYAML |
| 74 | types-requests | 74 | types-requests |
| 75 | types-setuptools | 75 | types-setuptools |
| @@ -76,6 +76,7 @@ Qwen Image Edit 是基于 Qwen Image 基础模型扩展的图像编辑功能, | |||
| 76 | 76 | ||
| 77 | ```shell | 77 | ```shell |
| 78 | pip install -e . | 78 | pip install -e . |
| 79 | + pip install transformers==4.57.1 | ||
| 79 | pip install -r requirements.txt # 安装对应依赖 | 80 | pip install -r requirements.txt # 安装对应依赖 |
| 80 | ``` | 81 | ``` |
| 81 | 82 | ||
| @@ -1,5 +1,5 @@ | |||
| 1 | accelerate==1.10.1 | 1 | accelerate==1.10.1 |
| 2 | -attrs==23.1.0 | 2 | +attrs |
| 3 | decorator==5.2.1 | 3 | decorator==5.2.1 |
| 4 | deepspeed==0.18.0 | 4 | deepspeed==0.18.0 |
| 5 | Jinja2 | 5 | Jinja2 |
| @@ -7,7 +7,6 @@ ninja | |||
| 7 | scipy==1.15.3 | 7 | scipy==1.15.3 |
| 8 | torch==2.7.1 | 8 | torch==2.7.1 |
| 9 | torchvision==0.22.1 | 9 | torchvision==0.22.1 |
| 10 | -transformers==4.57.1 | ||
| 11 | imageio | 10 | imageio |
| 12 | imageio[ffmpeg] | 11 | imageio[ffmpeg] |
| 13 | safetensors | 12 | safetensors |
| @@ -82,6 +82,7 @@ Qwen Image是基于 MMDiT 扩散骨干与 Qwen2.5-VL 文本编码器构建的多 | |||
| 82 | 82 | ||
| 83 | ```shell | 83 | ```shell |
| 84 | pip install -e . | 84 | pip install -e . |
| 85 | + pip install transformers==4.56.1 | ||
| 85 | pip install -r examples/dreambooth/requirements_qwen_image.txt # 安装对应依赖 | 86 | pip install -r examples/dreambooth/requirements_qwen_image.txt # 安装对应依赖 |
| 86 | ``` | 87 | ``` |
| 87 | 88 | ||
| @@ -1,7 +1,6 @@ | |||
| 1 | accelerate==1.10.0 | 1 | accelerate==1.10.0 |
| 2 | torchvision | 2 | torchvision |
| 3 | torch==2.7.1 | 3 | torch==2.7.1 |
| 4 | -transformers==4.56.1 | ||
| 5 | ftfy | 4 | ftfy |
| 6 | tensorboard | 5 | tensorboard |
| 7 | Jinja2 | 6 | Jinja2 |
| @@ -67,7 +67,7 @@ cd MindSpeed-MM | |||
| 67 | 执行如下指令: | 67 | 执行如下指令: |
| 68 | 68 | ||
| 69 | ```bash | 69 | ```bash |
| 70 | -bash scripts/install.sh --megatron --msid 96bc0a3bf3398bf45ac26e0bded95ee174ac449b && pip install -r examples/hunyuanvideo_1.5/requirements.txt | 70 | +bash scripts/install.sh --megatron --msid 96bc0a3bf3398bf45ac26e0bded95ee174ac449b && pip install transformers==4.57.1 && pip install -r examples/hunyuanvideo_1.5/requirements.txt |
| 71 | ``` | 71 | ``` |
| 72 | 72 | ||
| 73 | ### 3. Decord搭建 | 73 | ### 3. Decord搭建 |
| @@ -13,7 +13,6 @@ omegaconf>=2.3.0 | |||
| 13 | safetensors>=0.5.3 | 13 | safetensors>=0.5.3 |
| 14 | qwen-vl-utils==0.0.8 | 14 | qwen-vl-utils==0.0.8 |
| 15 | huggingface-hub==0.34.0 | 15 | huggingface-hub==0.34.0 |
| 16 | -transformers==4.57.1 | ||
| 17 | huggingface_hub[cli] | 16 | huggingface_hub[cli] |
| 18 | wheel | 17 | wheel |
| 19 | psutil | 18 | psutil |
| @@ -64,7 +64,7 @@ cd MindSpeed-MM | |||
| 64 | 执行如下指令一键安装: | 64 | 执行如下指令一键安装: |
| 65 | 65 | ||
| 66 | ```bash | 66 | ```bash |
| 67 | -bash scripts/install.sh --msid eb10b92 && bash examples/mimov2_5/install_extensions.sh | 67 | +bash scripts/install.sh --msid eb10b92 && pip install transformers==5.2.0 accelerate==1.2.0 |
| 68 | ``` | 68 | ``` |
| 69 | 69 | ||
| 70 | --- | 70 | --- |
| @@ -1,2 +0,0 @@ | |||
| 1 | -pip install transformers==5.2.0 | ||
| 2 | -pip install accelerate==1.2.0 | ||
| @@ -68,6 +68,7 @@ cd ../MindSpeed-MM | |||
| 68 | pip install -e . | 68 | pip install -e . |
| 69 | 69 | ||
| 70 | # 安装其它依赖 | 70 | # 安装其它依赖 |
| 71 | +pip install transformers==5.9.0 | ||
| 71 | pip install -r examples/moss_tts/requirements.txt | 72 | pip install -r examples/moss_tts/requirements.txt |
| 72 | ``` | 73 | ``` |
| 73 | 74 | ||
| @@ -1,18 +1,8 @@ | |||
| 1 | -transformers==5.9.0 | ||
| 2 | torchaudio==2.7.1 | 1 | torchaudio==2.7.1 |
| 3 | librosa | 2 | librosa |
| 4 | soundfile | 3 | soundfile |
| 5 | safetensors | 4 | safetensors |
| 6 | sox | 5 | sox |
| 7 | gradio | 6 | gradio |
| 8 | -einops | ||
| 9 | -orjson | ||
| 10 | -tqdm | ||
| 11 | -PyYAML | ||
| 12 | -scipy | ||
| 13 | tiktoken | 7 | tiktoken |
| 14 | -psutil | ||
| 15 | packaging | 8 | packaging |
| 16 | -ninja | ||
| 17 | -setuptools | ||
| 18 | -wheel | ||
| @@ -66,6 +66,7 @@ cd ../MindSpeed-MM | |||
| 66 | pip install -e . | 66 | pip install -e . |
| 67 | 67 | ||
| 68 | # 安装其它依赖 | 68 | # 安装其它依赖 |
| 69 | +pip install transformers==4.57.3 | ||
| 69 | pip install -r examples/qwen3tts/requirements.txt | 70 | pip install -r examples/qwen3tts/requirements.txt |
| 70 | ``` | 71 | ``` |
| 71 | 72 | ||
| @@ -1,4 +1,3 @@ | |||
| 1 | -transformers==4.57.3 | ||
| 2 | torchaudio==2.7.1 | 1 | torchaudio==2.7.1 |
| 3 | librosa | 2 | librosa |
| 4 | soundfile | 3 | soundfile |