Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix linux path typos in onnxruntime-genai/examples/c/README.md #947

Merged
merged 3 commits into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions examples/c/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ Change into the onnxruntime-genai directory.

```bash
# This should be run from the root of the onnxruntime-genai folder
python build.py --config Release --ort_home examples\c
python build.py --config Release --ort_home examples/c
cp src/ort_genai.h examples/c/include
cp src/ort_genai_c.h examples/c/include
cp build/Linux/release/onnxruntime-genai.so examples/c/lib
cp build/Linux/Release/libonnxruntime-genai.so examples/c/lib
cd examples/c
```

Expand All @@ -246,15 +246,15 @@ cmake --build . --config Release
Build for CPU:

```bash
cmake . -DPHI3=ON
mkdir build
cd build
cmake .. -DPHI3=ON
cmake --build . --config Release
```

#### Run the sample

```bash
cd Release
./phi3 path_to_model
```

Expand Down Expand Up @@ -337,10 +337,10 @@ Change into the onnxruntime-genai directory.

```bash
# This should be run from the root of the onnxruntime-genai folder
python build.py --config Release --ort_home examples\c
python build.py --config Release --ort_home examples/c
cp src/ort_genai.h examples/c/include
cp src/ort_genai_c.h examples/c/include
cp build/Linux/release/onnxruntime-genai.so examples/c/lib
cp build/Linux/Release/libonnxruntime-genai.so examples/c/lib
cd examples/c
```

Expand Down
Loading