Skip to content

Release v2.2.1 #225

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

Merged
merged 6 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/doxygen/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PROJECT_NAME = "LLM for Unity"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = v2.2.0
PROJECT_NUMBER = v2.2.1

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v2.2.1
#### 🐛 Fixes

- Fix naming showing full path when loading model (PR: #224)
- Fix parallel prompts (PR: #226)


## v2.2.0
#### 🚀 Features

Expand Down
17 changes: 2 additions & 15 deletions CHANGELOG.release.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
### 🚀 Features

- Implement embedding and lora adapter functionality (PR: #210)
- Read context length and warn if it is very large (PR: #211)
- Setup allowing to use extra features: flash attention and IQ quants (PR: #216)
- Allow HTTP request retries for remote server (PR: #217)
- Allow to set lora weights at startup, add unit test (PR: #219)
- allow relative StreamingAssets paths for models (PR: #221)

### 🐛 Fixes

- Fix set template for remote setup (PR: #208)
- fix crash when stopping scene before LLM creation (PR: #214)

### 📦 General

- Documentation/point to gguf format for lora (PR: #215)
- Fix naming showing full path when loading model (PR: #224)
- Fix parallel prompts (PR: #226)

1 change: 1 addition & 0 deletions Runtime/LLMCharacter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

namespace LLMUnity
{
[DefaultExecutionOrder(-2)]
/// @ingroup llm
/// <summary>
/// Class implementing the LLM characters.
Expand Down
4 changes: 2 additions & 2 deletions Runtime/LLMManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ public static string GetFilenameOrRelativeAssetPath(string path)
{
return LLMUnitySetup.RelativePath(assetPath, basePath);
}
return path;
return Path.GetFileName(path);
}

public ModelEntry(string path, bool lora = false, string label = null, string url = null)
{
filename = GetFilenameOrRelativeAssetPath(path);
this.label = label == null ? filename : label;
this.label = label == null ? Path.GetFileName(filename) : label;
this.lora = lora;
this.path = LLMUnitySetup.GetFullPath(path);
this.url = url;
Expand Down
2 changes: 1 addition & 1 deletion Runtime/LLMUnitySetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public class LLMUnitySetup
{
// DON'T CHANGE! the version is autocompleted with a GitHub action
/// <summary> LLM for Unity version </summary>
public static string Version = "v2.2.0";
public static string Version = "v2.2.1";
/// <summary> LlamaLib version </summary>
public static string LlamaLibVersion = "v1.1.10";
/// <summary> LlamaLib release url </summary>
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.2.0
v2.2.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ai.undream.llm",
"version": "2.2.0",
"version": "2.2.1",
"displayName": "LLM for Unity",
"description": "LLM for Unity allows to run and distribute Large Language Models (LLMs) in the Unity engine.",
"unity": "2022.3",
Expand Down
Loading