@@ -10,38 +10,39 @@ homepage = "https://facebookincubator.github.io/momentum/"
1010repository = " https://github.com/facebookincubator/momentum"
1111
1212[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"
1919ninja = " >=1.12.1,<2"
2020rerun-sdk = " >=0.21.0,<0.22"
21- pip = " >=24.3 .1,<25 "
21+ pip = " >=25.0 .1,<26 "
2222pybind11 = " >=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"
2626sphinx = " >=8.1.3,<9"
2727sphinx-rtd-theme = " >=3.0.1,<4"
2828tracy-profiler-gui = " >=0.11.1,<0.12"
2929
3030[dependencies ]
31- blas = " >=2.129 ,<3"
31+ blas = " >=2.131 ,<3"
3232ceres-solver = " >=2.2.0,<3"
33- cli11 = " >=2.4.2 ,<3"
33+ cli11 = " >=2.5.0 ,<3"
3434dispenso = " >=1.4.0,<2"
3535eigen = " >=3.4.0,<4"
36- ezc3d = " >=1.5.17 ,<2"
36+ ezc3d = " >=1.5.18 ,<2"
3737drjit-cpp = " >=1.0.5,<2"
38- fmt = " >=11.0.2 ,<12"
38+ fmt = " >=11.1.4 ,<12"
3939fx-gltf = " >=2.0.0,<3"
4040librerun-sdk = " >=0.21.0,<0.22"
41- ms-gsl = " >=4.1 .0,<5"
41+ ms-gsl = " >=4.2 .0,<5"
4242nlohmann_json = " >=3.11.3,<4"
4343openfbx = " >=0.9,<0.10"
4444openssl = " >=3.4.1,<4"
45+ pytorch = " >=2.6.0,<3"
4546re2 = " >=2024.7.2,<2025"
4647spdlog = " >=1.15.1,<2"
4748tracy-profiler-client = " >=0.11.1,<0.12"
@@ -132,6 +133,15 @@ install = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp/release -j --t
132133 " build" ,
133134] }
134135tracy = { 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+ ] }
135145
136146# ===========
137147# linux-64
@@ -141,7 +151,6 @@ tracy = { cmd = "tracy-profiler" }
141151nvtx-c = " >=3.1.0" # TODO: Add to pytorch as run dep
142152
143153[target .linux-64 .dependencies ]
144- pytorch = " >=2.6.0,<3"
145154sysroot_linux-64 = " >=2.28"
146155
147156[target .linux-64 .tasks ]
@@ -204,16 +213,18 @@ config_dev = { cmd = """
204213] }
205214build_py = { cmd = " pip install . -vv" , env = { FBXSDK_PATH = " .deps/fbxsdk" , CMAKE_ARGS = """
206215 -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
208220""" , MOMENTUM_ENABLE_SIMD = " ON" }, depends-on = [
209221 " install_deps" ,
210222] }
211223test_py = { cmd = " pytest pymomentum/test/*.py" , env = { MOMENTUM_MODELS_PATH = " momentum/" }, depends-on = [
212224 " build_py" ,
213225] }
214- install_py = { cmd = " pip install -e ." }
215226doc_py = { cmd = " sphinx-build -a -E -b html pymomentum/doc build/python_api_doc" , depends-on = [
216- " install_py " ,
227+ " build_py " ,
217228] }
218229open_doc_py = { cmd = " open build/python_api_doc/index.html" , depends-on = [
219230 " doc_py" ,
@@ -226,20 +237,21 @@ open_doc_py = { cmd = "open build/python_api_doc/index.html", depends-on = [
226237[target .osx .build-dependencies ]
227238
228239[target .osx .dependencies ]
229- pytorch = " >=2.6.0,<3"
230240
231241[target .osx .tasks ]
232242build_py = { cmd = " pip install . -vv" , env = { CMAKE_ARGS = """
233243 -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
235248""" , MOMENTUM_BUILD_IO_FBX = " OFF" , MOMENTUM_ENABLE_SIMD = " ON" } }
236249# TODO: Remove -k option, once this tests are disabled programmatically if momentum is not built with FBX support
237250test_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 = [
238251 " build_py" ,
239252] }
240- install_py = { cmd = " pip install -e ." }
241253doc_py = { cmd = " sphinx-build -a -E -b html pymomentum/doc build/python_api_doc" , depends-on = [
242- " install_py " ,
254+ " build_py " ,
243255] }
244256open_doc_py = { cmd = " open build/python_api_doc/index.html" , depends-on = [
245257 " doc_py" ,
@@ -252,20 +264,21 @@ open_doc_py = { cmd = "open build/python_api_doc/index.html", depends-on = [
252264[target .osx-arm64 .build-dependencies ]
253265
254266[target .osx-arm64 .dependencies ]
255- pytorch = " >=2.6.0,<3"
256267
257268[target .osx-arm64 .tasks ]
258269build_py = { cmd = " pip install . -vv" , env = { CMAKE_ARGS = """
259270 -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
261275""" , MOMENTUM_BUILD_IO_FBX = " OFF" , MOMENTUM_ENABLE_SIMD = " ON" } }
262276# TODO: Remove -k option, once this tests are disabled programmatically if momentum is not built with FBX support
263277test_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 = [
264278 " build_py" ,
265279] }
266- install_py = { cmd = " pip install -e ." }
267280doc_py = { cmd = " sphinx-build -a -E -b html pymomentum/doc build/python_api_doc" , depends-on = [
268- " install_py " ,
281+ " build_py " ,
269282] }
270283open_doc_py = { cmd = " open build/python_api_doc/index.html" , depends-on = [
271284 " doc_py" ,
@@ -340,6 +353,14 @@ install = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp -j --target in
340353 " build" ,
341354] }
342355tracy = { 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+ ] }
343364
344365# ==============
345366# Feature: CPU
@@ -352,21 +373,21 @@ tracy = { cmd = "tracy-profiler.exe" }
352373# ==============
353374
354375[feature .py312-cuda126 ]
355- platforms = [" linux-64" ]
376+ platforms = [" linux-64" , " win-64 " ]
356377system-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 " }
358379dependencies = { python = " 3.12.*" , pytorch-gpu = " >=2.6.0,<3" }
359380
360381[feature .py311-cuda126 ]
361- platforms = [" linux-64" ]
382+ platforms = [" linux-64" , " win-64 " ]
362383system-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 " }
364385dependencies = { python = " 3.11.*" , pytorch-gpu = " >=2.6.0,<3" }
365386
366387[feature .py310-cuda126 ]
367- platforms = [" linux-64" ]
388+ platforms = [" linux-64" , " win-64 " ]
368389system-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 " }
370391dependencies = { python = " 3.10.*" , pytorch-gpu = " >=2.6.0,<3" }
371392
372393# ==============
0 commit comments