Skip to main content

Environment

To create a Python virtual environment, use the command:

conda env create -f environment.yml

Installation

pip install contextflow

Supported Models

The following LLM models are supported:

  • Gemma Family
  • Qwen Family
  • YandexGPT Family

LLM backends

The following LLM backends are supported:

  • Llama.cpp Server API

Run Llama.CPP Server backend

llama.cpp/build/bin/llama-server -m model_q5_k_m.gguf -ngl 99 -fa -np 2 -c 8192 --host 0.0.0.0 --port 8000

Install CUDA toolkit for Llama.cpp compilation

Please note that the toolkit version must match the driver version. The driver version can be found using the nvidia-smi command. Аor example, to install toolkit for CUDA 12.4 you need to run the following commands:

CUDA_TOOLKIT_VERSION=12-4
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt update
sudo apt -y install cuda-toolkit-${CUDA_TOOLKIT_VERSION}
echo -e '
export CUDA_HOME=/usr/local/cuda
export PATH=${CUDA_HOME}/bin:${PATH}
export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:$LD_LIBRARY_PATH
' >> ~/.bashrc

Set GPU Max Temp

nvidia-smi -pm 1
sudo nvidia-smi -gtt 80
nvidia-smi -q | grep Target

Metadata

Release files for contextflow 1.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for contextflow 1.10.0
File Size Uploaded
contextflow-1.10.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for contextflow 1.10.0
File Interpreter ABI Platform
contextflow-1.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.1 kB

Release files / contextflow-1.10.0.tar.gz

Download URL contextflow-1.10.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f6a21402989a11b5aed01481b61ab039070edf3661a39dc0808796469ad8f6ea
BLAKE2b-256 checksum
How to use checksums
26b92bb2f294516c70acc4248a4730e93238467d131d053d44b51cbe042de16c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / contextflow-1.10.0-py3-none-any.whl

Download URL contextflow-1.10.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68793717cfc107fc16d1d2b8e1bfdc3174e61e934d3c2215a6050a62f9799902
BLAKE2b-256 checksum
How to use checksums
174734ac71a6127bb47ed793ba38d0f800567278ff95c60849cd03155efcba7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.10.0 This release

2 release files

1.9.1

1 release file

1.9.0

1 release file

1.8.4

1 release file

1.8.3

1 release file

1.8.2

1 release file

1.8.1

1 release file

1.8.0

1 release file

1.7.1

1 release file

1.7.0

1 release file

1.6.0

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.0

2 release files

0.0.32

1 release file

0.0.31

1 release file

0.0.30

1 release file

0.0.29

1 release file

0.0.28

1 release file

0.0.27

2 release files

0.0.25

2 release files

0.0.24

2 release files

0.0.23

2 release files

0.0.20

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page