You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you do not have pytorch installed, please [install it](https://pytorch.org/get-started/locally/) first.
@@ -51,7 +51,7 @@ For a light-weight, web-based experience, we provide the configuration ([.devcon
51
51
52
52
### Tools
53
53
#### Pre-commit
54
-
This project uses [pre-commit](https://pre-commit.com/) hooks. Run `pip install pre-commit` if you don't already have this in your machine. Afterward, run `pre-commit install` to install pre-commit into your git hooks.
54
+
This project uses [pre-commit](https://pre-commit.com/) hooks. Run `python -m pip install pre-commit` if you don't already have this in your machine. Afterward, run `pre-commit install` to install pre-commit into your git hooks.
55
55
56
56
And before you commit, you can run it like this `pre-commit run --all-files` and should see output such as:
For coverage, we use [coverage.py](https://coverage.readthedocs.io/en/coverage-5.0.4/) in our Github Actions. Run `pip install coverage` if you don't already have this, and any code you commit should generally not significantly impact coverage.
87
+
For coverage, we use [coverage.py](https://coverage.readthedocs.io/en/coverage-5.0.4/) in our Github Actions. Run `python -m pip install coverage` if you don't already have this, and any code you commit should generally not significantly impact coverage.
88
88
89
89
We strive to not let check-ins decrease coverage. To run all unit tests:
Copy file name to clipboardexpand all lines: TROUBLESHOOTING.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
### Running PyTorch on GPU:
4
4
5
-
In order to run Hummingbird on PyTorch with GPU, you will need to `pip uninstall torch` and re-install pytorch using the CUDA version of your machine.
5
+
In order to run Hummingbird on PyTorch with GPU, you will need to `python -m pip uninstall torch` and re-install pytorch using the CUDA version of your machine.
0 commit comments