Skip to content

PyTorch Compatibility Issues Across GIMP Versions (Python 2.7, 3.11.8, 3.12.9) #79

@Inderjeetdev

Description

@Inderjeetdev

Describe the bug
GIMP-ML fails to install due to PyTorch compatibility issues across multiple GIMP versions. PyTorch wheels are unavailable for Python 2.7 (GIMP 2.10.38), Python 3.11.8 (GIMP 2.99.18), and Python 3.12.9 (GIMP 3.0.0) on Windows, making the plugin unusable for upscaling tasks.

To Reproduce
Steps to reproduce the behavior:

Clone the GIMP-ML repository: git clone https://github.com/kritiksoman/GIMP-ML.git.
Install GIMP (tried versions 2.10.38, 2.99.18, 3.0.0 from download.gimp.org).
For GIMP 2.10.38 (Python 2.7.18):
Run: D:\Gimp2\bin\python.exe -m pip install torch==1.2.0 torchvision==0.4.0 -f https://download.pytorch.org/whl/torch_stable.html.
See error: ERROR: No matching distribution found for torch==1.2.0.
For GIMP 2.99.18 (Python 3.11.8):
Run: D:\Gimp299\bin\python.exe -m pip install torch==2.1.0 torchvision==0.16.0 --index-url https://download.pytorch.org/whl/cpu.
See error: ERROR: No matching distribution found for torch==2.1.0.
For GIMP 3.0.0 (Python 3.12.9):
Run: D:\Gimp\bin\python.exe -m pip install torch==2.3.1 --index-url https://download.pytorch.org/whl/cpu --break-system-packages.
See error: ERROR: No matching distribution found for torch==2.3.1.

Screenshots
Not applicable—errors are command-line outputs (included above).

Desktop:
OS Version: Windows 10 (Version 10.0.26100.3476)
GIMP Versions Tested: 2.10.38, 2.99.18, 3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions