@@ -42,6 +42,7 @@ ms-gsl = ">=4.1.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,23 @@ 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 = """
137
+ pytest \
138
+ pymomentum/test/test_closest_points.py \
139
+ pymomentum/test/test_fbx.py \
140
+ pymomentum/test/test_parameter_transform.py \
141
+ pymomentum/test/test_quaternion.py \
142
+ pymomentum/test/test_skel_state.py \
143
+ pymomentum/test/test_skeleton.py
144
+ """ , env = { MOMENTUM_MODELS_PATH = " momentum/" }, depends-on = [
145
+ " build_py" ,
146
+ ] }
147
+ doc_py = { cmd = " sphinx-build -a -E -b html pymomentum/doc build/python_api_doc" , depends-on = [
148
+ " build_py" ,
149
+ ] }
150
+ open_doc_py = { cmd = " open build/python_api_doc/index.html" , depends-on = [
151
+ " doc_py" ,
152
+ ] }
135
153
136
154
# ===========
137
155
# linux-64
@@ -141,7 +159,6 @@ tracy = { cmd = "tracy-profiler" }
141
159
nvtx-c = " >=3.1.0" # TODO: Add to pytorch as run dep
142
160
143
161
[target .linux-64 .dependencies ]
144
- pytorch = " >=2.6.0,<3"
145
162
sysroot_linux-64 = " >=2.28"
146
163
147
164
[target .linux-64 .tasks ]
@@ -226,7 +243,6 @@ open_doc_py = { cmd = "open build/python_api_doc/index.html", depends-on = [
226
243
[target .osx .build-dependencies ]
227
244
228
245
[target .osx .dependencies ]
229
- pytorch = " >=2.6.0,<3"
230
246
231
247
[target .osx .tasks ]
232
248
build_py = { cmd = " pip install . -vv" , env = { CMAKE_ARGS = """
@@ -252,7 +268,6 @@ open_doc_py = { cmd = "open build/python_api_doc/index.html", depends-on = [
252
268
[target .osx-arm64 .build-dependencies ]
253
269
254
270
[target .osx-arm64 .dependencies ]
255
- pytorch = " >=2.6.0,<3"
256
271
257
272
[target .osx-arm64 .tasks ]
258
273
build_py = { cmd = " pip install . -vv" , env = { CMAKE_ARGS = """
@@ -340,6 +355,10 @@ install = { cmd = "cmake --build build/$PIXI_ENVIRONMENT_NAME/cpp -j --target in
340
355
" build" ,
341
356
] }
342
357
tracy = { cmd = " tracy-profiler.exe" }
358
+ build_py = { cmd = " pip install . -vv" , env = { CMAKE_ARGS = """
359
+ -DMOMENTUM_BUILD_IO_FBX=$MOMENTUM_BUILD_IO_FBX \
360
+ -DMOMENTUM_ENABLE_SIMD=$MOMENTUM_ENABLE_SIMD
361
+ """ , MOMENTUM_BUILD_IO_FBX = " OFF" , MOMENTUM_ENABLE_SIMD = " ON" } }
343
362
344
363
# ==============
345
364
# Feature: CPU
0 commit comments