graphcore / ogb-lsc-pcqm4mv2

The OGB-LSC is the Large Scale Competition by Open Graph Benchmark to help accelerate research into machine learning on graph structured data
MIT License
69 stars 14 forks source link

Installation error #9

Open almog2065 opened 1 year ago

almog2065 commented 1 year ago

While trying to run the training file, I did all the installations the required, except the last one of pip install -r requirements.txt. I opened the txt file and saw that the installation of git+https://github.com/graphcore/examples-utils@6d3b8367d5c6d2cda5a0e7849138d0ee8a8c6756#egg=examples-utils is the problematic one. The error seems to be related to the pyproject.toml configuration in the repository. I add the last part of the error:

File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 355, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=['wheel']) File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 325, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 507, in run_setup super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script) File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in run_setup exec(code, locals()) File "", line 32, in File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/init.py", line 107, in setup return distutils.core.setup(**attrs) File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 159, in setup dist.parse_config_files() File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/dist.py", line 899, in parse_config_files pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 66, in apply_configuration config = read_configuration(filepath, True, ignore_option_errors, dist) File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 127, in read_configuration validate(subset, filepath) File "/tmp/pip-build-env-m2ci3qq4/overlay/lib/python3.8/site-packages/setuptools/config/pyprojecttoml.py", line 55, in validate raise ValueError(f"{error}\n{summary}") from None ValueError: invalid pyproject.toml config: project. configuration error: project must contain ['version'] properties [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

adamjsanders277 commented 1 year ago

Hello, thanks for reaching out with this issue.

I have had a look and it seems the examples-utils package is only used for testing so you may have success by ignoring that package altogether. If you find you do require it perhaps you could try installing the latest release of examples-utils: pip install 'examples-utils[benchmark] @ git+https://github.com/graphcore/examples-utils@v3.4'

Also its worth noting that this model is built to be run on Graphcore IPUs which you can access on Paperspace. This will create your environment for you and hopefully means that you won’t see this issue. You can follow this link to start this application in Paperspace if you wish to run it this way: https://ipu.dev/3CGjC5E.