4 个仓库
Execution patterns where model outputs are derived from state and inputs through stateless functions.
Distinct from Functional Transformations: Focuses on the application of pure functions to neural network forward passes for JIT and autograd compatibility.
Explore 4 awesome GitHub repositories matching artificial intelligence & ml · Pure Function Model Execution. Refine with filters or upvote what's useful.
Flax is a deep learning framework and JAX neural network library designed for building complex machine learning models. It functions as a distributed training library and model state manager, providing a toolkit for defining flexible neural network architectures and scaling their training across multiple hardware devices. The project is characterized by a design that separates network logic from parameter values to remain compatible with pure functions. It uses hierarchical module composition to organize networks as trees of nested modules and employs a reference-based state management system
Transforms model state and inputs into outputs through stateless functions to enable JAX transformations.
Trail of Bits identifies functions declared as constant/pure/view that change the state, potentially trapping contracts compiled with Solidity 0.5.
whisper-jax 是使用 JAX 框架重写的 Whisper 自动语音识别模型的高性能实现。它专为加速推理而设计,并使用 XLA 编译来优化硬件加速器上的模型执行。 该项目专注于 TPU 优化的转录,以实现高吞吐量和速度。它包括一个权重转换流水线,将预训练的模型参数从 PyTorch 转换为 JAX 兼容的数组。 该系统支持将音频转录为文本、跨多种语言翻译语音以及生成音频时间戳。它支持批量音频处理,并通过数据并行批处理和模型并行张量分区来扩展性能。 该项目提供了一种将转录模型部署为带有 Web 界面的远程推理端点的方法。
Employs stateless functions for model execution to ensure compatibility with JIT compilation and automatic differentiation.
This project is a Python software development kit and framework for building applications that integrate with large language models. It serves as a multimodal content generator and vector embedding library, enabling the production and editing of text, images, audio, and video. The toolkit provides specialized capabilities for adapting base models through supervised and reinforcement training. It further distinguishes itself by offering tools for orchestrating complex workflows, including stateful chat sessions, the enforcement of structured output via schemas, and the integration of external
Connects a model to custom functions or external tools to request and receive real-world data.