Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where can I get "cuda_model_laikago.dll" ? #210

Open
hjyu94 opened this issue Mar 13, 2023 · 2 comments
Open

Where can I get "cuda_model_laikago.dll" ? #210

hjyu94 opened this issue Mar 13, 2023 · 2 comments

Comments

@hjyu94
Copy link

hjyu94 commented Mar 13, 2023

notfound

Error

Version = 4.6.0 NVIDIA 531.14
Vendor = NVIDIA Corporation
Renderer = NVIDIA GeForce RTX 3090/PCIe/SSE2
Loading URDF "C:\Users\GLAB\Downloads\dev\tiny-differentiable-simulator\data\plane_implicit.urdf".
Loading URDF "C:\Users\GLAB\Downloads\dev\tiny-differentiable-simulator\data\laikago\laikago_toes_zup_xyz_xyzrot.urdf".
v.geom_type=3v.geom_type=3v.geom_type=3v.geom_type=3v.geom_type=0v.geom_type=3v.geom_type=3v.geom_type=3v.geom_type=0v.geom_type=3v.geom_type=3v.geom_type=3v.geom_type=0v.geom_type=3v.geom_type=3v.geom_type=3v.geom_type=0Creating VectorizedEnvironment for laikago
Creating a normal distribution of size 25000000.
Finished creating a normal distribution.
Could not find file "cuda_model_laikago.dll".
Assertion failed: found, file C:\Users\GLAB\Downloads\dev\tiny-differentiable-simulator\examples\ars\ars_train_policy_cuda.cpp, line 333

After running ars_train_policy_cuda project, I got this error.
Where can I get "cuda_model_laikago.dll" file?

@erwincoumans
Copy link
Owner

erwincoumans commented May 1, 2023

It has been a while that I looked at that code. You need to build and run another executable (that uses CppAD/CppADCodeGen) that will generate the CUDA DLL, and then make sure that DLL is in the right location (I used symbolic links for that).

This CUDA code generation is very experimental and not user friendly. I highly recommend looking into NVIDIA Warp, Google Brax/Jax or OpenAL Triton, DiffTaichi or Nimble Physics instead (unless you have time digging into this C++ code).

@hjyu94
Copy link
Author

hjyu94 commented May 2, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants