A new awesome project.
pip install git+ssh://[email protected]/anonymous/context-compression.git
Setup the development environment:
git clone [email protected]:anonymous/context-compression.git
cd context-compression
pre-commit install
docker build --build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g) -t image-context-compression -f docker/Dockerfile .
docker run --gpus all --detach -v /path/to/context-compression:/home/jovyan/context-compression image-context-compression tail -f /dev/null
Then exec the container
docker exec -it container_id /bin/bash
Re-install the project in edit mode:
pip install -e .[dev]