NVIDIA / modulus-sym

Framework providing pythonic APIs, algorithms and utilities to be used with Modulus core to physics inform model training as well as higher level abstraction for domain experts
https://developer.nvidia.com/modulus
Apache License 2.0
165 stars 68 forks source link

📚[DOC]: How to get pysdf and build Docker container with it #52

Closed michaltakac closed 8 months ago

michaltakac commented 1 year ago

How would you describe the priority of this documentation request

Critical (currently preventing usage)

Is this for new documentation, or an update to existing docs?

Update

Describe the incorrect/future/missing documentation

In the readme, I see

git clone <internal pysdf repo>

step. But where is the pysdf repo we should use?

We're migrating our infra at Siml.ai from modulus:22.09 to modulus:23:05 and above, but we cannot proceed forward without proper knowledge of how to build the new modulus version in Docker with Tessellation support (we're building our own Docker image using FROM nvcr.io/nvidia/modulus/modulus:23.05)

If this is a correction, please provide a link to the incorrect documentation. If this is a new documentation request, please link to where you have looked.

No response

HydrogenSulfate commented 1 year ago

Same here, I have no idea why pysdf is not a valid git url, but a weird <internal pysdf repo>.

But I have a temporary solution that you can use https://github.com/sxyu/sdf and modify the code about about sdf in tessellation.py(replace pysdf code with sxyu/sdf code). I get correct training result in mesh examples except those need sdf_derivatives which sxyu/sdf can not compute.

ktangsali commented 1 year ago

Thanks for reporting this issue. Currently the only way to access pysdf would be to use the Modulus docker container which comes with the pysdf library is pre-built.