本文へ移動
cccskills
無料GitHub で公開

clip-as-service

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

インストール方法を見る

含まれるファイル(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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

3ddfa-v2

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

ab3dmot

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

acme

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年9月3日 更新

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する