Skip to content

Instantly share code, notes, and snippets.

@bigntallmike
Created December 16, 2025 20:12
Show Gist options
  • Select an option

  • Save bigntallmike/06494339b5eb63932c60d7a3c049df97 to your computer and use it in GitHub Desktop.

Select an option

Save bigntallmike/06494339b5eb63932c60d7a3c049df97 to your computer and use it in GitHub Desktop.
Quick script to run immich machine learning without docker
#!/bin/sh
#
# Install immich and required libraries to run on bare metal with RHEL/Fedora
sudo dnf -y install \
python3-fastapi \
python3-huggingface-hub \
python3-opencv \
python3-orjson \
python3-pip \
python3-pydantic-extra-types \
python3-pydantic-settings \
python3-python-multipart \
python3-rich \
python3-tokenizers \
python3-uvicorn
pip install --upgrade --user pip
pip install \
onnxruntime \
gunicorn \
tokenizers \
rapidocr \
insightface \
aiocache
git clone --depth 1 https://github.com/immich-app/immich.git
echo "cd immich/machine-learning"
echo "python -m immich_ml"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment