@@ -10,38 +10,39 @@ homepage = "https://facebookincubator.github.io/momentum/"
10
10
repository = " https://github.com/facebookincubator/momentum"
11
11
12
12
[build-dependencies ]
13
- boost = " >=1.85 .0,<2"
14
- c-compiler = " >=1.8 .0,<2"
15
- clang-format = " >=18 .1.8,<19 "
16
- cmake = " >=3.31.2 ,<4"
17
- cxx-compiler = " >=1.8 .0,<2"
18
- gtest = " >=1.15.2 ,<2"
13
+ boost = " >=1.84 .0,<2"
14
+ c-compiler = " >=1.9 .0,<2"
15
+ clang-format = " >=20 .1.1,<21 "
16
+ cmake = " >=3.31.6 ,<4"
17
+ cxx-compiler = " >=1.9 .0,<2"
18
+ gtest = " >=1.16.0 ,<2"
19
19
ninja = " >=1.12.1,<2"
20
20
rerun-sdk = " >=0.21.0,<0.22"
21
- pip = " >=24.3 .1,<25 "
21
+ pip = " >=25.0 .1,<26 "
22
22
pybind11 = " >=2.13.6,<3"
23
- pytest = " >=8.3.4 ,<9"
24
- scipy = " >=1.15.0 ,<2"
25
- setuptools = " >=75.6.0 ,<76"
23
+ pytest = " >=8.3.5 ,<9"
24
+ scipy = " >=1.15.2 ,<2"
25
+ setuptools = " >=75.8.2 ,<76"
26
26
sphinx = " >=8.1.3,<9"
27
27
sphinx-rtd-theme = " >=3.0.1,<4"
28
28
tracy-profiler-gui = " >=0.11.1,<0.12"
29
29
30
30
[dependencies ]
31
- blas = " >=2.129 ,<3"
31
+ blas = " >=2.131 ,<3"
32
32
ceres-solver = " >=2.2.0,<3"
33
- cli11 = " >=2.4.2 ,<3"
33
+ cli11 = " >=2.5.0 ,<3"
34
34
dispenso = " >=1.4.0,<2"
35
35
eigen = " >=3.4.0,<4"
36
- ezc3d = " >=1.5.17 ,<2"
36
+ ezc3d = " >=1.5.18 ,<2"
37
37
drjit-cpp = " >=1.0.5,<2"
38
- fmt = " >=11.0.2 ,<12"
38
+ fmt = " >=11.1.4 ,<12"
39
39
fx-gltf = " >=2.0.0,<3"
40
40
librerun-sdk = " >=0.21.0,<0.22"
41
- ms-gsl = " >=4.1 .0,<5"
41
+ ms-gsl = " >=4.2 .0,<5"
42
42
nlohmann_json = " >=3.11.3,<4"
43
43
openfbx = " >=0.9,<0.10"
44
44
openssl = " >=3.4.1,<4"
45
+ pytorch = " >=2.6.0,<3"
45
46
re2 = " >=2024.7.2,<2025"
46
47
spdlog = " >=1.15.1,<2"
47
48
tracy-profiler-client = " >=0.11.1,<0.12"
@@ -132,6 +133,15 @@ install = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp/release -j --t
132
133
" build" ,
133
134
] }
134
135
tracy = { cmd = " tracy-profiler" }
136
+ test_py = { cmd = " pytest pymomentum/test/*.py" , env = { MOMENTUM_MODELS_PATH = " momentum/" }, depends-on = [
137
+ " build_py" ,
138
+ ] }
139
+ doc_py = { cmd = " sphinx-build -a -E -b html pymomentum/doc build/python_api_doc" , depends-on = [
140
+ " build_py" ,
141
+ ] }
142
+ open_doc_py = { cmd = " open build/python_api_doc/index.html" , depends-on = [
143
+ " doc_py" ,
144
+ ] }
135
145
136
146
# ===========
137
147
# linux-64
@@ -141,7 +151,6 @@ tracy = { cmd = "tracy-profiler" }
141
151
nvtx-c = " >=3.1.0" # TODO: Add to pytorch as run dep
142
152
143
153
[target .linux-64 .dependencies ]
144
- pytorch = " >=2.6.0,<3"
145
154
sysroot_linux-64 = " >=2.28"
146
155
147
156
[target .linux-64 .tasks ]
@@ -204,16 +213,18 @@ config_dev = { cmd = """
204
213
] }
205
214
build_py = { cmd = " pip install . -vv" , env = { FBXSDK_PATH = " .deps/fbxsdk" , CMAKE_ARGS = """
206
215
-DMOMENTUM_BUILD_IO_FBX=ON \
207
- -DMOMENTUM_ENABLE_SIMD=$MOMENTUM_ENABLE_SIMD
216
+ -DMOMENTUM_ENABLE_SIMD=$MOMENTUM_ENABLE_SIMD \
217
+ -DMOMENTUM_USE_SYSTEM_GOOGLETEST=ON \
218
+ -DMOMENTUM_USE_SYSTEM_PYBIND11=OFF \
219
+ -DMOMENTUM_USE_SYSTEM_RERUN_CPP_SDK=ON
208
220
""" , MOMENTUM_ENABLE_SIMD = " ON" }, depends-on = [
209
221
" install_deps" ,
210
222
] }
211
223
test_py = { cmd = " pytest pymomentum/test/*.py" , env = { MOMENTUM_MODELS_PATH = " momentum/" }, depends-on = [
212
224
" build_py" ,
213
225
] }
214
- install_py = { cmd = " pip install -e ." }
215
226
doc_py = { cmd = " sphinx-build -a -E -b html pymomentum/doc build/python_api_doc" , depends-on = [
216
- " install_py " ,
227
+ " build_py " ,
217
228
] }
218
229
open_doc_py = { cmd = " open build/python_api_doc/index.html" , depends-on = [
219
230
" doc_py" ,
@@ -226,20 +237,21 @@ open_doc_py = { cmd = "open build/python_api_doc/index.html", depends-on = [
226
237
[target .osx .build-dependencies ]
227
238
228
239
[target .osx .dependencies ]
229
- pytorch = " >=2.6.0,<3"
230
240
231
241
[target .osx .tasks ]
232
242
build_py = { cmd = " pip install . -vv" , env = { CMAKE_ARGS = """
233
243
-DMOMENTUM_BUILD_IO_FBX=$MOMENTUM_BUILD_IO_FBX \
234
- -DMOMENTUM_ENABLE_SIMD=$MOMENTUM_ENABLE_SIMD
244
+ -DMOMENTUM_ENABLE_SIMD=$MOMENTUM_ENABLE_SIMD \
245
+ -DMOMENTUM_USE_SYSTEM_GOOGLETEST=ON \
246
+ -DMOMENTUM_USE_SYSTEM_PYBIND11=ON \
247
+ -DMOMENTUM_USE_SYSTEM_RERUN_CPP_SDK=ON
235
248
""" , MOMENTUM_BUILD_IO_FBX = " OFF" , MOMENTUM_ENABLE_SIMD = " ON" } }
236
249
# TODO: Remove -k option, once this tests are disabled programmatically if momentum is not built with FBX support
237
250
test_py = { cmd = " pytest pymomentum/test/*.py -k 'not (TestFBXIO and (test_save_motions_with_joint_params or test_save_motions_with_model_params))'" , env = { MOMENTUM_MODELS_PATH = " momentum/" }, depends-on = [
238
251
" build_py" ,
239
252
] }
240
- install_py = { cmd = " pip install -e ." }
241
253
doc_py = { cmd = " sphinx-build -a -E -b html pymomentum/doc build/python_api_doc" , depends-on = [
242
- " install_py " ,
254
+ " build_py " ,
243
255
] }
244
256
open_doc_py = { cmd = " open build/python_api_doc/index.html" , depends-on = [
245
257
" doc_py" ,
@@ -252,20 +264,21 @@ open_doc_py = { cmd = "open build/python_api_doc/index.html", depends-on = [
252
264
[target .osx-arm64 .build-dependencies ]
253
265
254
266
[target .osx-arm64 .dependencies ]
255
- pytorch = " >=2.6.0,<3"
256
267
257
268
[target .osx-arm64 .tasks ]
258
269
build_py = { cmd = " pip install . -vv" , env = { CMAKE_ARGS = """
259
270
-DMOMENTUM_BUILD_IO_FBX=$MOMENTUM_BUILD_IO_FBX \
260
- -DMOMENTUM_ENABLE_SIMD=$MOMENTUM_ENABLE_SIMD
271
+ -DMOMENTUM_ENABLE_SIMD=$MOMENTUM_ENABLE_SIMD \
272
+ -DMOMENTUM_USE_SYSTEM_GOOGLETEST=ON \
273
+ -DMOMENTUM_USE_SYSTEM_PYBIND11=ON \
274
+ -DMOMENTUM_USE_SYSTEM_RERUN_CPP_SDK=ON
261
275
""" , MOMENTUM_BUILD_IO_FBX = " OFF" , MOMENTUM_ENABLE_SIMD = " ON" } }
262
276
# TODO: Remove -k option, once this tests are disabled programmatically if momentum is not built with FBX support
263
277
test_py = { cmd = " pytest pymomentum/test/*.py -k 'not (TestFBXIO and (test_save_motions_with_joint_params or test_save_motions_with_model_params))'" , env = { MOMENTUM_MODELS_PATH = " momentum/" }, depends-on = [
264
278
" build_py" ,
265
279
] }
266
- install_py = { cmd = " pip install -e ." }
267
280
doc_py = { cmd = " sphinx-build -a -E -b html pymomentum/doc build/python_api_doc" , depends-on = [
268
- " install_py " ,
281
+ " build_py " ,
269
282
] }
270
283
open_doc_py = { cmd = " open build/python_api_doc/index.html" , depends-on = [
271
284
" doc_py" ,
@@ -340,6 +353,14 @@ install = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp -j --target in
340
353
" build" ,
341
354
] }
342
355
tracy = { cmd = " tracy-profiler.exe" }
356
+ build_py = { cmd = " pip install . -vv" , env = { CMAKE_ARGS = """
357
+ -DMOMENTUM_BUILD_IO_FBX=$MOMENTUM_BUILD_IO_FBX \
358
+ -DMOMENTUM_ENABLE_SIMD=$MOMENTUM_ENABLE_SIMD
359
+ """ , MOMENTUM_BUILD_IO_FBX = " OFF" , MOMENTUM_ENABLE_SIMD = " ON" } }
360
+ # TODO: Remove -k option, once this tests are disabled programmatically if momentum is not built with FBX support
361
+ test_py = { cmd = " pytest pymomentum/test/*.py -k 'not (TestFBXIO and (test_save_motions_with_joint_params or test_save_motions_with_model_params))'" , env = { MOMENTUM_MODELS_PATH = " momentum/" }, depends-on = [
362
+ " build_py" ,
363
+ ] }
343
364
344
365
# ==============
345
366
# Feature: CPU
@@ -352,21 +373,21 @@ tracy = { cmd = "tracy-profiler.exe" }
352
373
# ==============
353
374
354
375
[feature .py312-cuda126 ]
355
- platforms = [" linux-64" ]
376
+ platforms = [" linux-64" , " win-64 " ]
356
377
system-requirements = { cuda = " 12" }
357
- build-dependencies = { cuda-toolkit = " >=12.6.3,<13" , cuda- nvtx-dev = " >=12.6.3,<13 " }
378
+ build-dependencies = { cuda-toolkit = " >=12.6.3,<13" , nvtx-c = " >=3.1.1 " }
358
379
dependencies = { python = " 3.12.*" , pytorch-gpu = " >=2.6.0,<3" }
359
380
360
381
[feature .py311-cuda126 ]
361
- platforms = [" linux-64" ]
382
+ platforms = [" linux-64" , " win-64 " ]
362
383
system-requirements = { cuda = " 12" }
363
- build-dependencies = { cuda-toolkit = " >=12.6.3,<13" , cuda- nvtx-dev = " >=12.6.3,<13 " }
384
+ build-dependencies = { cuda-toolkit = " >=12.6.3,<13" , nvtx-c = " >=3.1.1 " }
364
385
dependencies = { python = " 3.11.*" , pytorch-gpu = " >=2.6.0,<3" }
365
386
366
387
[feature .py310-cuda126 ]
367
- platforms = [" linux-64" ]
388
+ platforms = [" linux-64" , " win-64 " ]
368
389
system-requirements = { cuda = " 12" }
369
- build-dependencies = { cuda-toolkit = " >=12.6.3,<13" , cuda- nvtx-dev = " >=12.6.3,<13 " }
390
+ build-dependencies = { cuda-toolkit = " >=12.6.3,<13" , nvtx-c = " >=3.1.1 " }
370
391
dependencies = { python = " 3.10.*" , pytorch-gpu = " >=2.6.0,<3" }
371
392
372
393
# ==============
0 commit comments