Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMD install fails with an issue #732

Open
4 tasks done
kanglinyao opened this issue Jan 18, 2025 · 1 comment
Open
4 tasks done

AMD install fails with an issue #732

kanglinyao opened this issue Jan 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@kanglinyao
Copy link

Checks

  • This template is only for bug reports, usage problems go with 'Help Wanted'.
  • I have thoroughly reviewed the project documentation but couldn't find information to solve my problem.
  • I have searched for existing issues, including closed ones, and couldn't find a solution.
  • I confirm that I am using English to submit this report in order to facilitate communication.

Environment Details

Windows 11 cmd
miniconda
AMD GPU Vega64

Steps to Reproduce

(base) D:\f5tts>conda create -n f5-tts python=3.10
Channels:

  • defaults
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: done

Package Plan

environment location: C:\ProgramData\miniconda3\envs\f5-tts

added / updated specs:
- python=3.10

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
ca-certificates-2024.12.31 |       haa95532_0         129 KB
pip-24.2                   |  py310haa95532_0         2.5 MB
python-3.10.16             |       h4607a30_1        16.3 MB
setuptools-75.1.0          |  py310haa95532_0         1.6 MB
wheel-0.44.0               |  py310haa95532_0         138 KB
------------------------------------------------------------
                                       Total:        20.6 MB

The following NEW packages will be INSTALLED:

bzip2 pkgs/main/win-64::bzip2-1.0.8-h2bbff1b_6
ca-certificates pkgs/main/win-64::ca-certificates-2024.12.31-haa95532_0
libffi pkgs/main/win-64::libffi-3.4.4-hd77b12b_1
openssl pkgs/main/win-64::openssl-3.0.15-h827c3e9_0
pip pkgs/main/win-64::pip-24.2-py310haa95532_0
python pkgs/main/win-64::python-3.10.16-h4607a30_1
setuptools pkgs/main/win-64::setuptools-75.1.0-py310haa95532_0
sqlite pkgs/main/win-64::sqlite-3.45.3-h2bbff1b_0
tk pkgs/main/win-64::tk-8.6.14-h0416ee5_0
tzdata pkgs/main/noarch::tzdata-2024b-h04d1e81_0
vc pkgs/main/win-64::vc-14.40-haa95532_2
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.42.34433-h9531ae6_2
wheel pkgs/main/win-64::wheel-0.44.0-py310haa95532_0
xz pkgs/main/win-64::xz-5.4.6-h8cc25b3_1
zlib pkgs/main/win-64::zlib-1.2.13-h8cc25b3_1

Proceed ([y]/n)? y

Downloading and Extracting Packages:

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

To activate this environment, use

$ conda activate f5-tts

To deactivate an active environment, use

$ conda deactivate

(base) D:\f5tts>conda activate f5-tts

(f5-tts) D:\f5tts>pip install torch==2.5.1+rocm6.2 torchaudio==2.5.1+rocm6.2 --extra-index-url https://download.pytorch.org/whl/rocm6.2
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/rocm6.2
ERROR: Could not find a version that satisfies the requirement torch==2.5.1+rocm6.2 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1)
ERROR: No matching distribution found for torch==2.5.1+rocm6.2

✔️ Expected Behavior

pip install torch==2.5.1+rocm6.2 torchaudio==2.5.1+rocm6.2 --extra-index-url https://download.pytorch.org/whl/rocm6.2
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/rocm6.2
ERROR: Could not find a version that satisfies the requirement torch==2.5.1+rocm6.2 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1)
ERROR: No matching distribution found for torch==2.5.1+rocm6.2

❌ Actual Behavior

install cannot continue

@kanglinyao kanglinyao added the bug Something isn't working label Jan 18, 2025
@ZhikangNiu
Copy link
Collaborator

Check https://pytorch.org/get-started/previous-versions/#linux-and-windows-1

The AMD GPU pytorch only support Linux, not support Windows

ROCM 6.1 (Linux only)

pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/rocm6.1

ROCM 6.2 (Linux only)

pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/rocm6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants