Skip to content

Commit

Permalink
Update the versions
Browse files Browse the repository at this point in the history
mlrt_ncnn: update the version to 1.0.3.
mlrt_ov: update the version to 1.0.2.
mlrt_ort: update the version to 1.0.1.
  • Loading branch information
Asd-g committed Feb 18, 2024
1 parent c57ac24 commit 7a4ec1c
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 34 deletions.
3 changes: 3 additions & 0 deletions mlrt_ncnn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
##### 1.0.3:
Fixed undefined behavior with ACP filename for network_path.

##### 1.0.2:
Tilesize_w/h limited to the clip dimensioins.

Expand Down
8 changes: 4 additions & 4 deletions mlrt_ncnn/src/mlrt_ncnn.rc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <winver.h>

1 VERSIONINFO
FILEVERSION 1,0,1,0
PRODUCTVERSION 1,0,1,0
FILEVERSION 1,0,3,0
PRODUCTVERSION 1,0,3,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILETYPE VFT_DLL
BEGIN
Expand All @@ -12,11 +12,11 @@ BEGIN
BEGIN
VALUE "Comments", "ML filter runtimes."
VALUE "FileDescription", "mlrt_ncnn for AviSynth+."
VALUE "FileVersion", "1.0.1"
VALUE "FileVersion", "1.0.3"
VALUE "InternalName", "mlrt_ncnn"
VALUE "OriginalFilename", "mlrt_ncnn.dll"
VALUE "ProductName", "mlrt_ncnn"
VALUE "ProductVersion", "1.0.1"
VALUE "ProductVersion", "1.0.3"
END
END
BLOCK "VarFileInfo"
Expand Down
7 changes: 7 additions & 0 deletions mlrt_ort/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
##### 1.0.1:
Fixed undefined behavior with ACP filename.
Fixed reading input planes with two or more input clips.
Changed how runtime files are loaded (now they must be located in mlrt_ort_rt folder next to mlrt_ort.dll).

##### 1.0.0:
Initial release. (port of the vs-mlrt 5f65ca4)
28 changes: 6 additions & 22 deletions mlrt_ort/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,13 @@

### Runtime files

1. Download [LoadDLL.dll](https://forum.doom9.org/showthread.php?t=173259).
2. Download the ONNX runtime files (`onnxruntime_dll.7z`) from [Releases](https://github.com/Asd-g/avs-mlrt/releases).
3. Extract them in `ort_runtime_files` folder (the folder can be located next to `mlrt_ort.dll` or in other place).
4. (optional if `provider="cuda"` will be used) Download the CUDA runtime files (`cuda_dll.7z`) from [Releases](https://github.com/Asd-g/avs-mlrt/releases) and extract them in the `ort_runtime_files` folder.
5. (optional if `provide="dml"` will NOT be used) Delete `DirectML.dll` from the `ort_runtime_files` folder.
6. Create a `mlrt_ort_loader.avsi` script next to `mlrt_ort.dll` that contains (the order of dll loading is important):
All runtime files must be in `mlrt_ort_rt` folder that is located in the same folder as `mlrt.ort.dll`.<br>
They can be downloaded from [Releases](https://github.com/Asd-g/avs-mlrt/releases).

```
# Uncomment the following lines if provider="cuda" will be used.
#LoadDLL("path_to_ort_runtime_files\cublasLt64_12.dll")
#LoadDLL("path_to_ort_runtime_files\cudart64_12.dll")
#LoadDLL("path_to_ort_runtime_files\cudnn64_8.dll")
#LoadDLL("path_to_ort_runtime_files\cufft64_11.dll")
#LoadDLL("path_to_ort_runtime_files\cudnn_ops_infer64_8.dll")
#LoadDLL("path_to_ort_runtime_files\cudnn_cnn_infer64_8.dll")
#LoadDLL("path_to_ort_runtime_files\cudnn_adv_infer64_8.dll")
# Uncomment the following line if provider="dml" will be used.
#LoadDLL("path_to_ort_runtime_files\DirectML.dll")
LoadDLL("path_to_ort_runtime_files\onnxruntime.dll")
LoadPlugin("mlrt_ort.dll")
```
- For `mlrt_ort(provider="cpu")` - only `onnxruntime_dll.7z` is needed.
- For `mlrt_ort(provider="dml")` - `onnxruntime_dll.7z` and `dml_dll.7z` are needed.
- For `mlrt_ort(provider="cuda")` - `onnxruntime_dll.7z` and `cuda_dll.7z` are needed.
- For all providers (`mlrt_ort(provider="cpu/dml/cuda")`) - `onnxruntime_dll.7z`, `dml_dll.7z` and `cuda_dll.7z` are needed.

### Usage:

Expand Down
8 changes: 4 additions & 4 deletions mlrt_ort/src/mlrt_ort.rc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <winver.h>

1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEVERSION 1,0,1,0
PRODUCTVERSION 1,0,1,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILETYPE VFT_DLL
BEGIN
Expand All @@ -12,11 +12,11 @@ BEGIN
BEGIN
VALUE "Comments", "ML filter runtimes."
VALUE "FileDescription", "mlrt_ort for AviSynth+."
VALUE "FileVersion", "1.0.0"
VALUE "FileVersion", "1.0.1"
VALUE "InternalName", "mlrt_ort"
VALUE "OriginalFilename", "mlrt_ort.dll"
VALUE "ProductName", "mlrt_ort"
VALUE "ProductVersion", "1.0.0"
VALUE "ProductVersion", "1.0.1"
END
END
BLOCK "VarFileInfo"
Expand Down
4 changes: 4 additions & 0 deletions mlrt_ov/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
##### 1.0.2:
Fixed undefined behavior with ACP filename.
Replaced the depreciated run_on_function with run_on_model.

##### 1.0.1:
Tilesize_w/h limited to the clip dimensioins.

Expand Down
8 changes: 4 additions & 4 deletions mlrt_ov/src/mlrt_ov.rc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <winver.h>

1 VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEVERSION 1,0,2,0
PRODUCTVERSION 1,0,2,0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILETYPE VFT_DLL
BEGIN
Expand All @@ -12,11 +12,11 @@ BEGIN
BEGIN
VALUE "Comments", "ML filter runtimes."
VALUE "FileDescription", "mlrt_ov for AviSynth+."
VALUE "FileVersion", "1.0.0"
VALUE "FileVersion", "1.0.2"
VALUE "InternalName", "mlrt_ov"
VALUE "OriginalFilename", "mlrt_ov.dll"
VALUE "ProductName", "mlrt_ov"
VALUE "ProductVersion", "1.0.0"
VALUE "ProductVersion", "1.0.2"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 7a4ec1c

Please sign in to comment.