Skip to content
cccskills
FreePublished on GitHub

clip-as-service

Guides CLIP-as-service client, server, and CLIP search workflows for text/image embeddings, cross-modal ranking, and retrieval services.

The English summary is being prepared. Showing the original description.

See how to install

Files included (28)

  • SKILL.md4.1 KB
  • references/install-and-package-map.md3.2 KB
  • references/repo-provenance.md2.5 KB
  • references/repo-routing-metadata.json505 B
  • references/troubleshooting.md4.4 KB
  • scripts/check_install.py3.9 KB
  • sub-skills/client-api/references/api-reference.md4.2 KB
  • sub-skills/client-api/references/troubleshooting.md4.3 KB
  • sub-skills/client-api/references/workflows.md3.9 KB
  • sub-skills/client-api/scripts/check_client_api.py3.1 KB
  • sub-skills/client-api/SKILL.md4.1 KB
  • sub-skills/search-retrieval/references/configuration.md2.3 KB
  • sub-skills/search-retrieval/references/troubleshooting.md3.4 KB
  • sub-skills/search-retrieval/references/workflows.md3.5 KB
  • sub-skills/search-retrieval/scripts/check_search_config.py5.7 KB
  • sub-skills/search-retrieval/scripts/search-flow.yml424 B
  • sub-skills/search-retrieval/SKILL.md3.5 KB
  • sub-skills/server-runtime/references/api-reference.md4.1 KB
  • sub-skills/server-runtime/references/configuration.md5.0 KB
  • sub-skills/server-runtime/references/model-overview.md4.2 KB
  • sub-skills/server-runtime/references/troubleshooting.md4.7 KB
  • sub-skills/server-runtime/scripts/benchmark_client.py3.3 KB
  • sub-skills/server-runtime/scripts/check_server_config.py4.2 KB
  • sub-skills/server-runtime/scripts/onnx_model_tools.py2.7 KB
  • sub-skills/server-runtime/scripts/onnx-flow.yml228 B
  • sub-skills/server-runtime/scripts/tensorrt-flow.yml232 B
  • sub-skills/server-runtime/scripts/torch-flow.yml229 B
  • sub-skills/server-runtime/SKILL.md3.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

CLIP-as-service Repo Skill

Use this skill when a task involves the CLIP-as-service package family: clip-client, clip-server, or the combined clip-as-service distribution. It covers running a CLIP embedding service, using the Python client against that service, ranking image/text matches, and building CLIP + AnnLite retrieval flows.

Quick routing

User goalRead
Connect to a running server, authenticate, call Client.profile, encode, rank, index, or search, or debug a client errorclient-api
Install/run clip_server, write a Flow YAML, choose PyTorch/ONNX/TensorRT, tune replicas/protocol/monitoring/TLS/Docker, or debug backend/model startupserver-runtime
Build semantic or cross-modal search with CLIP embeddings plus AnnLite, validate n_dim, workspace, sharding/polling, and index/search behaviorsearch-retrieval
Diagnose package install/import, optional dependency, data/config, backend, model-download, or connectivity failures across workflowsreferences/troubleshooting.md
Check whether this generated skill matches a checkout or package versionreferences/repo-provenance.md
Check package names, extras, and safe import probesreferences/install-and-package-map.md and scripts/check_install.py

Package layout and install basics

CLIP-as-service is split into independently installable packages:

pip install clip-client          # client-only machine
pip install clip-server          # PyTorch-backed server package
pip install "clip-server[onnx]"  # optional ONNX Runtime support
pip install "clip-server[tensorrt]"  # optional NVIDIA TensorRT support
pip install "clip-server[search]"    # optional AnnLite search indexer support

Install clip-client where requests are sent from. Install clip-server where the long-running embedding service runs. They do not need to be installed on the same host unless the user is developing or testing both locally.

Minimal import check:

python - <<'PY'
import clip_client, clip_server
print(clip_client.__version__, clip_server.__version__)
PY

To avoid background version-check network calls during automated probes, set NO_VERSION_CHECK=1 before importing these packages.

Core operating model

  • clip_server starts a Jina Flow that receives text/image Document objects and returns CLIP embeddings or ranking scores.
  • clip_client.Client sends requests to a server URI such as grpc://host:port, http://host:port, or TLS variants such as grpcs://host:port.
  • Encoding accepts text strings, image URIs, data URIs, local image paths, or DocArray Document objects. Ranking expects each root Document to contain cross-modal candidates in .matches or another configured source.
  • Search requires a Flow with a CLIP encoder plus a vector indexer such as AnnLite. Plain encoder-only servers do not own an index.

Backend boundary

Base PyTorch server usage can run on CPU or CUDA. ONNX, TensorRT, multilingual M-CLIP, Chinese CLIP, search indexing, and flash attention are optional surfaces with separate dependency requirements. Do not claim an optional backend has been verified just because base imports work. Use the nearest sub-skill troubleshooting reference when a backend import or runtime startup fails.

Safety and self-containment

This skill is self-contained for future agents. Use bundled references and scripts here instead of opening original repository docs, tests, or scripts. The bundled scripts are safe by default: they validate imports, signatures, YAML, or CLI arguments without starting model downloads, contacting servers, or mutating external state unless the user explicitly supplies runtime options.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

3ddfa

Free

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

acme

Free

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill341Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill