Skip to content

Commit be36509

Browse files
authored
fix: use released cudaq version in dockerfile (#653)
1 parent d8789bf commit be36509

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

examples/nvidia_cuda_q/container/Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
FROM 292282985366.dkr.ecr.us-west-2.amazonaws.com/amazon-braket-pytorch-jobs:latest
22
RUN python3 -m pip install --upgrade pip
33

4-
# install cuda-quantum
4+
# install cudaq
55
ARG SCRIPT_PATH
66
ARG CUDAQ_PATH=/opt/conda/lib/python3.10/site-packages
77
ENV MPI_PATH=/opt/amazon/openmpi
88

9-
COPY "${SCRIPT_PATH}/cudaq_wheel/wheelhouse/cuda_quantum_cu12-0.0.0-cp310-cp310-manylinux_2_28_x86_64.whl" .
10-
RUN python3 -m pip install cuda_quantum_cu12-0.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
9+
RUN python3 -m pip install cudaq
1110
RUN bash "${CUDAQ_PATH}/distributed_interfaces/activate_custom_mpi.sh"
1211

1312
# install additional python dependencies

examples/nvidia_cuda_q/container/container_build_and_push.sh

-5
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ docker login -u AWS -p $(aws ecr get-login-password --region us-west-2) 29228298
5050
# with the full name.
5151
script_dir=$(dirname "$0")
5252

53-
# download cudaq wheel files
54-
wget -O container/cudaq_wheel.zip https://github.com/bettinaheim/cuda-quantum/releases/download/11272024/wheelhouse.zip
55-
unzip container/cudaq_wheel.zip -d container/cudaq_wheel
56-
57-
# build docker image
5853
docker build --build-arg SCRIPT_PATH="$script_dir" \
5954
-t ${image} -f "${script_dir}/Dockerfile" . --platform linux/amd64 --progress=plain \
6055

0 commit comments

Comments
 (0)