Skip to content

Commit cbf9dc7

Browse files
authored
Merge pull request #530 from datamol-io/remove_ipu
Remove IPU (again)
2 parents 75df01a + f87ee26 commit cbf9dc7

File tree

114 files changed

+759
-4263
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+759
-4263
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.09", "3.10", "3.11"]
20-
pytorch-version: ["2.0"]
19+
include:
20+
- python-version: "3.10"
21+
pytorch-version: "2.0"
22+
- python-version: "3.11"
23+
pytorch-version: "2.0"
24+
- python-version: "3.12"
25+
pytorch-version: "2.3"
2126

2227
runs-on: "ubuntu-latest"
2328
timeout-minutes: 30
@@ -55,9 +60,6 @@ jobs:
5560
- name: Install C++ library
5661
run: cd graphium/graphium_cpp && git clone https://github.com/pybind/pybind11.git && export PYTHONPATH=$PYTHONPATH:./pybind11 && python -m pip install . && cd ../..
5762

58-
- name: Run tests
59-
run: pytest -m 'not ipu'
60-
6163
- name: Test CLI
6264
run: graphium --help
6365

.github/workflows/test_ipu.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,6 @@ debug/
5555
change_commits.sh
5656
graphium/features/test_new_pes.ipynb
5757

58-
# IPU related ignores and profiler outputs
59-
*.a
60-
*.cbor
61-
*.capnp
62-
*.pop
63-
*.popart
64-
*.pop_cache
65-
*.popef
66-
*.pvti*
6758

6859
############ END graphium Custom GitIgnore ##############
6960

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
[![GitHub Repo stars](https://img.shields.io/github/stars/datamol-io/graphium)](https://github.com/datamol-io/graphium/stargazers)
1414
[![GitHub Repo stars](https://img.shields.io/github/forks/datamol-io/graphium)](https://github.com/datamol-io/graphium/network/members)
1515
[![test](https://github.com/datamol-io/graphium/actions/workflows/test.yml/badge.svg)](https://github.com/datamol-io/graphium/actions/workflows/test.yml)
16-
[![test-ipu](https://github.com/datamol-io/graphium/actions/workflows/test_ipu.yml/badge.svg)](https://github.com/datamol-io/graphium/actions/workflows/test_ipu.yml)
1716
[![release](https://github.com/datamol-io/graphium/actions/workflows/release.yml/badge.svg)](https://github.com/datamol-io/graphium/actions/workflows/release.yml)
1817
[![code-check](https://github.com/datamol-io/graphium/actions/workflows/code-check.yml/badge.svg)](https://github.com/datamol-io/graphium/actions/workflows/code-check.yml)
1918
[![doc](https://github.com/datamol-io/graphium/actions/workflows/doc.yml/badge.svg)](https://github.com/datamol-io/graphium/actions/workflows/doc.yml)
@@ -53,18 +52,6 @@ mamba activate graphium
5352
pip install --no-deps -e .
5453
```
5554

56-
### For IPU developers
57-
```bash
58-
# Install Graphcore's SDK and Graphium dependencies in a new environment called `.graphium_ipu`
59-
./install_ipu.sh .graphium_ipu
60-
```
61-
62-
The above step needs to be done once. After that, enable the SDK and the environment as follows:
63-
64-
```bash
65-
source enable_ipu.sh .graphium_ipu
66-
```
67-
6855
## Training a model
6956

7057
To learn how to train a model, we invite you to look at the documentation, or the jupyter notebooks available [here](https://github.com/datamol-io/graphium/tree/master/docs/tutorials/model_training).

codecov.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,3 @@ component_management:
1616
target: auto
1717
branches:
1818
- "!main"
19-
individual_components:
20-
- component_id: ipu # this is an identifier that should not be changed
21-
name: ipu # this is a display name, and can be changed freely
22-
paths:
23-
- graphium/ipu/**

docs/api/graphium.ipu.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

docs/contribute.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,6 @@ mamba activate graphium
1818
pip install --no-deps -e .
1919
```
2020

21-
### For IPU developers
22-
23-
Download the SDK and use pypi to create your environment:
24-
25-
```bash
26-
# Install Graphcore's SDK and Graphium dependencies in a new environment called `.graphium_ipu`
27-
./install_ipu.sh .graphium_ipu
28-
```
29-
30-
The above step needs to be done once. After that, enable the SDK and the environment as follows:
31-
32-
```bash
33-
source enable_ipu.sh .graphium_ipu
34-
```
35-
3621
## Build the documentation
3722

3823
You can build and serve the documentation locally with:

docs/design.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Below are a list of directory and their respective documentations:
4242
- [data](https://github.com/datamol-io/graphium/blob/main/graphium/data/README.md)
4343
- [features](https://github.com/datamol-io/graphium/tree/main/graphium/features/README.md)
4444
- finetuning
45-
- [ipu](https://github.com/datamol-io/graphium/tree/main/graphium/ipu/README.md)
4645
- [nn](https://github.com/datamol-io/graphium/tree/main/graphium/nn/README.md)
4746
- [trainer](https://github.com/datamol-io/graphium/tree/main/graphium/trainer/README.md)
4847
- [utils](https://github.com/datamol-io/graphium/tree/main/graphium/features/README.md)
@@ -56,7 +55,7 @@ Hence, we use [hydra](https://hydra.cc/docs/intro/) to enable splitting the conf
5655

5756
Examples of possibilities include:
5857

59-
- Switching between accelerators (CPU, GPU and IPU)
58+
- Switching between accelerators (CPU, GPU)
6059
- Benchmarking different models on the same dataset
6160
- Fine-tuning a pre-trained model on a new dataset
6261

docs/index.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,6 @@ or pip:
2525
pip install graphium
2626
```
2727

28-
### For IPU
29-
```bash
30-
# Install Graphcore's SDK and Graphium dependencies in a new environment called `.graphium_ipu`
31-
./install_ipu.sh .graphium_ipu
32-
```
33-
34-
The above step needs to be done once. After that, enable the SDK and the environment as follows:
35-
36-
```bash
37-
source enable_ipu.sh .graphium_ipu
38-
```
3928

4029
Finally, you will need to install graphium with pip
4130
```bash

docs/tutorials/feature_processing/timing_parallel.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@
476476
],
477477
"metadata": {
478478
"kernelspec": {
479-
"display_name": "graphium_ipu",
479+
"display_name": "graphium",
480480
"language": "python",
481481
"name": "python3"
482482
},

0 commit comments

Comments
 (0)