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

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

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

numba/numba

0
View on GitHub↗
10,918 星标·1,230 分支·Python·bsd-2-clause·9 次浏览numba.pydata.org↗

Numba

Numba 是一个即时(JIT)编译器,可在运行时将高级 Python 函数转换为优化的机器码。通过利用 LLVM 编译器基础设施,它提供了一个加速数值数据处理和数学计算的框架,使性能水平可与静态编译语言相媲美。

该项目通过其基于类型推断的特化能力脱颖而出,它能生成针对执行期间使用的特定数据类型量身定制的机器指令。它采用延迟编译流水线,将转换推迟到调用时刻,从而在保持跨不同处理器架构和操作系统的一致性能的同时,最大限度地减少启动开销。

除了核心编译外,该工具包还通过将迭代操作和数组表达式分布到多个 CPU 核心和图形处理器上,提供了对硬件加速的广泛支持。它利用向量化和并行化策略来最大限度地提高大规模数值数据集的吞吐量,使开发人员能够直接从标准代码中针对专用硬件进行优化。

Features

  • Python Compilers - Translates Python functions into optimized machine code at runtime to accelerate numerical computations.
  • Execution Performance Optimizers - Translates high-level mathematical functions into machine code at runtime to achieve native-like execution speeds.
  • Numeric Data Processing - Optimizes array operations and mathematical calculations to maximize efficiency for scientific and analytical workflows.
  • Just-in-Time Compilation Pipelines - Defers the translation of functions into machine code until the moment of first invocation to minimize startup overhead and optimize execution paths.
  • Just-in-Time Compilers - Translates high-level code into optimized native machine instructions at runtime for performance acceleration.
  • GPU Computations - Executes parallel algorithms on graphics hardware by targeting processing units directly within standard code.
  • GPU Acceleration - Enables GPU acceleration by executing parallel algorithms on specialized hardware directly within standard functions.
  • High-Performance and Parallel Computing - Distributes array operations and complex loops across multiple processor cores to improve performance.
  • Vectorized Array Operations - Optimizes numerical array operations by generating specialized machine instructions for large datasets.
  • Numerical Computing - Accelerates numerical computations by compiling mathematical functions into machine code at runtime.
  • CPU Optimizations - Distributes array expressions and loops across multiple processor cores using threading and vectorization techniques.
  • GPU Kernel Implementations - Offloads intensive computational workloads to graphics hardware by compiling standard code into parallel kernels.
  • Parallel Processing - Distributes array expressions and loops across multiple processor cores and graphics units to improve speed.
  • Numerical Libraries - Generates efficient machine code for mathematical functions to achieve high-performance numerical computing.
  • Parallel Processing - Distributes iterative operations across multiple processor cores and utilizes SIMD instructions to maximize throughput.
  • Runtime Specialization - Generates highly optimized machine code tailored to the specific data types used in each function call.
  • 并行处理 - 用于高性能 Python 代码的 JIT 编译器。
  • Scientific Computing - JIT compiler for scientific Python.
  • Data Manipulation Libraries - JIT compiler for fast Python and NumPy code.
  • Computation and Optimization - Compiler for Python array and numerical functions.
  • Parallel and High-Performance Computing - JIT compiler for high-performance Python code.
  • Scientific Computing - Listed in the “Scientific Computing” section of the Awesome Python awesome list.
  • Compilers - Leverages compiler infrastructure to generate specialized machine instructions for diverse CPU and GPU architectures.
  • Intermediate Representations - Uses modular compiler infrastructure to transform code into intermediate formats for cross-platform optimization.
  • Parallelizing Compilers - Automatically transforms code into parallel execution formats to ensure consistent performance across architectures.
  • Portable Application Distributions - Facilitates portable application deployment by distributing source code that compiles automatically at runtime.

Star 历史

numba/numba 的 Star 历史图表numba/numba 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

常见问题解答

numba/numba 是做什么的?

