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

docs: improve installation instructions #452

Merged

Conversation

DaniBodor
Copy link
Collaborator

@DaniBodor DaniBodor commented Jun 27, 2023

Added some more details to installation instructions. This is mainly stuff that could go wrong for super fresh systems.

I made the PR point to #432, since you also made changes to README there, plus I am referring to the tutorials.

closes: #451 and #450

This was linked to issues Jun 27, 2023
@DaniBodor DaniBodor requested a review from gcroci2 June 27, 2023 11:21
Copy link
Collaborator

@gcroci2 gcroci2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice additions and improvements :) I added very minor comments

README.md Show resolved Hide resolved
README.md Outdated
## Documentation
## Test installation

To check that all components were installed correctly, run either of the following commands and ensure that all tests pass.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is possible if the user has cloned the repo only, otherwise, there will be no tests/ folder. I'd just move this paragraph below the installation using the cloned repo. Also theoretically if the user installs the package from the version deployed on pypi he/she shouldn't care about testing that the package works (because it should); I know I specified the testing part in the tutorials but indeed I was a bit uncertain about that

- `python -c "import torch; print(torch.version.cuda)"`
- if this returns `None`, use `cpu` instead
- For example: `https://data.pyg.org/whl/torch-2.0.0+cpu.html`
* Check if gcc is installed: `gcc --version`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as for the readme, in case you need to add info just to the same here


## Test installation

To check that all components were installed correctly, run either of the following commands and ensure that all tests pass.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as for the readme, in case you need to add info just to the same here

@DaniBodor DaniBodor merged commit a98b8fe into 432_add_tutorials_ppi_gcroci2 Jul 5, 2023
@DaniBodor DaniBodor deleted the 451_installinstructions_dbodor branch July 5, 2023 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve installation instructions Fix colliding paths
2 participants