Skip to content

Commit b429235

Browse files
authored
Last modifications for v0.16.0 (#815)
* Finish everything for v0.16.0 Signed-off-by: Clement Fuji Tsang <cfujitsang@nvidia.com> * --amend Signed-off-by: Clement Fuji Tsang <cfujitsang@nvidia.com> * add support for cuda 12.4 Signed-off-by: Clement Fuji Tsang <cfujitsang@nvidia.com> --------- Signed-off-by: Clement Fuji Tsang <cfujitsang@nvidia.com>
1 parent 0e96cb4 commit b429235

15 files changed

Lines changed: 2649 additions & 53 deletions

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,34 @@ Note that Kaolin library is part of the larger [NVIDIA Kaolin effort](https://de
1414
Starting with v0.12.0, Kaolin supports installation with wheels:
1515
```
1616
# Replace TORCH_VERSION and CUDA_VERSION with your torch / cuda versions
17-
pip install kaolin==0.15.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-{TORCH_VERSION}_cu{CUDA_VERSION}.html
17+
pip install kaolin==0.16.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-{TORCH_VERSION}_cu{CUDA_VERSION}.html
1818
```
19-
For example, to install kaolin 0.15.0 over torch 1.12.1 and cuda 11.3:
19+
For example, to install kaolin 0.16.0 over torch 2.0.0 and cuda 11.8:
2020
```
21-
pip install kaolin==0.15.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-1.12.1_cu113.html
21+
pip install kaolin==0.16.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-2.0.0_cu118.html
2222
```
2323

24-
## About the Latest Release (0.15.0)
24+
## About the Latest Release (0.16.0)
2525

26-
In this version we added a [non commercial section](https://kaolin.readthedocs.io/en/latest/modules/kaolin.non_commercial.html) under [NSCL license](LICENSE.NSCL). See [The license section for more info](#Licenses) for more details.
26+
In this version we added a [Physics section](https://kaolin.readthedocs.io/en/latest/modules/physics.html).
2727

28-
In this new section we implemented [features for Flexicubes](https://kaolin.readthedocs.io/en/latest/modules/kaolin.non_commercial.html#kaolin.non_commercial.FlexiCubes) a method to extract meshes from scalar fields. See more information in [the official repository](https://github.com/nv-tlabs/FlexiCubes) which is now using Kaolin's implementation.
28+
In this new section we implemented [Simplicits](https://kaolin.readthedocs.io/en/latest/modules/kaolin.physics.html) a geometry-agnostic method for elastic simulation. See more information in [the project page](https://research.nvidia.com/labs/toronto-ai/simplicits/).
2929

30-
<a href="https://kaolin.readthedocs.io/en/latest/modules/kaolin.non_commercial.html#kaolin.non_commercial.FlexiCubes"><img src="./assets/flexicubes.png" alt="flexicubes" height="250" /></a>
30+
We've also added a [math section](https://kaolin.readthedocs.io/en/latest/modules/kaolin.math.html) with quaternions math features.
3131

32-
In addition we implemented a [GLTF mesh loader](https://kaolin.readthedocs.io/en/latest/modules/kaolin.io.gltf.html) that can be used to load models from [Objaverse](https://objaverse.allenai.org/objaverse-1.0) and [Objaverse-XL](https://objaverse.allenai.org/).
32+
Finally we've improved workflow, with an [easy rendering API](https://kaolin.readthedocs.io/en/latest/modules/kaolin.render.easy_render.html), for quickly visualizing a model.
3333

34-
<a href="https://kaolin.readthedocs.io/en/latest/modules/kaolin.io.gltf.html"><img src="./assets/gltf.png" alt="gltf" height="250" /></a>
34+
Check our new tutorials:
35+
[Use Simplicit's Easy API to Simulate a Mesh](https://github.com/NVIDIAGameWorks/kaolin/blob/master/examples/tutorial/physics/simplicits_easy_api.ipynb) In this notebook we show how to use the high-level Simplicit API to simulate an imported Mesh.
36+
[Interact with a Physics Simulation](https://github.com/NVIDIAGameWorks/kaolin/blob/master/examples/tutorial/physics/simplicits_interactive.ipynb) In this notebook we show to interact with the simulation by moving objects.
37+
[Use Simplicit's Full-Feature API](https://github.com/NVIDIAGameWorks/kaolin/blob/master/examples/tutorial/physics/simplicits_low_level_api.ipynb) In this notebook we show how to use the low-level API to simulate a pointcloud.
3538

3639

37-
Check our new tutorial:
38-
[**Load and render a GLTF file** interactively into a Jupyter notebook:](https://github.com/NVIDIAGameWorks/kaolin/blob/master/examples/tutorial/gltf_viz.ipynb)
39-
In this file we show how to load a gltf file and fully differentiably render it with [nvdiffrast](https://nvlabs.github.io/nvdiffrast/) and [spherical gaussian for diffuse and specular lighting](https://kaolin.readthedocs.io/en/latest/modules/kaolin.render.lighting.html), using displacement mapping and other materials properties from the GLTF file.
40+
[Easy rendering of Meshes](https://github.com/NVIDIAGameWorks/kaolin/blob/master/examples/tutorial/easy_mesh_render.ipynb) Use our new high-level API to load a mesh, create a camera and lighting parameters and render interactively.
4041

41-
<a href="https://github.com/NVIDIAGameWorks/kaolin/blob/master/examples/tutorial/gltf_viz.ipynb"><img src="./assets/avocado.png" alt="gltf notebook" height="250" /></a>
42+
<a href="https://github.com/NVIDIAGameWorks/kaolin/tree/master/examples/tutorial/physics"><img src="./assets/physics_bulldozer.gif" alt="physics documentation" height="250" /></a>
4243

43-
See [change logs](https://github.com/NVIDIAGameWorks/kaolin/releases/tag/v0.15.0) for details.
44+
See [change logs](https://github.com/NVIDIAGameWorks/kaolin/releases/tag/v0.16.0) for details.
4445

4546
## Contributing
4647

@@ -98,6 +99,7 @@ Current Team:
9899
- Technical Lead: Clement Fuji Tsang
99100
- Manager: Maria (Masha) Shugrina
100101
- Charles Loop
102+
- Vismay Modi
101103
- Or Perel
102104
- Alexander Zook
103105

assets/physics_bulldozer.gif

1.05 MB
Loading

ci/gitlab_jenkins_templates/core_ci.jenkins

Lines changed: 202 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,53 +65,251 @@ def ubuntu_cpuonly_configs = [
6565

6666
// Configs for building python wheels
6767
def ubuntu_for_cuda_wheels_configs = [
68+
/*
69+
[
70+
'cudaVer': '11.7.1', 'cudnnVer': '8',
71+
'torchVer': '2.0.0', 'archsToTest': 'MULTI'
72+
],
6873
[
6974
'cudaVer': '11.8.0', 'cudnnVer': '8',
7075
'torchVer': '2.0.0', 'archsToTest': 'MULTI'
7176
],
72-
/*
77+
[
78+
'cudaVer': '11.7.1', 'cudnnVer': '8',
79+
'torchVer': '2.0.1', 'archsToTest': 'MULTI'
80+
],
81+
[
82+
'cudaVer': '11.8.0', 'cudnnVer': '8',
83+
'torchVer': '2.0.1', 'archsToTest': 'MULTI'
84+
],
85+
[
86+
'cudaVer': '11.8.0', 'cudnnVer': '8',
87+
'torchVer': '2.1.0', 'archsToTest': 'MULTI'
88+
],
7389
[
7490
'cudaVer': '12.1.0', 'cudnnVer': '8',
7591
'torchVer': '2.1.0', 'archsToTest': 'MULTI'
7692
],
93+
[
94+
'cudaVer': '11.8.0', 'cudnnVer': '8',
95+
'torchVer': '2.1.1', 'archsToTest': 'MULTI'
96+
],
97+
[
98+
'cudaVer': '12.1.0', 'cudnnVer': '8',
99+
'torchVer': '2.1.1', 'archsToTest': 'MULTI'
100+
],
101+
[
102+
'cudaVer': '11.8.0', 'cudnnVer': '8',
103+
'torchVer': '2.1.2', 'archsToTest': 'MULTI'
104+
],
105+
[
106+
'cudaVer': '12.1.0', 'cudnnVer': '8',
107+
'torchVer': '2.1.2', 'archsToTest': 'MULTI'
108+
],
109+
[
110+
'cudaVer': '11.8.0', 'cudnnVer': '8',
111+
'torchVer': '2.2.0', 'archsToTest': 'MULTI'
112+
],
113+
[
114+
'cudaVer': '12.1.0', 'cudnnVer': '8',
115+
'torchVer': '2.2.0', 'archsToTest': 'MULTI'
116+
],
117+
[
118+
'cudaVer': '11.8.0', 'cudnnVer': '8',
119+
'torchVer': '2.2.1', 'archsToTest': 'MULTI'
120+
],
121+
[
122+
'cudaVer': '12.1.0', 'cudnnVer': '8',
123+
'torchVer': '2.2.1', 'archsToTest': 'MULTI'
124+
],
125+
[
126+
'cudaVer': '11.8.0', 'cudnnVer': '8',
127+
'torchVer': '2.3.0', 'archsToTest': 'MULTI'
128+
],
129+
[
130+
'cudaVer': '12.1.0', 'cudnnVer': '8',
131+
'torchVer': '2.3.0', 'archsToTest': 'MULTI'
132+
],
77133
[
78134
'cudaVer': '11.8.0', 'cudnnVer': '8',
79135
'torchVer': '2.3.1', 'archsToTest': 'MULTI'
80136
],
81-
*/
82137
[
83138
'cudaVer': '12.1.0', 'cudnnVer': '8',
84139
'torchVer': '2.3.1', 'archsToTest': 'MULTI'
140+
]
141+
[
142+
'cudaVer': '11.8.0', 'cudnnVer': '8',
143+
'torchVer': '2.4.0', 'archsToTest': 'MULTI'
85144
],
145+
[
146+
'cudaVer': '12.1.0', 'cudnnVer': '8',
147+
'torchVer': '2.4.0', 'archsToTest': 'MULTI'
148+
],
149+
[
150+
'cudaVer': '12.4.1', 'cudnnVer': '',
151+
'torchVer': '2.4.0', 'archsToTest': 'MULTI'
152+
]
153+
*/
86154
]
87155

88156
def ubuntu_for_cpu_wheels_configs = [
157+
/*
89158
[
90-
'torchVer': '2.3,1'
159+
'torchVer': '2.0.0'
91160
],
92161
[
93-
'torchVer': '2.0.0'
162+
'torchVer': '2.0.1'
163+
],
164+
[
165+
'torchVer': '2.1.0'
166+
],
167+
[
168+
'torchVer': '2.1.1'
169+
],
170+
[
171+
'torchVer': '2.1.2'
172+
],
173+
[
174+
'torchVer': '2.2.0'
175+
],
176+
[
177+
'torchVer': '2.2.1'
178+
],
179+
[
180+
'torchVer': '2.3.0'
181+
],
182+
[
183+
'torchVer': '2.3.1'
94184
]
185+
[
186+
'torchVer': '2.4.0'
187+
]
188+
*/
95189
]
96190

97191
def windows_for_cuda_wheels_configs = [
192+
/*
193+
[
194+
'cudaVer': '11.7', 'cudnnVer': '8',
195+
'torchVer': '2.0.0', 'archsToTest': ''
196+
],
98197
[
99198
'cudaVer': '11.8', 'cudnnVer': '8',
100199
'torchVer': '2.0.0', 'archsToTest': ''
101200
],
201+
[
202+
'cudaVer': '11.7', 'cudnnVer': '8',
203+
'torchVer': '2.0.1', 'archsToTest': ''
204+
],
205+
[
206+
'cudaVer': '11.8', 'cudnnVer': '8',
207+
'torchVer': '2.0.1', 'archsToTest': ''
208+
],
209+
[
210+
'cudaVer': '11.8', 'cudnnVer': '8',
211+
'torchVer': '2.1.0', 'archsToTest': ''
212+
],
213+
[
214+
'cudaVer': '12.1', 'cudnnVer': '8',
215+
'torchVer': '2.1.0', 'archsToTest': ''
216+
],
217+
[
218+
'cudaVer': '11.8', 'cudnnVer': '8',
219+
'torchVer': '2.1.1', 'archsToTest': ''
220+
],
221+
[
222+
'cudaVer': '12.1', 'cudnnVer': '8',
223+
'torchVer': '2.1.1', 'archsToTest': ''
224+
],
225+
[
226+
'cudaVer': '11.8', 'cudnnVer': '8',
227+
'torchVer': '2.1.2', 'archsToTest': ''
228+
],
229+
[
230+
'cudaVer': '12.1', 'cudnnVer': '8',
231+
'torchVer': '2.1.2', 'archsToTest': ''
232+
],
233+
[
234+
'cudaVer': '11.8', 'cudnnVer': '8',
235+
'torchVer': '2.2.0', 'archsToTest': ''
236+
],
237+
[
238+
'cudaVer': '12.1', 'cudnnVer': '8',
239+
'torchVer': '2.2.0', 'archsToTest': ''
240+
],
241+
[
242+
'cudaVer': '11.8', 'cudnnVer': '8',
243+
'torchVer': '2.2.1', 'archsToTest': ''
244+
],
245+
[
246+
'cudaVer': '12.1', 'cudnnVer': '8',
247+
'torchVer': '2.2.1', 'archsToTest': ''
248+
],
249+
[
250+
'cudaVer': '11.8', 'cudnnVer': '8',
251+
'torchVer': '2.3.0', 'archsToTest': ''
252+
],
253+
[
254+
'cudaVer': '12.1', 'cudnnVer': '8',
255+
'torchVer': '2.3.0', 'archsToTest': ''
256+
],
257+
[
258+
'cudaVer': '11.8', 'cudnnVer': '8',
259+
'torchVer': '2.3.1', 'archsToTest': ''
260+
],
102261
[
103262
'cudaVer': '12.1', 'cudnnVer': '8',
104263
'torchVer': '2.3.1', 'archsToTest': ''
264+
],
265+
[
266+
'cudaVer': '11.8', 'cudnnVer': '8',
267+
'torchVer': '2.4.0', 'archsToTest': ''
268+
],
269+
*/
270+
[
271+
'cudaVer': '12.1', 'cudnnVer': '8',
272+
'torchVer': '2.4.0', 'archsToTest': ''
273+
],
274+
[
275+
'cudaVer': '12.4', 'cudnnVer': '',
276+
'torchVer': '2.4.0', 'archsToTest': ''
105277
]
106278
]
107279

108280
def windows_for_cpu_wheels_configs = [
281+
/*
109282
[
110283
'torchVer': '2.0.0', 'archsToTest': ''
111284
],
285+
[
286+
'torchVer': '2.0.1', 'archsToTest': ''
287+
],
288+
[
289+
'torchVer': '2.1.0', 'archsToTest': ''
290+
],
291+
[
292+
'torchVer': '2.1.1', 'archsToTest': ''
293+
],
294+
[
295+
'torchVer': '2.1.2', 'archsToTest': ''
296+
],
297+
[
298+
'torchVer': '2.2.0', 'archsToTest': ''
299+
],
300+
[
301+
'torchVer': '2.2.1', 'archsToTest': ''
302+
],
303+
[
304+
'torchVer': '2.3.0', 'archsToTest': ''
305+
],
112306
[
113307
'torchVer': '2.3.1', 'archsToTest': ''
114308
]
309+
*/
310+
[
311+
'torchVer': '2.4.0', 'archsToTest': ''
312+
]
115313
]
116314
// Configs for build from Windows server docker images
117315
// (See: https://hub.docker.com/_/microsoft-dotnet-framework-sdk)

ci/gitlab_jenkins_templates/windows_wheels_CI.jenkins

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ spec:
6767
--log-disable=PIL.TiffImagePlugin \
6868
--log-disable=kaolin.rep.surface_mesh \
6969
/kaolin/tests/python/kaolin/io/test_gltf.py \
70-
/kaolin/tests/python/kaolin/io/usd/ \
7170
/kaolin/tests/python/kaolin/io/test_obj.py
72-
7371
'''
7472
}
7573
if (currentBuild.getCurrentResult() != "FAILURE") {

0 commit comments

Comments
 (0)