Add Docker-based reproducible build; remove PuLP, solve ILPs with Gur…#2
Open
edwjchen wants to merge 1 commit into
Open
Add Docker-based reproducible build; remove PuLP, solve ILPs with Gur…#2edwjchen wants to merge 1 commit into
edwjchen wants to merge 1 commit into
Conversation
…obi only Reproducibility / Docker - Add Dockerfile (python:3.11-slim + build-essential, clang/lld, cmake, ninja, golang) and .dockerignore; non-root build via USER_ID/GROUP_ID. - Add scripts/reproduce.sh with quick/full/execute modes; execute runs a compiled MLIR through the Lattigo backend (plaintext or FHE). - Add scripts/setup_dependencies.sh to build the Dacapo/Hecate frontend and Lattigo backend on demand (keeps the image lean). - Add scripts/gurobi_license_sweep.sh to classify which benchmark configs fit the bundled size-limited Gurobi license vs. need a full license. - run_orbit.py: add --threads passthrough and propagate optimizer exit code. - .gitignore: ignore .deps/ and repro_results/. - README: Docker build/run instructions, solver/license notes, and the optional end-to-end execution + Dacapo data-gen flow. Solver: drop PuLP/CBC, use Gurobi only - ilp_core.py: remove the PuLP code path (var pool, safe-name helpers, *_pulp builders, _solve_ilp_pulp) and solve ILPs directly with Gurobi. - Remove the --ilp-solver flag and ilp_solver param plumbing across optimizer.py, run_orbit.py, and params.py. - requirements.txt: drop pulp. - Tests: drop the PuLP-specific test, update CLI/param/integration tests to the Gurobi-only path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reproducibility / Docker
Solver: drop PuLP/CBC, use Gurobi only