Skip to content

Add Reproducible Environment Setup with Pinned Dependencies - #285

Open
aragorn1025 wants to merge 5 commits into
IDEA-Research:mainfrom
aragorn1025:docker-deployment
Open

Add Reproducible Environment Setup with Pinned Dependencies#285
aragorn1025 wants to merge 5 commits into
IDEA-Research:mainfrom
aragorn1025:docker-deployment

Conversation

@aragorn1025

Copy link
Copy Markdown

Overview

This PR introduces a Docker-based environment for DINO to simplify repository setup and provide a reproducible development environment by pinning compatible dependency versions.

Background

Some Python dependencies used in this repository are no longer backward compatible with their latest releases. As a result, setting up the project with newer package versions may lead to compatibility issues or unexpected behavior.

Issues

This PR addresses the following issues:

Changes

  • Add a Dockerfile that pins selected Python package versions for compatibility.
  • Add a docker-compose.yml and a Makefile to simplify environment setup.
  • Add docker-compose.override.yml to .gitignore to allow users to customize local configurations, such as dataset, pretrained weights, and checkpoint mounts, without committing them to the repository.
  • Update .gitignore to exclude generated build files.

Testing

This setup has been tested on an Ubuntu Linux environment with NVIDIA GPU support.

The host system requires:

Other environments, such as CPU-only or non-Linux systems, have not been verified.

@aragorn1025

Copy link
Copy Markdown
Author

This PR reopens #284 with an updated source branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant