Skip to content

Commit

Permalink
hls4ml 0.8.0 (#65)
Browse files Browse the repository at this point in the history
* Update deploy.yml

* Update environment.yml

* Update Dockerfile

* Update Dockerfile.vivado

* Update Dockerfile

* Update environment.yml
  • Loading branch information
jmduarte committed Nov 17, 2023
1 parent dd18adb commit 7258015
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-version: latest
use-mamba: true
channels: conda-forge
activate-environment: hls4ml-tutorial
environment-file: environment.yml
python-version: 3.10.10
Expand Down
13 changes: 11 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
FROM jupyter/tensorflow-notebook:tensorflow-2.11.1

# Install curl
USER root
RUN apt-get update -y && \
apt-get install --no-install-recommends -y \
curl \
libtinfo5 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install hls4ml and dependencies
USER ${NB_USER}
RUN mamba install -y -c conda-forge \
graphviz==7.1.0 \
pydot==1.4.2 \
tensorflow-datasets==4.8.3 \
jupyter-book==0.15.1 \
jupyter_contrib_nbextensions==0.5.1
jupyter_contrib_nbextensions==0.7.0
RUN pip install \
hls4ml[profiling]==0.7.1 \
hls4ml[profiling]==0.8.0 \
qkeras==0.9.0 \
conifer==0.2b0
RUN mamba clean --all -f -y && \
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.vivado
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ RUN mamba install -y -c conda-forge \
pydot==1.4.2 \
tensorflow-datasets==4.8.3 \
jupyter-book==0.15.1 \
jupyter_contrib_nbextensions==0.5.1
jupyter_contrib_nbextensions==0.7.0
RUN pip install \
hls4ml[profiling]==0.7.1 \
hls4ml[profiling]==0.8.0 \
qkeras==0.9.0 \
conifer==0.2b0
RUN mamba clean --all -f -y && \
Expand Down
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- python=3.10.10
- jupyter_contrib_nbextensions==0.5.1
- jupyter_contrib_nbextensions==0.7.0
- jupyterhub==3.1.1
- jupyter-book==0.15.1
- jsonschema-with-format-nongpl
Expand All @@ -16,6 +16,6 @@ dependencies:
- widgetsnbextension==3.6.0
- pip==23.0.1
- pip:
- hls4ml[profiling]==0.7.1
- hls4ml[profiling]==0.8.0
- qkeras==0.9.0
- conifer==0.2b0

0 comments on commit 7258015

Please sign in to comment.