You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm able to use Marabou locally on my M1 macbook, but I'm seeking to use it in a Docker image. I want to have a portable experiment that I can run on things like AWS or a cluster without having to manually load dependencies etc.
In my current attempt at making this image, Compilation completes 100% but there is a problem when testing. Marabou builds just fine, except a single unit test (Test_SumOfInfeasibilitiesManager) fails. This doesn't happen for me locally, even on the same commit.
I am unsure if this is a configuration issue on my end or some weird bug underlying the lib. Here is my Dockerfile,
FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04
FROM continuumio/miniconda3
SHELL ["/bin/bash", "--login", "-c"]
COPY conda_environment.yml .
RUN conda env create -f conda_environment.yml
SHELL ["conda", "run", "-n", "vertical-cas-env", "/bin/bash", "-c"]
RUN echo "conda activate vertical-cas-env" > ~/.bashrc
RUN apt-get -y update && apt-get install -y git gcc g++ cmake
RUN pip install --upgrade pip cvxpy pyinterval
# Can thin this out to lessen loading times
# Marabou dir is in .dockerignore
COPY . .
# Marabou is breaking here, fails 1 out of 69 unit tests...weird
# This takes ~ 10 minutes to build
RUN git clone https://github.com/NeuralNetworkVerification/Marabou.git \
&& mv Marabou GenerateNetworks/Marabou \
&& cd GenerateNetworks/Marabou && mkdir build && cd build \
&& cmake .. -DBUILD_PYTHON=ON -DCMAKE_BUILD_TYPE=Debug \
&& cmake --build .
ENV PYTHONPATH=$PYTHONPATH:$(pwd)/GenerateNetworks/Marabou
CMD echo "running test" && python3 GenerateNetworks/trainVertCAS.py
The above is at Marabou HEAD, but I also tried reverting to a previous release 1271f92 with no luck
This page suggests maybe a licensing issue with the Gurobi solver, although this seems unlikely because all of the other tests pass, meaning the tool was running correctly in those instances
I'm able to use Marabou locally on my M1 macbook, but I'm seeking to use it in a Docker image. I want to have a portable experiment that I can run on things like AWS or a cluster without having to manually load dependencies etc.
In my current attempt at making this image, Compilation completes 100% but there is a problem when testing. Marabou builds just fine, except a single unit test (
Test_SumOfInfeasibilitiesManager
) fails. This doesn't happen for me locally, even on the same commit.I am unsure if this is a configuration issue on my end or some weird bug underlying the lib. Here is my
Dockerfile
,The above is at Marabou
HEAD
, but I also tried reverting to a previous release1271f92
with no luckand the
conda
environment for good measure,and the actual test output,
The text was updated successfully, but these errors were encountered: