awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
pytorch avatar

pytorch/serveArchived

0
View on GitHub↗
4,354 星标·883 分支·Java·Apache-2.0·8 次浏览pytorch.org/serve↗

Serve

这是一个 PyTorch 模型服务框架,旨在通过可扩展的网络端点在生产环境中部署和扩展机器学习模型。它充当高性能推理服务器、优化器和模型生命周期管理器,处理模型加载、请求批处理和硬件加速。

该系统通过先进的编排和优化功能脱颖而出,例如使用执行图将多个模型链接到顺序工作流中,以及采用动态批处理来提高吞吐量和降低延迟。它通过连续批处理和张量并行化为生成式 AI 和大型语言模型提供专门支持。

广泛的功能领域包括跨 NVIDIA、AMD 和 Apple Silicon 等不同硬件的 GPU 资源管理,以及用于注册、版本控制和工作节点扩展的全面模型生命周期管理。它还集成了用于通过 Prometheus 兼容指标跟踪系统健康状况和模型性能的可观测性工具。

该服务器通过用于生命周期控制和运行时参数配置的命令行界面进行管理。

Features

  • Dynamic Batching Engines - Aggregates individual incoming requests into larger batches to maximize GPU throughput and saturate hardware capacity.
  • PyTorch Model Serving - Hosts PyTorch models as scalable network services to provide predictions via API endpoints in production.
  • ML Model Hosting - Hosts PyTorch machine learning models in production environments using a Python-based serving tool.
  • Model Request Routing - Directs inference requests to specific models hosted on a shared endpoint.
  • Model Registrations - Deno X adds a model to the server using a local file or remote URL.
  • Batch Inference Engines - Processes multiple inference requests simultaneously through REST and gRPC endpoints to increase total throughput.
  • Custom Model Definitions - Deno X provides scripts to manage model initialization and data processing for cross-framework compatibility.
  • Generative AI Model Serving - Supports generative AI models using advanced techniques like continuous batching, streaming, and pipeline parallelism.
  • Hardware-Accelerated Inference - Utilizes NVIDIA GPUs and Intel extensions to execute machine learning models directly on specialized hardware.
  • Inference Optimization Tools - Optimizes model throughput and latency through hardware acceleration and request batching.
  • Inference Server Runtimes - Starts the process entry point to create endpoints and listen for requests.
  • Large Language Model Serving - Implements tensor parallelism and continuous batching specifically for serving large language models with streaming responses.
  • GPU Resource Management - Distributes model workloads across multiple GPUs and optimizes memory utilization for large scale deployments.
  • Model Inference Servers - Functions as a high-performance server that hosts machine learning models to provide scalable, network-accessible inference.
  • Model Routing - Routes requests to a particular model within a shared endpoint using a target identifier.
  • Inference Optimizations - Implements techniques to reduce latency and increase throughput during the model inference phase.
  • Model Loading - Deno X initializes a model object for serving by loading state files or scripts from storage.
  • Model Artifact Packaging - Bundles model weights, configuration, and dependency requirements into a single archive for consistent reproduction.
  • Model Lifecycle Management - Provides a dedicated interface for managing the registration, versioning, and deletion of AI models.
  • Sequential Workflow Execution - Deno X runs a sequence of connected models using a management interface to coordinate tasks.
  • Model Serving & Deployment - Serves several distinct models simultaneously by assigning unique network endpoints.
  • Model Unregistration - Deno X removes a specific model version from the server to reclaim system resources.
  • PyTorch Model Serving Frameworks - Provides a complete system for deploying and scaling PyTorch models in production via scalable network endpoints.
  • Inference Batching - Groups multiple model inference requests into a single hardware execution pass to maximize GPU throughput.
  • Model Inference Chaining - Deno X links the result of one model to the input of another to create a sequential pipeline.
  • Model Deployments - Loads models into a live environment to provide predictions via network interfaces.
  • Worker Scaling - Manages worker process counts and GPU assignments per model to balance hardware utilization and request concurrency.
  • Model Inference Runtimes - Loads models into specialized execution environments designed for high-throughput machine learning inference.
  • Concurrency Scaling Models - Manages a pool of isolated backend processes per model version to balance hardware utilization.
  • Model Pipeline Orchestration - Chains multiple models into sequential workflows and manages the data flow between them in a production graph.
  • Graph-Based Workflow Orchestrators - Links multiple models into a directed execution graph to coordinate complex sequential data processing workflows.
  • Inference Pipelines - Decouples model loading and data transformation from the core server using customizable scripts.
  • Request Batching - Aggregates multiple incoming inference requests into a single batch to maximize GPU and hardware utilization.
  • Instance Resource Metrics - Gathers CPU, disk, and GPU utilization data to monitor the hosting environment's resource usage.
  • Inference Server Metric Exporters - Tracks and exports critical operational data to monitor the health and performance of the inference server.
  • Prometheus Metrics Exporters - Exposes system and model performance metrics via a standardized HTTP endpoint in Prometheus format.
  • AMD Hardware Acceleration - Provides support for offloading model inference to AMD graphics hardware via the ROCm stack.
  • CPU Optimizations - Increases inference speed on CPUs through launcher core pinning and logical core allocation.
  • Pre- and Post-Inference Pipelines - Deno X embeds initialization, preprocessing, inference, and post-processing logic into a single script.
  • Apple Silicon GPU Accelerators - Leverages Metal Performance Shaders to enable GPU acceleration for inference on Apple M-series hardware.
  • Throughput Optimizers - Balances response latency and request throughput by adjusting batch sizes and processing delays.
  • Performance Benchmarking - Includes tools to generate latency and throughput reports across various model and server configurations.
  • Inference Deployment Orchestrators - Integrates with orchestrators to provide autoscaling and canary deployments for inference workloads.
  • Incremental Inference Streaming - Sends model outputs to clients incrementally as they are generated to show progress.
  • Model Parallelism - Splits large model weights across multiple GPU devices using pipeline parallelism to overcome memory limits.
  • Model Inventories - Provides a paginated list of all registered models and their associated default versions.
  • Hardware-Aware Deployment - Deploys pipeline components across CPUs and GPUs to optimize operational costs based on hardware capabilities.
  • Multi-Model Endpoints - Serves various models from a single endpoint by loading them based on request patterns.
  • Runtime Status Monitoring - Allows retrieval of runtime status, resource usage, and metadata for all registered model versions.
  • Graph-Based - Executes a sequence of models using a directed graph to manage complex data flows.
  • Batch Input Processing - Accepts multiple data inputs in a single call to increase the efficiency of processing requests.
  • Local Model Loading - Deno X imports model files and handlers into the runtime environment using a specified directory.
  • Model Artifact Caches - Reduces deployment latency by compiling model artifacts ahead of time and caching the resulting binaries.
  • Hardware Resource Pinning - Assigns specific GPU devices and pins CPU cores to individual worker processes to reduce memory contention.
  • Inference Cluster Scaling - Distributes model workloads across a cluster to handle increased production traffic.
  • GPU Resource Orchestrators - Caps the total number of available GPUs and assigns specific device IDs to models to manage resources.
  • Automatic Model Loading - Deno X configures specific model archives to enter memory automatically when the server begins.
  • Multi-GPU Workload Distribution - Distributes model workers across available GPU devices using a round-robin process to balance workloads.
  • Inference Format Optimizations - Profiles and exports models into optimized formats like ONNX and TensorRT to increase inference speed.
  • Model Memory Managers - Reduces CPU memory usage and maps model shards to efficiently serve large models in limited device memory.
  • Core-Pinned Task Scheduling - Improves memory access performance by pinning thread affinity to specific physical CPU cores.
  • Token-based Authorization - Requires valid bearer tokens in request headers to ensure only authorized users access inference endpoints.
  • Inference Logic Scripts - Deno X executes scripts to customize input preparation and result refinement before returning responses.
  • Graph-Based Workflow Models - Implements the registration and sequencing of models using directed execution graphs to coordinate complex workflows.
  • Inference Server Parameters - Provides controls for adjusting worker counts, batch sizes, and timeouts via JSON or YAML configurations.
  • Default Version Assignment - Deno X designates a specific registered version of a model to handle all incoming requests.
  • Inference Performance Monitoring - Tracks inference metrics, system resource usage, and model performance using Prometheus compatible exports.
  • Server Health Monitoring - Verifies the operational status and responsiveness of the running server using gRPC pings.
  • Model Health Monitors - Tracks operational health and performance metrics of deployed models via Prometheus-compatible exports.
  • System Logging and Debugging - Collects operational logs and custom output from backend workers to facilitate debugging.
  • Inference Server Settings - Sets execution parameters like worker counts and batch sizes via configuration files.
  • Model Serving - Flexible tool for serving PyTorch models in production.
  • Model Serving & Deployment - Serves PyTorch models with a flexible toolset.
  • Model Serving Frameworks - Production-ready model serving library for PyTorch.
  • Model Serving and Deployment - Model serving framework specifically for PyTorch models.
  • Model Serving - Model serving framework specifically for PyTorch models.
  • Serving Frameworks - Production-grade serving and scaling for PyTorch models.

Star 历史

pytorch/serve 的 Star 历史图表pytorch/serve 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

pytorch/serve 是做什么的?

这是一个 PyTorch 模型服务框架,旨在通过可扩展的网络端点在生产环境中部署和扩展机器学习模型。它充当高性能推理服务器、优化器和模型生命周期管理器,处理模型加载、请求批处理和硬件加速。

pytorch/serve 的主要功能有哪些?

pytorch/serve 的主要功能包括:Dynamic Batching Engines, PyTorch Model Serving, ML Model Hosting, Model Request Routing, Model Registrations, Batch Inference Engines, Custom Model Definitions, Generative AI Model Serving。

pytorch/serve 有哪些开源替代品?

pytorch/serve 的开源替代品包括: kserve/kserve — KServe is a Kubernetes-native platform for deploying and serving machine learning models as scalable inference… kubeflow/kfserving — KServe is an open platform for deploying and serving generative and predictive AI models on Kubernetes. It defines… bentoml/bentoml — BentoML is a machine learning model serving framework and GPU-accelerated inference server designed to package,… nvidia/isaac-gr00t. seldonio/seldon-core — Seldon Core is a Kubernetes-based machine learning model server and MLOps inference framework. It functions as a… triton-inference-server/server — Triton Inference Server is a high-performance server designed to deploy machine learning models from multiple…

