RepositoryPythonCHThụy Sĩ
camlab-ethz

camlab-ethz/TensorMesh

A fast, differentiable, JIT-free, debugging-friendly finite element library for PyTorch.

238sao
28fork
0issue
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ủ đề: differentiable-simulations

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: fem

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: numerical

#1 Repository của tuần

🚀 TensorMesh: FEM khác biệt trên PyTorch — nhanh, linh hoạt, không JIT

Một thư viện phần tử hữu hạn (FEM) được thiết kế nguyên bản trên PyTorch, kết hợp hiệu năng GPU và khả năng tính toán khác biệt tự động.

TensorMesh là một thư viện phương pháp phần tử hữu hạn (Finite Element Method - FEM) được xây dựng trực tiếp trên nền tảng PyTorch. Dự án do nhóm nghiên cứu camlab-ethz phát triển, giúp giải các phương trình vi phân (PDE) với trải nghiệp hiện đại từ học sâu — tự động khác biệt, tăng tốc GPU, thực thi eager — mà không hy sinh độ chính xác của FEM truyền thống.

✨ Điểm nổi bật

  • GPU-native & differentiable: Di chuyển toàn bộ quy trình FEM sang GPU chỉ với một dòng lệnh, mọi phép tính downstream như lắp ráp, giải hệ và gradient đều kế thừa thiết bị tự động.
  • High-performance tensorized assembly: Thuật toán Map-Reduce hoàn toàn tensorized dựa trên TensorGalerkin, hợp nhất các phép toán trên từng phần tử thành kernel GPU đơn, tăng tốc đáng kể so với FEM truyền thống.
  • JIT-free & debugging-friendly: Thực thi eager không có chi phí biên dịch, hỗ trợ lưới động, tinh chỉnh phản hồi và làm việc tương tác mà không cần biên dịch lại.
  • Hỗ trợ đầy đủ phần tử & lưới: Các phần tử tam giác, tứ diện, chóp và lăng trụ với công cụ sinh lưới tự động và hỗ trợ nhập xuất Gmsh/VTKHDF5.
  • Giải bài toán linh hoạt: Dựa trên thư viện torch-sla, hỗ trợ bộ giải tuyến tính, phi tuyến và trị riêng trên CPU/GPU với autograd đầy đủ.
  • API Pythonic: Viết dạng yếu (weak form) bằng Python thuần, không cần DSL hay trình biên dịch riêng.

💡 Vì sao đáng chú ý

TensorMesh khác biệt so với các thư viện FEM truyền thống ở chỗ kết hợp sâu với PyTorch, mang lại khả năng tính toán khác biệt tự động và tăng tốc GPU mà vẫn giữ nguyên tính chính xác của FEM. Đây là lựa chọn lý tưởng cho các ứng dụng AI4Science, mô phỏng khác biệt và tối ưu hóa các hệ PDE phức tạp.


#AI4Science #DeepLearning #FiniteElementMethods #PyTorch #DifferentiableSimulations #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
deepspeedai/DeepSpeed

DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.

43.4k
Dec 1, 2026
RepositoryPython
adtzlr/felupe

Open finite element infrastructure for nonlinear computational mechanics.

192
Nov 26, 2026
RepositoryPython
pytorch/pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

105.8k
Dec 1, 2026
RepositoryJupyter Notebook
rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

109.4k
Nov 26, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.8k
Nov 2, 2026
RepositoryPython
labmlai/annotated_deep_learning_paper_implementations

🧑‍🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠

67.8k
Nov 2, 2026
RepositoryPython
keras-team/keras

Deep Learning for humans

64.5k
Dec 1, 2026
RepositoryPython
ultralytics/ultralytics

Ultralytics YOLO27, YOLO26, YOLO11, YOLOv8 — object detection, instance segmentation, semantic segmentation, image classification, pose estimation, object tracking

63.9k
Dec 1, 2026