chore: rename package

- poetry lock required to update package name
- related Makefile and licenses update to keep consistency (will be removed
once the PyPi package is available)
- modified compile_torch_model to only accept datasets with one input
mypy error with better numpy typing hints appeared

closes #1252
This commit is contained in:
Arthur Meyre
2022-01-03 15:04:09 +01:00
parent 1a66f2c865
commit e522f22ce8
33 changed files with 296 additions and 289 deletions

View File

@@ -1,4 +1,4 @@
FROM ghcr.io/zama-ai/concretefhe-env
FROM ghcr.io/zama-ai/concrete-framework-env
ENV SRC_DIR=/src

View File

@@ -3,7 +3,7 @@ FROM ubuntu:20.04
# Do not change the line below it will be updated automatically when the docker is regenerated
# compiler timestamp: 2021-12-22T10:49:30Z
# Remove once compiler is on PyPi https://github.com/zama-ai/concretefhe-internal/issues/809
# Remove once compiler is on PyPi https://github.com/zama-ai/concrete-framework-internal/issues/809
ARG WHEEL
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
@@ -27,6 +27,6 @@ RUN apt-get update && apt-get upgrade --no-install-recommends -y && \
pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir poetry
# Remove once compiler is on PyPi https://github.com/zama-ai/concretefhe-internal/issues/809
# Remove once compiler is on PyPi https://github.com/zama-ai/concrete-framework-internal/issues/809
WORKDIR /pkg
COPY pkg/${WHEEL} .

View File

@@ -2,4 +2,4 @@
CURR_DIR=$(dirname "$0")
DOCKER_BUILDKIT=1 docker build --pull --no-cache -f "$CURR_DIR/Dockerfile.release" \
-t concretefhe-release "$CURR_DIR/.."
-t concrete-framework-release "$CURR_DIR/.."