RepositoryPython
devitocodes

devitocodes/devito

DSL and compiler framework for automated finite-differences and stencil computation

721sao
272fork
98issue
3lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: sympy

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: dsl

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: fwi

#1 Repository của tuần

🚀 Devito: Tính toán Stencil nhanh từ định nghĩa biểu tượng

Devito biến phương trình vi phân thành code C/LLVM tối ưu bằng JIT compilation.

Devito là một thư viện Python dùng để sinh code stencil tối ưu (finite differences, image processing, ML) từ các định nghĩa biểu tượng cấp cao. Dựa trên SymPy, Devito dùng code generation và JIT compilation để chạy kernel tối ưu trên CPU, GPU, và các cụm máy tính.

✨ Điểm nổi bật

  • Functional language: Biểu diễn toán tử finite difference bằng ngôn ngữ hàm.
  • Tự động tối ưu: Phát hiện và áp dụng tối ưu hóa đa luồng, vectorization, biến đổi biểu tượng.
  • Hỗ trợ đa nền tảng: CPU, GPU (OpenMP/OpenACC), multi-node (MPI).
  • Sparse operators: Hỗ trợ nội suy, convolution, tensor contraction.
  • Boundary conditions & adjoint: Hỗ trợ điều kiện biên và toán tử nghịch đảo.
  • Custom stencils: Linh hoạt định nghĩa stencil, lưới stagger, sub-sampling.
  • Autotuning: Tối ưu hiệu nhiệu tự động.
  • Tích hợp NumPy/SymPy/Dask/SciPy/TensorFlow/PyTorch.

💡 Vì sao đáng chú ý

Devito không chỉ tạo code — nó phân tích toán tử, áp dụng biến đổi biểu tượng để giảm FLOP, rồi sinh code C/LLVM chạy trực tiếp. Phù hợp với mô phỏng PDE, xử lý tín hiệu, và nghiên cứu số nhanh.


#FiniteDifference #SymPy #JIT #HPC #StencilComputation #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
apache/tvm

Open Machine Learning Compiler Framework

13.9k
Nov 24, 2026
RepositoryCuda
flashinfer-ai/flashinfer

FlashInfer: Kernel Library for LLM Serving

7.0k
Dec 1, 2026
RepositoryC++
halide/Halide

a language for fast, portable data-parallel computation

6.6k
Dec 3, 2026
RepositoryC++
ProjectPhysX/FluidX3D

The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs and CPUs via OpenCL. Free for non-commercial use.

5.4k
Nov 26, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Oct 31, 2026
RepositoryPython
pytorch/pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

105.8k
Dec 1, 2026
RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

212.6k
Dec 2, 2026
RepositoryPython
521xueweihan/HelloGitHub

:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.

192.8k
Nov 27, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

488.2k
Dec 3, 2026