Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/docker #496

Merged
merged 40 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
03a8781
Refactor Dockerfile.
vincentmr Sep 7, 2023
2b16937
setup.py install
vincentmr Sep 8, 2023
5ef6271
Multi-stage docker build.
vincentmr Sep 8, 2023
2049311
Update docker readme.
vincentmr Sep 8, 2023
2376a23
Add omp deps.
vincentmr Sep 8, 2023
72a641f
Fix pip install warning.
vincentmr Sep 8, 2023
4f2cfab
Merge branch 'master' into feature/docker
vincentmr Sep 8, 2023
6d7da3e
Auto update version
github-actions[bot] Sep 8, 2023
a1f9c24
Add lightning-kokkos stage.
vincentmr Sep 11, 2023
ce91ca4
Add LGPU stage.
vincentmr Sep 11, 2023
2b87bed
Fix codefactor warnings.
vincentmr Sep 11, 2023
d657a41
Add LKokkos+CUDA stage.
vincentmr Sep 11, 2023
5c2272f
Fix wheel-lightning-kokkos-cuda runtime env.
vincentmr Sep 12, 2023
31643ba
Add make docker & dockerhub readme.
vincentmr Sep 12, 2023
21e287b
Build kokkos-cuda from --branch fix-rtld-deepbind https://github.com/…
vincentmr Sep 12, 2023
5dce308
Try fixing codefactor
vincentmr Sep 12, 2023
85989af
Add plugin doc links. Add HIP image. Refactor makefile.
vincentmr Sep 13, 2023
2b14765
Auto update version
github-actions[bot] Sep 13, 2023
c9aed90
Update readme.
vincentmr Sep 13, 2023
81f96ac
Update readme.
vincentmr Sep 13, 2023
12865c1
Update changelog.
vincentmr Sep 13, 2023
1caa0d8
Merge branch 'master' into feature/docker
vincentmr Sep 13, 2023
736fc16
wget --progress.
vincentmr Sep 13, 2023
84098a2
Update docker/README.md
vincentmr Sep 15, 2023
44ef199
Merge branch 'master' into feature/docker
vincentmr Sep 15, 2023
3b97c75
Auto update version
github-actions[bot] Sep 15, 2023
b9f15b3
trigger CI
vincentmr Sep 15, 2023
34a0efb
Add GCC_VERSION build arg.
vincentmr Sep 19, 2023
1708c99
Auto update version
github-actions[bot] Sep 19, 2023
853bf81
Download lightning in base-build-python. Build LQubit without Kokkos.
vincentmr Sep 19, 2023
e477c69
Add PL versions docker.
vincentmr Sep 20, 2023
d292fe7
Auto update version
github-actions[bot] Sep 20, 2023
57bd92e
Merge branch 'master' into feature/docker
vincentmr Sep 20, 2023
c35f6a2
Change CUDA/ROCM ARGs for installer urls. Clear *.deb after install.
vincentmr Sep 20, 2023
08bc65d
Merge branch 'master' into feature/docker
vincentmr Sep 22, 2023
7dc9718
Auto update version
github-actions[bot] Sep 22, 2023
6d0c660
Ship wheel-lightning-kokkos-rocm on top of rocm/dev-ubuntu-22.04.
vincentmr Sep 22, 2023
0f585ba
Merge remote-tracking branch 'origin/master' into feature/docker
vincentmr Sep 22, 2023
0a8e389
Auto update version
github-actions[bot] Sep 22, 2023
fcc5a32
Add rocm/dev-ubuntu-22.04 tag.
vincentmr Sep 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

### New features since last release

