Skip to main content

No project description provided

Project description

mypy and pytests black-lint Cumulative Clones

dgxarley

Tooling for the DGX Arley K3s inference cluster — integration tests, streaming utilities, and CLI entry points for SGLang, Ollama, and OpenWebUI services.

What's included

CLI tools

Command Description
sglang-raw Interactive SSE stream viewer with dual-panel Rich display (interpreted output + raw JSON chunks)
sglang-test Direct SGLang client with sequential and parallel load testing (live Rich TUI)
openwebui-test OpenWebUI / LLM client with preset management and streaming
ollama-test Ollama API health, model, embedding, and chat completions tests

Libraries

Module Description
dgxarley.integration.repetition_detector Offline n-gram, sentence, and loop repetition analysis for completed LLM outputs
dgxarley.integration.streaming_repetition_guard Real-time repetition detection for token streams with configurable thresholds

Installation

pip install dgxarley

Quick start

from dgxarley.integration.repetition_detector import detect_repetition

report = detect_repetition(llm_output)
print(report.summary())
# [LOW] score=0.12 — N-Gram 'this is a test' x2
from dgxarley.integration.streaming_repetition_guard import RepetitionGuard

guard = RepetitionGuard()
for chunk in llm_stream:
    token = chunk.choices[0].delta.content or ""
    result = guard.feed(token)
    if result.should_stop:
        print(f"STOP: {result.reason}")
        break

Requirements

  • Python >= 3.14

Source & documentation

Full documentation, network architecture, and Ansible playbooks: GitHub

License

LGPL where applicable — see LICENSE.md for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dgxarley-0.0.2.tar.gz (55.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dgxarley-0.0.2-py3-none-any.whl (75.1 kB view details)

Uploaded Python 3

File details

Details for the file dgxarley-0.0.2.tar.gz.

File metadata

  • Download URL: dgxarley-0.0.2.tar.gz
  • Upload date:
  • Size: 55.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.14.3 HTTPX/0.28.1

File hashes

Hashes for dgxarley-0.0.2.tar.gz
Algorithm Hash digest
SHA256 1b3493d5bacad7cafd9b801813b05bc9667ba61cd67abe7221430a0502b09014
MD5 769a2c3932ab74d86257f9709ab784a2
BLAKE2b-256 2a0bedc20d6fdeddcb4e89f43630d73b1c4f5513b3912b64425575fffee5d8e8

See more details on using hashes here.

File details

Details for the file dgxarley-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: dgxarley-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 75.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.14.3 HTTPX/0.28.1

File hashes

Hashes for dgxarley-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86f2281e07af5a0bebf1cf0c4654285b0829837fd94de1eee163d7502824ad49
MD5 e7a01f6e0e80394b0b05ed6ce1c4610f
BLAKE2b-256 c3aa145bef7a1b43d057cdfb683d3884f9f62ecd02c92ec8198673251c4387f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page