Skip to content

Commit

Permalink
fix reproducibility package after docker build fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jungmair committed Aug 17, 2022
1 parent a73f2f8 commit 5a6a923
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion checkout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ pushd noisepage
popd
git clone https://github.com/lingo-db/lingo-db.git lingodb
pushd lingodb
git checkout 2c70df0424710d128d2d1411721d41ef37ad0f16
git checkout 1c39138ba34951b2ab8a60ee585bc82870ae5db9
popd
4 changes: 2 additions & 2 deletions reproduce.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ docker run -v $PWD/plots:/output -it r-plot /bin/bash -c "Rscript /plot-scripts/
docker run -v $PWD/plots:/output -it r-plot /bin/bash -c "Rscript /plot-scripts/plot-qopt-locs.r"


docker run --privileged -it mlirdb-repr /bin/bash -c "/build/mlirdb/mlir-db-opt test/lit/pytorch/linear-regression.mlir" > results/linear-regression.mlir
docker run --privileged -it mlirdb-repr /bin/bash -c "/build/mlirdb/mlir-db-opt --torch-backend-to-linalg-on-tensors-backend-pipeline --canonicalize --inline --scf-bufferize --linalg-bufferize --refback-munge-memref-copy --func-bufferize --arith-bufferize --tensor-bufferize -finalizing-bufferize --refback-insert-rng-globals --convert-linalg-to-affine-loops --affine-loop-fusion --affine-loop-unroll=\"unroll-full unroll-num-reps=3\" --affine-scalrep --canonicalize --lower-affine --canonicalize --simplify-memrefs --db-simplify-to-arith --simplify-arithmetics --canonicalize -symbol-privatize=\"exclude=main\" --symbol-dce test/lit/pytorch/linear-regression.mlir" > results/linear-regression-optimized.mlir
docker run --privileged -it lingodb-repr /bin/bash -c "/build/lingodb/mlir-db-opt test/lit/pytorch/linear-regression.mlir" > results/linear-regression.mlir
docker run --privileged -it lingodb-repr /bin/bash -c "/build/lingodb/mlir-db-opt --torch-backend-to-linalg-on-tensors-backend-pipeline --canonicalize --inline --scf-bufferize --linalg-bufferize --refback-munge-memref-copy --func-bufferize --arith-bufferize --tensor-bufferize -finalizing-bufferize --refback-insert-rng-globals --convert-linalg-to-affine-loops --affine-loop-fusion --affine-loop-unroll=\"unroll-full unroll-num-reps=3\" --affine-scalrep --canonicalize --lower-affine --canonicalize --simplify-memrefs --db-simplify-to-arith --simplify-arithmetics --canonicalize -symbol-privatize=\"exclude=main\" --symbol-dce test/lit/pytorch/linear-regression.mlir" > results/linear-regression-optimized.mlir

#todo

Expand Down
2 changes: 1 addition & 1 deletion scripts/codestats/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:impish
FROM ubuntu

RUN apt-get update && apt-get install -y cloc

Expand Down
2 changes: 1 addition & 1 deletion scripts/duckdb-tpch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:impish AS baseimg
FROM ubuntu AS baseimg
COPY duckdb /duckdb
WORKDIR /duckdb
RUN DEBIAN_FRONTEND="noninteractive" apt-get update
Expand Down

0 comments on commit 5a6a923

Please sign in to comment.