Skip to content

Commit

Permalink
doc updates, workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewq11 committed Nov 7, 2024
1 parent 4d16e29 commit 6d193b4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Install library
run: |
python -m pip install --no-deps .
python -m pip install --no-deps --no-build-isolation .
pip install typer-cli
- name: Configure git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
git push origin "${{ inputs.release-version }}"
- name: Install library
run: python -m pip install --no-deps .
run: python -m pip install --no-deps --no-build-isolation .

- name: Build the wheel and sdist
run: python -m build --no-isolation
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
pytorch=${{ matrix.pytorch-version }}
- name: Install library
run: python -m pip install --no-deps -e . # `-e` required for correct `coverage` run.
run: python -m pip install --no-deps --no-build-isolation -e . # `-e` required for correct `coverage` run.

- name: Install test dependencies
run: micromamba install -c conda-forge pytdc # Required to run the `test_finetuning.py`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ mamba env create -f env.yml -n graphium
# To force the CUDA version to 11.2, or any other version you prefer, use the following command:
# CONDA_OVERRIDE_CUDA=11.2 mamba env create -f env.yml -n graphium

# Activate the mamba environment containing graphium's dependencies
# Activate the mamba environment containing Graphium's dependencies
mamba activate graphium

# Install Graphium in dev mode
Expand Down
7 changes: 5 additions & 2 deletions docs/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ Use [`mamba`](https://github.com/mamba-org/mamba), a preferred alternative to co
# Install Graphium's dependencies in a new environment named `graphium`
mamba env create -f env.yml -n graphium

# Install Graphium in dev mode
# Activate the mamba environment containing graphium's dependencies
mamba activate graphium
pip install --no-deps -e .

# Install Graphium in dev mode
pip install --no-deps --no-build-isolation -e .
```

## Build the documentation
Expand All @@ -24,5 +26,6 @@ You can build and serve the documentation locally with:

```bash
# Build and serve the doc
doxygen Doxyfile
mkdocs serve
```
6 changes: 3 additions & 3 deletions graphium/graphium_cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ mamba install graphium -c conda-forge
## Installation for developers
To install `graphium_cpp` (and `graphium`) locally, refer to these steps:
```
# Install graphium's dependencies in a new environment named `graphium`
# Install Graphium's dependencies in a new environment named `graphium`
mamba env create -f env.yml -n graphium
# To force the CUDA version to 11.2, or any other version you prefer, use the following command:
# CONDA_OVERRIDE_CUDA=11.2 mamba env create -f env.yml -n graphium
# Activate the mamba environment containing graphium's dependencies
# Activate the mamba environment containing Graphium's dependencies
mamba activate graphium
# Install graphium in dev mode
# Install Graphium in dev mode
pip install --no-deps --no-build-isolation -e .
# On every change to graphium_cpp code, reinstall the package
Expand Down

0 comments on commit 6d193b4

Please sign in to comment.