Serve 的开源替代方案

相似的开源项目,按与 Serve 的功能重合度排序。
  • kserve/kservekserve 的头像

    kserve/kserve

    5,576在 GitHub 上查看↗

    KServe is a Kubernetes-native platform for deploying and serving machine learning models as scalable inference services. It supports both generative AI models, including large language models, and traditional predictive models from frameworks such as TensorFlow, PyTorch, Scikit-Learn, XGBoost, and ONNX. The platform manages the full lifecycle of model deployments, including revision tracking, canary rollouts, A/B testing, and automatic rollbacks, and provides serverless scale-to-zero capabilities for cost-efficient resource management. KServe distinguishes itself through a standardized infere

    Go
    在 GitHub 上查看↗5,576
  • kubeflow/kfservingkubeflow 的头像

    kubeflow/kfserving

    5,576在 GitHub 上查看↗

    KServe is an open platform for deploying and serving generative and predictive AI models on Kubernetes. It defines inference services as custom resources with declarative YAML specifications, enabling a Kubernetes-native approach to model deployment and lifecycle management. The platform leverages Knative-based serverless scaling for automatic scale-to-zero and revision management, and supports a pluggable serving runtime architecture that maps model formats to containerized execution environments. KServe distinguishes itself through model-aware autoscaling that scales replicas based on token

    Go
    在 GitHub 上查看↗5,576
  • bentoml/bentomlbentoml 的头像

    bentoml/BentoML

    8,456在 GitHub 上查看↗

    BentoML is a machine learning model serving framework and GPU-accelerated inference server designed to package, deploy, and scale AI models as production-ready REST APIs. It functions as an AI model lifecycle manager and an inference graph orchestrator, enabling the chaining of multiple models and custom logic into complex pipelines for advanced task sequences. The framework distinguishes itself through a dynamic batching engine that optimizes GPU throughput and an artifact-based packaging system that bundles model weights and dependencies into immutable archives for consistent deployment. It

    Pythonai-inferencedeep-learninggenerative-ai
    在 GitHub 上查看↗8,456
  • nvidia/isaac-gr00tNVIDIA 的头像

    NVIDIA/Isaac-GR00T

    6,222在 GitHub 上查看↗
    Jupyter Notebook
    在 GitHub 上查看↗6,222
  • 查看 Serve 的所有 30 个替代方案→