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

Mergin rel-0.1.0 back to main #231

Merged
merged 26 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3387466
change version to rc
yufenglee Mar 1, 2024
a385421
0.1.0-rc.1
jchen351 Mar 6, 2024
77c2965
0.1rc1.0
jchen351 Mar 6, 2024
39267e9
0.1rc1.0
jchen351 Mar 6, 2024
ed96e65
Microsoft.ML.OnnxRuntimeGenAI.nuspec
jchen351 Mar 6, 2024
4ca64cc
0.1.0rc1
jchen351 Mar 6, 2024
5ab1d04
${{ if eq(parameters
jchen351 Mar 6, 2024
e76f6c9
rm -rf ort/lib/*tensorrt*
jchen351 Mar 6, 2024
ff0a54b
rm -rf ort/lib/*tensorrt*
jchen351 Mar 6, 2024
e39127a
exclude headers
jchen351 Mar 6, 2024
53f688d
'0.1.0-rc1'
jchen351 Mar 6, 2024
08d5a49
Merge remote-tracking branch 'refs/remotes/origin/main' into rel-0.1.0
jchen351 Mar 6, 2024
596dff9
- name: arch
jchen351 Mar 6, 2024
1a34a23
Merge remote-tracking branch 'refs/remotes/origin/main' into rel-0.1.0
jchen351 Mar 6, 2024
7a2066c
Ask pybind to load dependencies dynamically on runtime (#169) (#170)
baijumeswani Mar 7, 2024
e301fa4
limit thread number to 16 (#168)
yufenglee Mar 7, 2024
4d8cc2f
ThirdPartyNotices (#171)
jchen351 Mar 7, 2024
8a8c866
Fix Nuget and CAPI ESRP (#172) (#173)
jchen351 Mar 7, 2024
d12895f
Include libonnxruntime*.so* in the setup.py (#174)
baijumeswani Mar 7, 2024
233a55f
rc1 to rc2
jchen351 Mar 8, 2024
dd64587
Cherry-pick for rel-0.1.0 RC3 (#192)
jchen351 Mar 13, 2024
57c5539
Cjian/rc3 (#198)
jchen351 Mar 14, 2024
f43f7b0
Rc4 cherry-pick (#226)
jchen351 Mar 25, 2024
7d965af
Cjian/rc4 (#228)
jchen351 Mar 25, 2024
842e8d9
Merge branch 'refs/heads/main' into cjian/rel-0.1.0
jchen351 Mar 25, 2024
551f253
pip install onnxruntime_genai-*.whl
jchen351 Mar 27, 2024
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
2 changes: 1 addition & 1 deletion .pipelines/stages/jobs/steps/capi-linux-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ steps:
- task: BinSkim@4
displayName: 'Run BinSkim'
inputs:
AnalyzeTargetGlob: '$(Build.Repository.LocalPath)/**/*.pyd'
AnalyzeTargetGlob: '$(Build.Repository.LocalPath)/build/**/*cpython*.so'
continueOnError: true

- bash: |
Expand Down
2 changes: 1 addition & 1 deletion .pipelines/stages/jobs/steps/nuget-win-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ steps:
DisplayName: 'ESRP - Sign C# dlls'
Pattern: '*OnnxRuntimeGenAI*.dll'
- powershell: |
$VERSION = '0.1.0-rc1'
$VERSION = '0.1.0-rc4'
nuget.exe pack Microsoft.ML.OnnxRuntimeGenAI.nuspec `
-Prop version=$VERSION `
-Prop genai_nuget_ext=$(genai_nuget_ext) `
Expand Down
2 changes: 1 addition & 1 deletion VERSION_INFO
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0-dev
0.1.0rc4
8 changes: 8 additions & 0 deletions examples/csharp/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Gen-AI C# Phi-2 Example

## Install the onnxruntime-genai library

* Install the python package

```bash
pip install onnxruntime-genai
```

## Get the model

You can generate the model using the model builder provided with this library, or bring your own model.
Expand Down
4 changes: 4 additions & 0 deletions examples/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

Install the python package according to the [installation instructions](https://onnxruntime.ai/docs/genai/howto/install).

```bash
cd build/wheel
pip install onnxruntime_genai-*.whl
```

## Get the model

Expand Down
6 changes: 3 additions & 3 deletions test/csharp/TestOnnxRuntimeGenAIAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void TestTopKSearch()
int topK = 100;
float temp = 0.6f;
ulong maxLength = 20;

string modelPath = Path.Combine(Directory.GetCurrentDirectory(), "test_models", "cpu", "phi-2");
using (var model = new Model(modelPath))
{
Expand Down Expand Up @@ -135,7 +135,7 @@ public void TestTopPSearch()
float topP = 0.6f;
float temp = 0.6f;
ulong maxLength = 20;

string modelPath = Path.Combine(Directory.GetCurrentDirectory(), "test_models", "cpu", "phi-2");
using (var model = new Model(modelPath))
{
Expand Down Expand Up @@ -178,7 +178,7 @@ public void TestTopKTopPSearch()
float topP = 0.6f;
float temp = 0.6f;
ulong maxLength = 20;

string modelPath = Path.Combine(Directory.GetCurrentDirectory(), "test_models", "cpu", "phi-2");
using (var model = new Model(modelPath))
{
Expand Down
Loading