pytorch / pytorch/benchmark

pyg_lib module installation not available

Open
#2,516 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1k
Forks
346
PR merge metrics
No merged PRs in 30d

Description

Canary models sage, gcn and gat attempt to install the pyg_lib module during their installation process but their requirements files do not include the link for the custom wheel which is needed as noted in the pyg-lib module’s README, or hard code to torch-2.1.0+cpu, which makes them fail for other versions.

This causes the following error:

$ python benchmark/install.py sage --canary -v
checking packages numpy, torch, torchvision, torchaudio are installed, generating constaints...OK
running setup for /home/user/benchmark/torchbenchmark/canary_models/sage...decompressing input tarball: /home/user/benchmark/torchbenchmark/data/Reddit_minimal.tar.gz...OK
Looking in indexes: ...api/pypi/pypi-virtual/simple, https://pypi.python.org/simple/ 
ERROR: Could not find a version that satisfies the requirement pyg_lib (from versions: none)
ERROR: No matching distribution found for pyg_lib

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the requirements files for the canary models sage, gcn, and gat, then trace the installation path invoked by benchmark/install.py. Compare the dependency setup with the pyg-lib README and reproduce the failing command. Done means these models install without requiring an unavailable wheel or hard-coding torch-2.1.0+cpu.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.