Numba 是一个即时(JIT)编译器,可在运行时将高级 Python 函数转换为优化的机器码。通过利用 LLVM 编译器基础设施,它提供了一个加速数值数据处理和数学计算的框架,使性能水平可与静态编译语言相媲美。

numba/numba 的主要功能有哪些?

numba/numba 的主要功能包括:Python Compilers, Execution Performance Optimizers, Numeric Data Processing, Just-in-Time Compilation Pipelines, Just-in-Time Compilers, GPU Computations, GPU Acceleration, High-Performance and Parallel Computing。

numba/numba 有哪些开源替代品?

numba/numba 的开源替代品包括: cupy/cupy — CuPy is a CUDA array computing library that implements a NumPy-compatible interface for executing array operations and… dask/dask — Dask is a parallel computing framework and distributed task scheduler designed to scale Python data science workflows… fastai/numerical-linear-algebra — This project is a comprehensive library for numerical linear algebra and scientific computing, designed to provide… higherorderco/bend — Bend is a high-level parallel programming language and compiler designed to execute code across multi-core CPUs and… scipy/scipy — SciPy is a scientific computing library for Python that provides a comprehensive collection of mathematical algorithms… shapely/shapely — Shapely is a library for the manipulation and analysis of planar geometric objects, serving as a Python wrapper for…

Numba 的开源替代方案

相似的开源项目,按与 Numba 的功能重合度排序。
  • cupy/cupycupy 的头像

    cupy/cupy

    11,000在 GitHub 上查看↗

    CuPy is a CUDA array computing library that implements a NumPy-compatible interface for executing array operations and numerical computing on NVIDIA GPUs. It serves as a GPU-accelerated numerical library and a CUDA-based SciPy implementation, offloading heavy calculations to graphics hardware to increase processing speed for scientific and engineering workloads. The library enables multi-framework tensor exchange, allowing data buffers to be shared between different deep learning frameworks using standardized memory layouts to avoid memory copies. It also supports custom GPU kernel integratio

    Python
    在 GitHub 上查看↗11,000
  • dask/daskdask 的头像

    dask/dask

    13,746在 GitHub 上查看↗

    Dask is a parallel computing framework and distributed task scheduler designed to scale Python data science workflows from single machines to large clusters. It functions as a cluster resource manager that orchestrates computational logic by representing tasks and their dependencies as directed acyclic graphs. This architecture allows the system to automate the distribution of workloads across available hardware while managing complex execution requirements. The project distinguishes itself through a lazy evaluation engine that defers data operations until they are explicitly requested, enabl

    Pythondasknumpypandas
    在 GitHub 上查看↗13,746
  • fastai/numerical-linear-algebrafastai 的头像

    fastai/numerical-linear-algebra

    10,703在 GitHub 上查看↗

    This project is a comprehensive library for numerical linear algebra and scientific computing, designed to provide optimized routines for matrix decomposition, statistical modeling, and high-performance data analysis. It serves as both a toolkit for solving complex linear systems and an educational resource for understanding the fundamental algorithms behind matrix factorizations and numerical solvers. The library distinguishes itself through a focus on randomized numerical linear algebra, utilizing probabilistic algorithms and approximate methods to perform dimensionality reduction and matri

    Jupyter Notebookalgorithmsdata-sciencedeep-learning
    在 GitHub 上查看↗10,703
  • higherorderco/bendHigherOrderCO 的头像

    HigherOrderCO/Bend

    19,175在 GitHub 上查看↗

    Bend is a high-level parallel programming language and compiler designed to execute code across multi-core CPUs and GPUs automatically. By translating functional source code into a graph-based intermediate representation, it enables massive parallel execution without requiring manual management of threads, locks, or atomic operations. The runtime operates as an interaction net engine, where computations are represented as networks of nodes that reduce through local rewriting rules. This model utilizes a work-stealing scheduler to distribute tasks across thousands of hardware threads, ensuring

    Rust
    在 GitHub 上查看↗19,175
  • 查看 Numba 的所有 30 个替代方案→