taichi-dev / taichi

Productive, portable, and performant GPU programming in Python.
https://taichi-lang.org
Apache License 2.0
25.43k stars 2.27k forks source link

taichi 0.7.23版本,win10 #2463

Open zhjzhjxzhl opened 3 years ago

zhjzhjxzhl commented 3 years ago

运行example里的mpm128,mpm88,fractal等,开启窗口后立马退出 无报错信息: 打印信息如下 PS E:\cs201PhysicalEngine> ti example mpm128 [Taichi] mode=release [Taichi] version 0.7.23, llvm 10.0.0, commit 0b89df86, win, python 3.7.6


Taichi Programming Language


Docs: https://taichi.rtfd.io/zh_CN/latest GitHub: https://github.com/taichi-dev/taichi Forum: https://forum.taichi.graphics

Running example mpm128 ... [Taichi] Starting on arch=cuda [Hint] Use WSAD/arrow keys to control gravity. Use left/right mouse bottons to attract/repel. Press R to reset. [Taichi] materializing...

改为cpu运行时正常的,换cuda,gpu不行。cuda的环境也安装了

k-ye commented 3 years ago

what's your last good version?

zhjzhjxzhl commented 3 years ago

what's your last good version?

i have try 0.7.22,and the same problem.i just install taichi today,have any recommend version?

zhjzhjxzhl commented 3 years ago

GPU 是 RTX2060,图灵架构

k-ye commented 3 years ago

Hm, could you try 0.7.19?

archibate commented 3 years ago

taichi's most stable version might be 0.7.8, where taichi_three also worked excellently. these days taichi seems under too aggressive refactors and break many things...

无法顺畅的大口呼吸,是活着的最好证明

---原始邮件--- 发件人: "Ye @.> 发送时间: 2021年6月25日(周五) 下午5:49 收件人: @.>; 抄送: @.***>; 主题: Re: [taichi-dev/taichi] taichi 0.7.23版本,win10 (#2463)

Hm, could you try 0.7.19?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zhjzhjxzhl commented 3 years ago

Hm, could you try 0.7.19? same issue. log is E:\cs201PhysicalEngine> ti example mpm88 [Taichi] mode=release [Taichi] version 0.7.19, llvm 10.0.0, commit 19356808, win, python 3.7.6


Taichi Programming Language


Docs: https://taichi.rtfd.io/zh_CN/latest GitHub: https://github.com/taichi-dev/taichi Forum: https://forum.taichi.graphics

Running example mpm88 ... [Taichi] Starting on arch=cuda [Taichi] materializing...

zhjzhjxzhl commented 3 years ago

taichi's most stable version might be 0.7.8, where taichi_three also worked excellently. these days taichi seems under too aggressive refactors and break many things... 无法顺畅的大口呼吸,是活着的最好证明 ---原始邮件--- 发件人: "Ye @.> 发送时间: 2021年6月25日(周五) 下午5:49 收件人: @.>; 抄送: @.***>; 主题: Re: [taichi-dev/taichi] taichi 0.7.23版本,win10 (#2463) Hm, could you try 0.7.19? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

0.7.8 do not work either

k-ye commented 3 years ago

What's the output of ti diagnose?

these days taichi seems under too aggressive refactors and break many things...

Or maybe you should stop using taichi's internal methods to implement your toys :-)

zhjzhjxzhl commented 3 years ago

What's the output of ti diagnose?

these days taichi seems under too aggressive refactors and break many things...

Or maybe you should stop using taichi's internal methods to implement your toys :-) Taichi system diagnose:

python: 3.7.6 (tags/v3.7.6:43364a7ae0, Dec 19 2019, 00:42:30) [MSC v.1916 64 bit (AMD64)] system: win32 executable: c:\users\zhaojun02\appdata\local\programs\python\python37\python.exe platform: Windows-10-10.0.19041-SP0 architecture: 64bit WindowsPE uname: uname_result(system='Windows', node='CN210102291', release='10', version='10.0.19041', machine='AMD64', processor='Intel64 Family 6 Model 158 Stepping 10, GenuineIntel') locale: zh_CN.cp936 PATH: c:\users\zhaojun02\appdata\local\programs\python\python37\lib\site-packages\pywin32_system32;E:\Program Files\NIVIDIA\CUDA\bin;E:\Program Files\NIVIDIA\CUDA\libnvvp;C:\Program Files\PlasticSCM5\server;C:\Program Files\PlasticSCM5\client;C:\Perl64\bin;C:\Users\zhaojun02\AppData\Roaming\ActiveState\bin;E:\Program Files (x86)\NetSarang\Xshell 6\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;E:\Program Files\TortoiseSVN\bin;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\TortoiseGit\bin;E:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\GtkSharp\2.12\bin;D:\android-ndk-r10e;C:\Program Files\Git\cmd;E:\Program Files\CMake\bin;E:\opencv\build\x64\vc15\bin;;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\zhaojun02\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\zhaojun02\AppData\Local\Programs\Python\Python37\;C:\Users\zhaojun02\AppData\Local\activestate\bin;C:\Users\zhaojun02\AppData\Local\Microsoft\WindowsApps;C:\Users\zhaojun02\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\zhaojun02\AppData\Roaming\npm;C:\protoc-3.11.2-win64\bin;;c:\users\zhaojun02\appdata\local\programs\python\python37\lib\site-packages\taichi\core../lib;c:\users\zhaojun02\appdata\local\programs\python\python37\lib\site-packages\numpy.libs

