taichi-dev / quantaichi Goto Github PK
View Code? Open in Web Editor NEWQuanTaichi evaluation suite
QuanTaichi evaluation suite
Reproduction:
Under eulerian_fluid
, deflate the tarball under input
and run demo.py, the compiler complains that a 2D field is accessed with a 3D index.
Traceback
[Taichi] version 1.3.0, llvm 15.0.4, commit 0f25b95e, linux, python 3.8.13
cmd args: Namespace(advect='mc', debug=False, demo_id=0, dim=2, dye_type=0, frames=10000, outdir=None, quant_all=False, quant_dye=False, quant_v=False, res=512, rk=3, visualize=False)
[Taichi] Starting on arch=cuda
Level 0
coarsened_grid_size 1024
coarsened_offset (-512, -512)
sparse_grid_size 1040
sparse_offset [-520, -520]
Level 1
coarsened_grid_size 512
coarsened_offset [-256, -256]
sparse_grid_size 528
sparse_offset [-264, -264]
Level 2
coarsened_grid_size 256
coarsened_offset [-128, -128]
sparse_grid_size 272
sparse_offset [-136, -136]
Level 3
coarsened_grid_size 128
coarsened_offset [-64, -64]
sparse_grid_size 144
sparse_offset [-72, -72]
Traceback (most recent call last):
File "demo.py", line 99, in <module>
solver = FluidSolver(
File "/home/taichigraphics/work/taichi-repos/quantaichi/eulerian_fluid/solver.py", line 231, in __init__
self.set_custom_source(res=640)
File "/home/taichigraphics/work/taichi-repos/quantaichi/eulerian_fluid/solver.py", line 578, in set_custom_source
self.set_custom_source_helper(self.dye[0].field, self.density_source[k],
File "/home/taichigraphics/miniconda3/envs/taichi/lib/python3.8/site-packages/taichi/lang/kernel_impl.py", line 1008, in __call__
raise type(e)('\n' + str(e)) from None
taichi.lang.exception.TaichiIndexError:
File "/home/taichigraphics/work/taichi-repos/quantaichi/eulerian_fluid/solver.py", line 573, in set_custom_source_helper:
dyef[k - self.res // 2, i - self.res // 2,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
j - self.res // 2] = [0., 0.5, 1.0]
^^^^^^^^^^^^^^^^^^
Field with dim 2 accessed with indices of dim 3
some errors when I run the Eulerian fluid demo.
KeyError: 'Unrecognized keyword argument(s) for ti.init: use_unified_memory' ---> delete this argument
cft = ti.quant.fixed(frac=21, signed=True, range=2**5) TypeError: fixed() got an unexpected keyword argument 'range' ----> delete range argument
AttributeError: 'MatrixField' object has no attribute 'get_field_members'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.