Skip to content

Commit

Permalink
update install inst
Browse files Browse the repository at this point in the history
  • Loading branch information
calad0i committed Nov 27, 2023
1 parent 24c1e2b commit f5a2289
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/install.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Installation

~~`pip install HGQ`, and you are good to go.~~ (v0.2 is not released on PyPI yet. The current version on PyPI is v0.1.)

`pip install git+https://github.com/calad0i/HGQ` to install the latest version from github.
Use `pip install --pre HGQ` to install the latest version from PyPI. You will need a environment with `python==3.11` installed.

```{warning}
This framework requires an **unmerged** [PR](https://github.com/fastmachinelearning/hls4ml/pull/914) of hls4ml. Please install it by running `pip install "git+https://github.com/calad0i/hls4ml@HGQ-integration"`. Or, conversion will fail with unsupported layer error.
Expand All @@ -13,5 +11,11 @@ The current varsion requires an **unmerged** version of hls4ml. Please install i
```

```{warning}
HGQ requires `python3.10/3.11` and `tensorflow==2.13`. Please make sure that you have the correct version of python and tensorflow installed.
HGQ v0.2 requires `python3.10/3.11` and `tensorflow==2.13`. Please make sure that you have the correct version of python and tensorflow installed.
```

If you want to use the legency v0.1 version, please run `pip install HGQ "tensorflow==2.11" "numpy>=1.23"` to install it from PyPI. You will need a environment with `python==3.10` installed.

```{warning}
Due to broken dependency declaration, you will need to specify the version of tensorflow manually. Otherwise, there will likely to be version conflicts.
```

0 comments on commit f5a2289

Please sign in to comment.