4 个仓库
Mechanisms for calling code written in one programming language from another.
Distinct from External Integrations: None of the candidates fit the general capability of integrating external compiled code; minting under Software Engineering & Architecture.
Explore 4 awesome GitHub repositories matching software engineering & architecture · Foreign Function Interfaces. Refine with filters or upvote what's useful.
NumPy is a foundational library for scientific computing in Python, providing a comprehensive framework for managing and manipulating large-scale numerical information. It centers on high-performance multidimensional array objects that serve as the primary data structure for complex mathematical operations and data analysis workflows. The library distinguishes itself through specialized mechanisms for handling multidimensional data, including advanced indexing, slicing, and broadcasting techniques that allow for efficient operations across arrays of varying shapes. It utilizes strided metadat
Connects low-level routines to high-level scripts to execute performance-critical logic.
This project provides Rust bindings for the TensorFlow C API, serving as a tensor computation interface and machine learning library. It enables the construction and execution of machine learning models and neural networks by bridging a systems language to high-performance backends. The framework supports GPU-accelerated computing to increase the speed of model training and inference by offloading mathematical operations to graphics processing units. It offers both graph-based computation for defining static network architectures and an eager execution mode for immediate operation calls durin
Converts native arrays into tensor formats to move data efficiently between the application and the external engine.
AutoGPTQ 是一个模型压缩工具包和训练后量化框架,旨在减少大语言模型的内存占用。它利用 GPTQ 算法压缩神经网络权重,降低硬件要求并减少 VRAM 使用量。 该项目通过提供优化内核来提高 Token 生成速度,从而充当推理加速器。它具有模型架构扩展性,允许通过可配置模式将量化能力添加到新的模型结构中。 该框架涵盖了全面的量化流水线,包括层级权重压缩、基于校准的缩放估计以及特定精度的内存映射。它还包括用于模型性能评估的系统,以衡量量化对语言和摘要任务准确性的影响。
Maps quantized tensors to specific memory layouts to enable faster loading and execution on hardware accelerators.
Janet is a Lisp-based dynamic programming language featuring a register-based bytecode virtual machine and an embeddable scripting engine. It functions as a fiber-based concurrency runtime and includes a parsing engine based on Parsing Expression Grammars. The project is distinguished by its ability to be integrated into C or C++ applications via a minimal header interface. It utilizes a Lisp-style macro system for compile-time code transformation and employs prototype-based table inheritance for object-oriented behavior. The runtime covers a broad set of capabilities, including asynchronous
Integrates native code into scripts by defining function signatures and managing memory pointers via a foreign function interface.