Skip to content

Commit 014c177

Browse files
protobird-gitcopybara-github
authored andcommitted
Sync with github to support LFS (Large File Storage) for prebuilt binaries
LiteRT-LM-PiperOrigin-RevId: 861722316
1 parent 986919a commit 014c177

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.gitattributes

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
BUILD.llguidance text eol=lf
2-
prebuilt/*/*.so filter=lfs diff=lfs merge=lfs -text
3-
prebuilt/*/*.dylib filter=lfs diff=lfs merge=lfs -text
4-
prebuilt/*/*.dll filter=lfs diff=lfs merge=lfs -text
5-
prebuilt/*/*.lib filter=lfs diff=lfs merge=lfs -text
1+
BUILD.llguidance text eol=lf

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,12 @@ device and your development platform.
225225

226226
> Note: In order to run on GPU on all platforms, we need to take extra steps:
227227
>
228-
> 1. Install [Git LFS](https://git-lfs.com), then run `git lfs checkout` to fetch
229-
prebuilt binaries. These steps are required only once if not done before.
230228
> 1. Add `--define=litert_link_capi_so=true`
231229
`--define=resolve_symbols_in_exec=false` in the build command.
232-
> 1. `mkdir -p <test_dir>; cp <your litert_lm_main> <test_dir>; cp ./prebuilt/<your OS>/<shared libaries> <test_dir>/`
230+
> 2. `mkdir -p <test_dir>; cp <your litert_lm_main> <test_dir>; cp ./prebuilt/<your OS>/<shared libaries> <test_dir>/`
233231
and make sure the prebuilt .so/.dll/.dylib files are in the same directory as
234232
`litert_lm_main` binary
235-
> 1. Running GPU on Windows needs DirectXShaderCompiler. See
233+
> 3. Running GPU on Windows needs DirectXShaderCompiler. See
236234
[this Note](#windows_gpu) for more details.
237235

238236
<details>

0 commit comments

Comments
 (0)