From 9f7f0028e3a0b1311ae6332fe965d1b1a416eaeb Mon Sep 17 00:00:00 2001 From: marius <11855163+norandom@users.noreply.github.com> Date: Sun, 11 Aug 2024 08:58:20 +0200 Subject: [PATCH] CPU install routine --- dependencies/install_cpu.sh | 13 +++++++++++++ dependencies/requirements.cpu.txt | 29 +++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 dependencies/install_cpu.sh create mode 100644 dependencies/requirements.cpu.txt diff --git a/dependencies/install_cpu.sh b/dependencies/install_cpu.sh new file mode 100644 index 0000000..1a22554 --- /dev/null +++ b/dependencies/install_cpu.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +if [[ "$(uname)" == "Darwin" ]] || [[ "$(uname)" == "Linux" ]]; then + echo "The CPU installation is starting (macOS, Linux)." + + echo "Installing dependencies" + pip install -r "https://raw.githubusercontent.com/norandom/log2ml/main/dependencies/requirements.cgpu.txt" + + echo "cuML will not be installed." + +else + echo "This does not appear to be a CPU environment." +fi diff --git a/dependencies/requirements.cpu.txt b/dependencies/requirements.cpu.txt new file mode 100644 index 0000000..8ceb19d --- /dev/null +++ b/dependencies/requirements.cpu.txt @@ -0,0 +1,29 @@ +openai==1.13.3 +langchain==0.1.10 +python-dotenv==1.0.1 +tiktoken==0.6.0 +langchain_openai==0.0.8 +langchain_experimental==0.0.53 +langchainhub==0.1.14 +ipywidgets +transformers==4.39.0 +torch==2.2.1+cpu +torchvision==0.17.1+cpu +torchaudio==2.2.1+cpu +sentence-transformers==2.5.1 +faiss_cpu==1.8.0 +linformer-pytorch==0.19.3 +PyGithub==2.3.0 +deap==1.4.1 +update_checker==0.18.0 +scikit-mdr==0.4.5 +skrebate==0.62 +xgboost==2.0.3 +stopit==1.1.2 +tpot==0.12.2 +umap-learn==0.5.6 +tabulate==0.9.0 +onnx==1.16.1 +skl2onnx==1.17.0 +protobuf==3.20.3 +dill==0.3.8 \ No newline at end of file