Taichi

Latest version: v1.7.1

Safety actively analyzes 638388 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 22

2.7

- supports passing vector/matrix arguments in autodiff kernel
- supports autodiff for torch Tensor and taichi ndarray on CPU and CUDA
- supports passing grad tensor to primal kernel

3. Bug Fixes

2.6

- Improved the quality and coverage of error messages

2.5

- Added C-APIs of `ti_import_cpu_memory()` and `ti_import_cuda_memory()`
- Added support for multiple AOT runtime devices
- Added support for matrix/vector in compute graph in C-API
- Added support for matrix/vector in compute graph in Python

2.4

- Added Metal backend support for GGUI

2.3

Added helper function to create a 2D/3D sparse grid, for example:

create a 2D sparse grid
grid = ti.sparse.grid(
{
"pos": ti.math.vec2,
"mass": ti.f32,
"grid2particles": ti.types.vector(20, ti.i32),
},
shape=(10, 10),
)

access
grid[0, 0].pos = ti.math.vec2(1, 2)
grid[0, 0].mass = 1.0
grid[0, 0].grid2particles[2] = 123

2.2

Added the following `ti.simt.block` APIs:
- `ti.simt.block.sync_any_nonzero`
- `ti.simt.block.sync_all_nonzero`
- `ti.simt.block.sync_count_nonzero`

Page 2 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.