Skip to content

Commit 5a95a79

Browse files
authored
Update env setting for Tsingmicro backend (flagos-ai#4796)
1 parent 3f181d2 commit 5a95a79

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/flag_gems/backends.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,16 @@ backends:
229229
triton: triton==3.3.0+gitfe2a28fa
230230
flagtree: flagtree==0.5.0.post20260612+git705a4064
231231
env:
232-
TX8_DEPS_ROOT: /opt/tx8_deps
233-
LLVM_SYSPATH: /opt/llvm
232+
KUIPER_PATH: /usr/local/kuiper
233+
TX8_DEPS_ROOT: /usr/local/tx8_deps
234+
PATH: /usr/local/kuiper/bin:${PATH}
235+
LLVM_SYSPATH: /usr/local/llvm
234236
LLVM_BINARY_DIR: ${LLVM_SYSPATH}/bin
235237
PYTHONPATH: ${LLVM_SYSPATH}/python_packages/mlir_core
236238
LD_LIBRARY_PATH: /usr/local/kuiper/lib:/usr/local/kuiper/tsm8-profiler/lib:${TX8_DEPS_ROOT}/lib:${LD_LIBRARY_PATH}
237239
USE_TORCH_XLA: "0"
238240
TORCH_COMPILE_DISABLE: "1"
241+
239242
deps:
240243
- torch==2.7.0+cpu
241244
- torchvision==0.22.0+cpu

0 commit comments

Comments
 (0)