* Add `Dockerfile` in `docker` and `make docker` workflow in `Makefile`. The Docker images and documentation are available on [DockerHub](https://hub.docker.com/repository/docker/pennylaneai/pennylane).
[(#496)](https://github.com/PennyLaneAI/pennylane-lightning/pull/496)

* Add mid-circuit state preparation operation tests.
[(#495)](https://github.com/PennyLaneAI/pennylane-lightning/pull/495)

Expand Down
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,25 @@ docs:
.PHONY : clean-docs
clean-docs:
$(MAKE) -C doc clean

.PHONY : docker
ifdef target
TARGET := $(target)
else
TARGET := lightning-qubit
endif
docker-build:
docker build -f docker/Dockerfile --tag=pennylaneai/pennylane:$(TARGET) --target wheel-$(TARGET) .
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
docker-push:
docker push pennylaneai/pennylane:$(TARGET)
docker-all:
$(MAKE) docker-build target=lightning-gpu
$(MAKE) docker-push target=lightning-gpu
$(MAKE) docker-build target=lightning-kokkos-cuda
$(MAKE) docker-push target=lightning-kokkos-cuda
$(MAKE) docker-build target=lightning-kokkos-rocm
$(MAKE) docker-push target=lightning-kokkos-rocm
$(MAKE) docker-build target=lightning-kokkos-openmp
$(MAKE) docker-push target=lightning-kokkos-openmp
$(MAKE) docker-build target=lightning-qubit
$(MAKE) docker-push target=lightning-qubit
276 changes: 250 additions & 26 deletions docker/Dockerfile
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2018-2021 Xanadu Quantum Technologies Inc.
# Copyright 2018-2023 Xanadu Quantum Technologies Inc.

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -12,43 +12,267 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ubuntu:focal AS base
# Create basic runtime environment base on Ubuntu 22.04 (jammy)
# Define build arguments
# Create and activate runtime virtual environment
FROM ubuntu:jammy AS base-runtime
ARG KOKKOS_VERSION=4.1.00
ARG LIGHTNING_VERSION=0.32.0
ARG CUDA_VERSION=12.2
ARG CUDA_ARCH=AMPERE80
ARG AMD_ARCH=AMD_GFX90A
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
apt-utils \
ca-certificates \
libgomp1 \
python3 \
python3-pip \
python3-venv \
tzdata \
wget \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

# Setup and install basic packages
# Create basic build environment with build tools and compilers
FROM base-runtime AS base-build
RUN apt-get update \
&& apt-get install --no-install-recommends -y apt-utils \
&& DEBIAN_FRONTEND="noninteractive" \
apt-get install --no-install-recommends -y tzdata \
&& apt-get install --no-install-recommends -y \
build-essential \
ca-certificates \
ccache \
cmake \
curl \
git \
python3 \
python3-pip \
python3-venv \
ninja-build \
python3-dev \
gcc-11 g++-11 cpp-11 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-10 \
&& /usr/sbin/update-ccache-symlinks \
&& mkdir /opt/ccache \
&& ccache --set-config=cache_dir=/opt/ccache \
&& python3 -m venv /opt/venv
&& rm -rf /var/lib/apt/lists/*
RUN update-alternatives \
--install /usr/bin/gcc gcc /usr/bin/gcc-11 100 \
--slave /usr/bin/g++ g++ /usr/bin/g++-11 \
--slave /usr/bin/gcov gcov /usr/bin/gcov-10
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
RUN /usr/sbin/update-ccache-symlinks
RUN mkdir /opt/ccache
RUN ccache --set-config=cache_dir=/opt/ccache
vincentmr marked this conversation as resolved.
Show resolved Hide resolved

# Create and activate build virtual environment
# Install Lightning dev requirements
FROM base-build AS base-build-python
ENV VIRTUAL_ENV=/opt/venv-build
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
RUN pip install --no-cache-dir wheel
RUN --mount=type=bind,source=requirements-dev.txt,target=requirements-dev.txt \
pip install --no-cache-dir -r requirements-dev.txt
RUN --mount=type=bind,source=doc/requirements.txt,target=requirements-doc.txt \
pip install --no-cache-dir -r requirements-doc.txt

# Download Lightning release and build lightning-qubit backend
FROM base-build-python AS build-wheel-lightning-qubit
WORKDIR /opt/pennylane-lightning
RUN wget --progress=dot:giga https://github.com/PennyLaneAI/pennylane-lightning/archive/refs/tags/v${LIGHTNING_VERSION}.tar.gz
RUN tar -zxf v${LIGHTNING_VERSION}.tar.gz && mv pennylane-lightning-${LIGHTNING_VERSION}/* /opt/pennylane-lightning
RUN pip uninstall -y pennylane-lightning
RUN python setup.py build_ext
RUN python setup.py bdist_wheel
vincentmr marked this conversation as resolved.
Show resolved Hide resolved

# Install lightning-qubit backend
FROM base-runtime AS wheel-lightning-qubit
COPY --from=build-wheel-lightning-qubit /opt/pennylane-lightning/dist/ /
RUN pip install --force-reinstall --no-cache-dir PennyLane_Lightning*.whl

# Download Kokkos release and build OpenMP backend
FROM base-build as build-kokkos-openmp
WORKDIR /opt/kokkos-${KOKKOS_VERSION}
RUN wget --progress=dot:giga https://github.com/kokkos/kokkos/archive/refs/tags/${KOKKOS_VERSION}.tar.gz
RUN tar -zxf ${KOKKOS_VERSION}.tar.gz && mv /opt/kokkos-${KOKKOS_VERSION}/kokkos-${KOKKOS_VERSION}/* /opt/kokkos-${KOKKOS_VERSION}
RUN cmake -S /opt/kokkos-${KOKKOS_VERSION} -B /opt/kokkos-${KOKKOS_VERSION}/build \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/kokkos \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
-DKokkos_ENABLE_SERIAL:BOOL=ON \
-DKokkos_ENABLE_OPENMP:BOOL=ON \
-DCMAKE_CXX_STANDARD=20 \
-DKokkos_ENABLE_EXAMPLES:BOOL=OFF \
-DKokkos_ENABLE_TESTS:BOOL=OFF \
-DKokkos_ENABLE_LIBDL:BOOL=OFF
RUN cmake --build /opt/kokkos-${KOKKOS_VERSION}/build
RUN cmake --install /opt/kokkos-${KOKKOS_VERSION}/build

# Download Lightning release and build lightning-kokkos backend with Kokkos-OpenMP
FROM base-build-python AS build-wheel-lightning-kokkos-openmp
WORKDIR /opt/pennylane-lightning
COPY --from=build-kokkos-openmp /opt/kokkos /opt/kokkos
ENV CMAKE_PREFIX_PATH=/opt/kokkos:$CMAKE_PREFIX_PATH
RUN wget --progress=dot:giga https://github.com/PennyLaneAI/pennylane-lightning/archive/refs/tags/v${LIGHTNING_VERSION}.tar.gz
RUN tar -zxf v${LIGHTNING_VERSION}.tar.gz && mv pennylane-lightning-${LIGHTNING_VERSION}/* /opt/pennylane-lightning
RUN pip uninstall -y pennylane-lightning
RUN PL_BACKEND=lightning_kokkos python setup.py build_ext
RUN PL_BACKEND=lightning_kokkos python setup.py bdist_wheel

# Install lightning-kokkos OpenMP backend
FROM base-runtime AS wheel-lightning-kokkos-openmp
COPY --from=build-kokkos-openmp /opt/kokkos /opt/kokkos
COPY --from=build-wheel-lightning-kokkos-openmp /opt/pennylane-lightning/dist/ /
RUN pip install --force-reinstall --no-cache-dir PennyLane_Lightning*.whl

# Install CUDA-12 in build venv image
FROM base-build-python as base-build-cuda
WORKDIR /opt/cuda-build
RUN curl -o cuda-12_2.run https://developer.download.nvidia.com/compute/cuda/12.2.2/local_installers/cuda_12.2.2_535.104.05_linux.run
RUN chmod a+x cuda-12_2.run
RUN ./cuda-12_2.run --silent --toolkit --toolkitpath=/usr/local/cuda-12.2
ENV PATH=/usr/local/cuda/bin:${PATH}
ENV LD_LIBRARY_PATH=/usr/local/cuda/lib64:${LD_LIBRARY_PATH}
vincentmr marked this conversation as resolved.
Show resolved Hide resolved

# Download Kokkos release and build CUDA backend
FROM base-build-cuda as build-kokkos-cuda
WORKDIR /opt/kokkos-${KOKKOS_VERSION}
# RUN wget --progress=dot:giga https://github.com/kokkos/kokkos/archive/refs/tags/${KOKKOS_VERSION}.tar.gz
# RUN tar -zxf ${KOKKOS_VERSION}.tar.gz && mv /opt/kokkos-${KOKKOS_VERSION}/kokkos-${KOKKOS_VERSION}/* /opt/kokkos-${KOKKOS_VERSION}
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
RUN git clone --branch fix-rtld-deepbind https://github.com/cz4rs/kokkos.git /opt/kokkos-${KOKKOS_VERSION}
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
RUN cmake -S /opt/kokkos-${KOKKOS_VERSION} -B /opt/kokkos-${KOKKOS_VERSION}/build \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/kokkos \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
-DKokkos_ENABLE_SERIAL:BOOL=ON \
-DKokkos_ENABLE_OPENMP:BOOL=ON \
-DCMAKE_CXX_STANDARD=20 \
-DKokkos_ENABLE_EXAMPLES:BOOL=OFF \
-DKokkos_ENABLE_TESTS:BOOL=OFF \
-DKokkos_ENABLE_LIBDL:BOOL=OFF \
-DKokkos_ENABLE_CUDA:BOOL=ON \
-DKokkos_ARCH_${CUDA_ARCH}=ON
RUN cmake --build /opt/kokkos-${KOKKOS_VERSION}/build
RUN cmake --install /opt/kokkos-${KOKKOS_VERSION}/build

ENV PATH="/opt/venv/bin:$PATH"
# Download Lightning release and build lightning-kokkos backend with Kokkos-CUDA
FROM base-build-cuda AS build-wheel-lightning-kokkos-cuda
WORKDIR /opt/pennylane-lightning
COPY --from=build-kokkos-cuda /opt/kokkos /opt/kokkos
ENV CMAKE_PREFIX_PATH=/opt/kokkos:$CMAKE_PREFIX_PATH
RUN wget --progress=dot:giga https://github.com/PennyLaneAI/pennylane-lightning/archive/refs/tags/v${LIGHTNING_VERSION}.tar.gz
RUN tar -zxf v${LIGHTNING_VERSION}.tar.gz && mv pennylane-lightning-${LIGHTNING_VERSION}/* /opt/pennylane-lightning
RUN pip uninstall -y pennylane-lightning
RUN PL_BACKEND=lightning_kokkos python setup.py build_ext
RUN PL_BACKEND=lightning_kokkos python setup.py bdist_wheel

# Install python3 and setup runtime virtual env in CUDA-12-runtime image (includes CUDA runtime and math libraries)
# Install lightning-kokkos CUDA backend
FROM nvidia/cuda:12.2.0-base-ubuntu22.04 AS wheel-lightning-kokkos-cuda
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
libgomp1 \
python3 \
python3-pip \
python3-venv \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY --from=build-kokkos-cuda /opt/kokkos /opt/kokkos
COPY --from=build-wheel-lightning-kokkos-cuda /opt/pennylane-lightning/dist/ /
RUN pip install --force-reinstall --no-cache-dir PennyLane_Lightning*.whl

# Setup and build pennylane-lightning
# Download and build Lightning-GPU release
FROM base-build-cuda AS build-wheel-lightning-gpu
WORKDIR /opt/pennylane-lightning
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN wget --progress=dot:giga https://github.com/PennyLaneAI/pennylane-lightning-gpu/archive/refs/tags/v${LIGHTNING_VERSION}.tar.gz
RUN tar -zxf v${LIGHTNING_VERSION}.tar.gz && mv pennylane-lightning-gpu-${LIGHTNING_VERSION}/* /opt/pennylane-lightning
RUN pip uninstall -y pennylane-lightning-gpu
RUN pip install --no-cache-dir wheel custatevec-cu12
RUN --mount=type=bind,source=requirements.txt,target=requirements.txt \
pip install --no-cache-dir -r requirements.txt
RUN python setup.py build_ext --cuquantum=$(python -c "import site; print( f'{site.getsitepackages()[0]}/cuquantum/lib')")
RUN python setup.py bdist_wheel

# Install python3 and setup runtime virtual env in CUDA-12-runtime image (includes CUDA runtime and math libraries)
# Install lightning-kokkos CUDA backend
FROM nvidia/cuda:12.2.0-runtime-ubuntu22.04 AS wheel-lightning-gpu
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
libgomp1 \
python3 \
python3-pip \
python3-venv \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install --no-cache-dir custatevec-cu12
COPY --from=build-wheel-lightning-gpu /opt/pennylane-lightning/dist/ /
RUN pip install --no-cache-dir --force-reinstall PennyLane_Lightning*.whl

# Install ROCm in build venv image
FROM base-build-python as base-build-rocm
RUN wget --progress=dot:giga https://repo.radeon.com/amdgpu-install/5.3/ubuntu/jammy/amdgpu-install_5.3.50300-1_all.deb
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
"linux-headers-$(uname -r)" "linux-modules-extra-$(uname -r)" \
./amdgpu-install_5.3.50300-1_all.deb \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN amdgpu-install -y --accept-eula --usecase=rocm,hiplibsdk --no-dkms
vincentmr marked this conversation as resolved.
Show resolved Hide resolved

# Download Kokkos release and build HIP backend
FROM base-build-rocm as build-kokkos-rocm
WORKDIR /opt/kokkos-${KOKKOS_VERSION}
ENV LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH
# RUN wget --progress=dot:giga https://github.com/kokkos/kokkos/archive/refs/tags/${KOKKOS_VERSION}.tar.gz
# RUN tar -zxf ${KOKKOS_VERSION}.tar.gz && mv /opt/kokkos-${KOKKOS_VERSION}/kokkos-${KOKKOS_VERSION}/* /opt/kokkos-${KOKKOS_VERSION}
RUN git clone --branch fix-rtld-deepbind https://github.com/cz4rs/kokkos.git /opt/kokkos-${KOKKOS_VERSION}
RUN CXX=hipcc cmake -S /opt/kokkos-${KOKKOS_VERSION} -B /opt/kokkos-${KOKKOS_VERSION}/build \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/kokkos \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_TESTING:BOOL=OFF \
-DKokkos_ENABLE_SERIAL:BOOL=ON \
-DKokkos_ENABLE_OPENMP:BOOL=ON \
-DCMAKE_CXX_STANDARD=20 \
-DKokkos_ENABLE_EXAMPLES:BOOL=OFF \
-DKokkos_ENABLE_TESTS:BOOL=OFF \
-DKokkos_ENABLE_LIBDL:BOOL=OFF \
-DKokkos_ENABLE_HIP:BOOL=ON \
-DKokkos_ARCH_${AMD_ARCH}=ON
RUN cmake --build /opt/kokkos-${KOKKOS_VERSION}/build
RUN cmake --install /opt/kokkos-${KOKKOS_VERSION}/build

COPY . .
# Download Lightning release and build lightning-kokkos backend with Kokkos-ROCm
FROM base-build-rocm AS build-wheel-lightning-kokkos-rocm
WORKDIR /opt/pennylane-lightning
COPY --from=build-kokkos-rocm /opt/kokkos /opt/kokkos
ENV CXX=hipcc
ENV CMAKE_PREFIX_PATH=/opt/kokkos:$CMAKE_PREFIX_PATH
RUN wget --progress=dot:giga https://github.com/PennyLaneAI/pennylane-lightning/archive/refs/tags/v${LIGHTNING_VERSION}.tar.gz
RUN tar -zxf v${LIGHTNING_VERSION}.tar.gz && mv pennylane-lightning-${LIGHTNING_VERSION}/* /opt/pennylane-lightning
RUN pip uninstall -y pennylane-lightning
RUN PL_BACKEND=lightning_kokkos python setup.py build_ext
RUN PL_BACKEND=lightning_kokkos python setup.py bdist_wheel

RUN pip install --no-cache-dir wheel \
sphinx \
&& pip install --no-cache-dir -r requirements-dev.txt \
&& pip uninstall -y PennyLane_Lightning \
&& make install \
&& make test-python \
&& make test-cpp
# Install lightning-kokkos HIP backend
FROM base-runtime AS wheel-lightning-kokkos-rocm
RUN wget --progress=dot:giga https://repo.radeon.com/amdgpu-install/5.3/ubuntu/jammy/amdgpu-install_5.3.50300-1_all.deb
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
"linux-headers-$(uname -r)" "linux-modules-extra-$(uname -r)" \
./amdgpu-install_5.3.50300-1_all.deb \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN amdgpu-install -y --accept-eula --usecase=hip --no-dkms
COPY --from=build-kokkos-rocm /opt/kokkos /opt/kokkos
COPY --from=build-wheel-lightning-kokkos-rocm /opt/pennylane-lightning/dist/ /
RUN pip install --force-reinstall --no-cache-dir PennyLane_Lightning*.whl
vincentmr marked this conversation as resolved.
Show resolved Hide resolved
Loading