본문으로 건너뛰기

huggingface/dell-ai

The official Python SDK and CLI for the Dell Enterprise Hub

https://skillcdn.ai/gh/huggingface/dell-ai

내 AI에 이 주소를 연결하면 이 스킬을 쓸 수 있어요. 연결 방법 보기

  • 미확인
  • 기본 브랜치main
  • 커밋eead83f
  • 라이선스Apache-2.0
  • 검색단어
GitHub에서 보기

dell-ai

Skill for interacting with Dell Enterprise Hub (DEH) - discovering models, exploring hardware platforms, generating deployment snippets, etc.

경로
skills/dell-ai/SKILL.md
라이선스
Apache-2.0

Dell AI

Use the dell-ai SDK and CLI to discover models, platforms, and apps on the Dell Enterprise Hub (DEH) and to deploy them locally.

Quick start

Install: uv pip install dell-ai

Authenticate and create a client:

from dell_ai import DellAIClient
client = DellAIClient()                 # uses cached Hugging Face token
client = DellAIClient(token="...")      # or pass explicitly

When to use

  • Find/list models and platforms on DEH.
  • Generate Docker/Kubernetes/Helm deployment snippets.
  • Run deployments on the local node.
  • Check status or tear down deployments.
  • Manage dell-ai environment variables.
  • Check system compatibility.

Core API

Models
  • client.list_models(query=, multimodal=, min_size=, max_size=, license_filter=, platform_id=) -> List[str]
  • client.search_models(...) -> full Model objects
  • client.get_model(model_id) -> Model
  • client.get_compatible_platforms(model_id) -> List[PlatformCompatibility]
  • client.check_model_access(model_id) -> True or raises
  • client.get_container_tags(model_id, platform_id) -> List[ContainerTag]
  • client.get_goodput_scenarios() -> GoodputReference
Platforms
  • client.list_platforms() -> List[str]
  • client.get_platform(platform_id) -> Platform
  • client.get_platform_system_info(platform_id) -> List[SystemInfo]
Applications
  • client.list_apps() -> List[str]
  • client.get_app(app_id) -> App
  • client.get_app_snippet(app_id, config=[{"helmPath": ..., "type": "string|boolean|number|json", "value": ...}]) -> Helm install command
Snippets and deployment

get_deployment_snippet and deploy_model require exactly one of num_gpus or goodput.

# Manual sizing
snippet = client.get_deployment_snippet(
    model_id="...",
    platform_id="xe9680-nvidia-h200",
    engine="docker",      # or "kubernetes"
    num_gpus=8,
    num_replicas=1,
    image_tag="vllm-v0.11.2",  # optional; from get_container_tags
)

# Goodput-optimized
snippet = client.get_deployment_snippet(
    model_id="...",
    platform_id="xe9680-nvidia-h200",
    engine="docker",
    goodput="balanced",   # balanced | long-context | high-concurrency | performance
)
Local deploy / undeploy / status
  • client.deploy_model(..., detach=True, local_dir="...", hf_cache_dir="...") returns {"success": ..., "endpoint": ..., "container_id": ...}
  • client.deploy_app(app_id, config=[...])
  • dell-ai models undeploy -d <deployment_id>
  • dell-ai status [--clean]

Registry helpers:

from dell_ai import deployments
deployments.list_deployments()
deployments.get_deployment(id)
deployments.delete_deployment(id)
Environment variables
  • dell-ai env set VAR value [--global]
  • dell-ai env get VAR
  • dell-ai env list [--local|--global]
  • dell-ai env delete VAR [--global]

Or use from dell_ai import env for SDK equivalents.

System utilities (Linux CLI)
  • dell-ai utils describe-system [-o out.json]
  • dell-ai utils check-system

Exceptions

All in dell_ai.exceptions: AuthenticationError, GatedRepoAccessError, ResourceNotFoundError, ValidationError, APIError.

Tips

  • Prefer get_deployment_snippet unless the user explicitly asks to run locally.
  • For deploy_model, runtime failures return {"success": False, "error": ...}; bad params still raise.
  • local_dir and hf_cache_dir are mutually exclusive on deploy_model.
  • Container image_tag values come from get_container_tags.
  • Run dell-ai status before dell-ai models undeploy -d <id>.
  • For full details, see README.md and docs/ in this repo or run dell-ai --help.

이 스킬의 파일

이 스킬에는 보조 파일이 없습니다.

지원 파일 전체 둘러보기