Giter Site home page Giter Site logo

hzy5000 / taichi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from taichi-dev/taichi

0.0 0.0 0.0 28.03 MB

The Taichi Programming Language

Home Page: http://taichi.graphics

License: MIT License

CMake 3.63% Python 8.94% C++ 80.33% C 0.22% Cuda 6.74% Dockerfile 0.14%

taichi's Introduction

The Taichi Programming Language [Details]

Linux (CUDA) OS X Chat
Build Status Build Status Join the chat at https://gitter.im/taichi-dev/Lobby

High-Performance Computation on Sparse Data Structures [Paper] [Video]

Updates

# CPU only. No GPU/CUDA needed
python3 -m pip install taichi-nightly

# With GPU (CUDA 10.0) support
python3 -m pip install taichi-nightly-cuda-10-0

# With GPU (CUDA 10.1) support
python3 -m pip install taichi-nightly-cuda-10-1
  • (Oct 24, 2019) Python wheels (v0.0.61) released for Python 3.6/3.7 and CUDA 10.0/10.1 on Ubuntu 16.04+. Contributors of this release include Yuanming Hu, robbertvc, Zhoutong Zhang, Tao Du, Srinivas Kaza, and Kenneth Lozes.
  • (Oct 22, 2019) Added support for kernel templates. Kernel templates allow users to pass in taichi tensors and compile-time constants as kernel parameters.
  • (Oct 9, 2019) Compatibility improvements. Added a basic PyTorch interface. [Example].
  • (Oct 7, 2019) Released experimental python 3.6 wheels on Linux (tested on Ubuntu 16.04/18.04) for those who are eager to try without building from source. More stable releases are coming in a few days. To install them:

Notes:

  • You still need to clone this repo for demo scripts under examples. You do not need to execute install.py. After installation using pip you can simply go to examples and execute, e.g., python3 mpm.py.
  • Make sure you have clang-7. On Ubuntu 18.04 you can install it with sudo apt-get install clang-7. See here for installing clang-7 on Ubuntu 16.04. You will also need g++-7 on Ubuntu16.04 (for c++17 headers). To install:
# Ubuntu 16.04 only
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-7 -y
  • Make sure you clear your legacy Taichi installation (if applicable) by cleaning the environment variables (delete TAICHI_REPO_DIR, and remove legacy taichi from PYTHONPATH) in your .bashrc or .zshrc. Or you can simply do this in your shell to temporarily clear them:
export PYTHONPATH=
export TAICHI_REPO_DIR=

The Taichi Library [Legacy branch]

Taichi is an open-source computer graphics library that aims to provide easy-to-use infrastructures for computer graphics R&D. It's written in C++14 and wrapped friendly with Python.

News

taichi's People

Contributors

yuanming-hu avatar bachili avatar aekul avatar squarefk avatar fksquare avatar 0xflotus avatar beaugunderson avatar jgfuchs avatar animatedrng avatar gitter-badger avatar ljcc0930 avatar ziyinq avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.