lsb_release not available: [WinError 2] 系统找不到指定的文件。 TAICHI_REPO_DIR= TI_USE_UNIFIED_MEMORY=0

import: ERROR list index out of range cc: ERROR list index out of range cpu: ERROR list index out of range metal: ERROR list index out of range opengl: ERROR list index out of range cuda: ERROR list index out of range

glewinfo not available: [WinError 2] 系统找不到指定的文件。

Fri Jun 25 19:16:05 2021 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 431.98 Driver Version: 431.98 CUDA Version: 10.1 | |-------------------------------+----------------------+----------------------+ | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce RTX 2060 WDDM | 00000000:01:00.0 On | N/A | | 41% 38C P0 29W / 170W | 942MiB / 6144MiB | 4% Default | +-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+ | Processes: GPU Memory | | GPU PID Type Process name Usage | |=============================================================================| | 0 680 C+G ...osoft.LockApp_cw5n1h2txyewy\LockApp.exe N/A | | 0 1396 C+G ...3.8.0_x648wekyb3d8bbwe\Calculator.exe N/A | | 0 1488 C+G Insufficient Permissions N/A | | 0 2028 C+G ...6)\Google\Chrome\Application\chrome.exe N/A | | 0 4016 C+G ...x648wekyb3d8bbwe\Microsoft.Photos.exe N/A | | 0 6720 C+G ....143.0_x648wekyb3d8bbwe\YourPhone.exe N/A | | 0 7748 C+G ...10311.0_x64__8wekyb3d8bbwe\Video.UI.exe N/A | | 0 8920 C+G C:\Windows\explorer.exe N/A | | 0 9012 C+G ...0920.0_x648wekyb3d8bbwe\HxOutlook.exe N/A | | 0 9780 C+G ...dows.Search_cw5n1h2txyewy\SearchApp.exe N/A | | 0 11260 C+G ...w5n1h2txyewy\InputApp\TextInputHost.exe N/A | | 0 11688 C+G ...mmersiveControlPanel\SystemSettings.exe N/A | | 0 12488 C+G ...1.0_x64__8wekyb3d8bbwe\WinStore.App.exe N/A | | 0 12536 C+G ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A | | 0 12792 C+G ...lugins\XWeb\176\extracted\WeChatApp.exe N/A | | 0 13796 C+G ...ns\XWeb\176\extracted\WechatBrowser.exe N/A | | 0 14424 C+G ...rk\Applet\1.0.5.37\Applet\WeChatApp.exe N/A | +-----------------------------------------------------------------------------+

[Taichi] mode=release [Taichi] version 0.7.8, llvm 10.0.0, commit 1ce69651, win, python 3.7.6

[Taichi] mode=release [Taichi] version 0.7.8, llvm 10.0.0, commit 1ce69651, win, python 3.7.6 [Taichi] Starting on arch=x64

[Taichi] mode=release [Taichi] version 0.7.8, llvm 10.0.0, commit 1ce69651, win, python 3.7.6 [Taichi] Starting on arch=opengl

[Taichi] mode=release [Taichi] version 0.7.8, llvm 10.0.0, commit 1ce69651, win, python 3.7.6 [Taichi] Starting on arch=cuda

[Taichi] mode=release [Taichi] version 0.7.8, llvm 10.0.0, commit 1ce69651, win, python 3.7.6 [Taichi] Starting on arch=cuda

[Taichi] mode=release [Taichi] version 0.7.8, llvm 10.0.0, commit 1ce69651, win, python 3.7.6


Taichi Programming Language


Docs: https://taichi.rtfd.io/zh_CN/latest GitHub: https://github.com/taichi-dev/taichi Forum: https://forum.taichi.graphics

Running example minimal ... [Taichi] Starting on arch=x64 [Taichi] materializing...

Running time: 0.29s 42

Consider attaching this log when maintainers ask about system information.

Running time: 8.10s

bobcao3 commented 3 years ago

Have you tried the OpenGL backend? If you have bash you can do TI_ARCH=opengl python example/simulation/mpm99.py . If you don't have bash you can go to the files and change that arch in ti.init