entrenar 0.7.6

Training & Optimization library with autograd, LoRA, quantization, and model merging
# entrenar development environment
version: "3.8"

services:
  entrenar:
    build:
      context: .
      dockerfile: Dockerfile
      target: tester
    volumes:
      - ./src:/build/src
      - ./tests:/build/tests
      - cargo-cache:/usr/local/cargo/registry
    environment:
      - RUST_LOG=debug
      - RUST_BACKTRACE=1

  entrenar-cuda:
    build:
      context: .
      dockerfile: Dockerfile
      target: builder
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]
    environment:
      - RUST_LOG=info

volumes:
  cargo-cache: