Skip to content

Commit 2e1bcf9

Browse files
authored
Add experimental desktop/ folder (#12374)
See README.md
1 parent b5f950b commit 2e1bcf9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

desktop/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Experimental: PyTorch Unified Python-less Solution
2+
3+
This folder contains the experimental PyTorch Unified Python-less Solution, for both compiler and runtime. Proceed with caution.
4+
5+
6+
## torch dependency
7+
We use the pinned pytorch version from `install_requirements.py` and CI should be using `.ci/docker/ci_commit_pins/pytorch.txt` which should be consistent with `install_requirements.py`.
8+
9+
10+
## Compiler
11+
All code should live in `compiler/` folder. Code uses `torch` nightly as mentioned in torch dependency section.
12+
13+
## Runtime
14+
All code should live in `runtime/` folder. CMake build system should leverage `libtorch` in the pip install of `torch` nightly. To build runtime, we need to point `CMAKE_PREFIX_PATH` to the pip install location of `torch` nightly. This way we can do:
15+
16+
```cmake
17+
find_package(torch REQUIRED)
18+
```

0 commit comments

Comments
 (0)