Class implementing helper functions for setup and process management.
More...
Class implementing helper functions for setup and process management.
Definition at line 97 of file LLMUnitySetup.cs.
◆ AddErrorCallBack()
| static void LLMUnity.LLMUnitySetup.AddErrorCallBack |
( |
Action< string > | callback | ) |
|
|
inlinestatic |
◆ AndroidGetNumBigCores()
| static int LLMUnity.LLMUnitySetup.AndroidGetNumBigCores |
( |
| ) |
|
|
inlinestatic |
◆ AndroidGetNumBigCoresCapacity()
| static int LLMUnity.LLMUnitySetup.AndroidGetNumBigCoresCapacity |
( |
| ) |
|
|
inlinestatic |
◆ ClearErrorCallBacks()
| static void LLMUnity.LLMUnitySetup.ClearErrorCallBacks |
( |
| ) |
|
|
inlinestatic |
Remove all callback function added for error logs.
Definition at line 611 of file LLMUnitySetup.cs.
◆ GetMaxFreqKHz()
| static int LLMUnity.LLMUnitySetup.GetMaxFreqKHz |
( |
int | cpuId | ) |
|
|
inlinestatic |
◆ IsSmtCpu()
| static bool LLMUnity.LLMUnitySetup.IsSmtCpu |
( |
int | cpuId | ) |
|
|
inlinestatic |
◆ RemoveErrorCallBack()
| static void LLMUnity.LLMUnitySetup.RemoveErrorCallBack |
( |
Action< string > | callback | ) |
|
|
inlinestatic |
Remove callback function added for error logs.
Definition at line 605 of file LLMUnitySetup.cs.
◆ cacheDownloadPath
| string LLMUnity.LLMUnitySetup.cacheDownloadPath = Path.Combine(LLMUnityStore, "cache") |
|
static |
◆ cacheZipHashPath
| string LLMUnity.LLMUnitySetup.cacheZipHashPath = cacheZipPath + ".sha256" |
|
static |
◆ cacheZipPath
◆ libraryName
◆ libraryPath
| string LLMUnity.LLMUnitySetup.libraryPath = GetAssetPath(libraryName) |
|
static |
◆ LlamaLibReleaseURL
| string LLMUnity.LLMUnitySetup.LlamaLibReleaseURL = $"https://github.com/undreamai/LlamaLib/releases/download/{LlamaLibVersion}" |
|
static |
◆ LlamaLibURL
| string LLMUnity.LLMUnitySetup.LlamaLibURL = $"{LlamaLibReleaseURL}/{libraryName}.zip" |
|
static |
◆ LlamaLibVersion
| string LLMUnity.LLMUnitySetup.LlamaLibVersion = "v2.0.5" |
|
static |
◆ LLMManagerPath
| string LLMUnity.LLMUnitySetup.LLMManagerPath = GetAssetPath("LLMManager.json") |
|
static |
Path of file with build information for runtime.
Definition at line 121 of file LLMUnitySetup.cs.
◆ LLMUnityStore
| string LLMUnity.LLMUnitySetup.LLMUnityStore = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "LLMUnity") |
|
static |
◆ modelDownloadPath
| string LLMUnity.LLMUnitySetup.modelDownloadPath = Path.Combine(LLMUnityStore, "models") |
|
static |
◆ modelOptions
| readonly Dictionary<string, (string, string, string)[]> LLMUnity.LLMUnitySetup.modelOptions |
|
static |
◆ Version
| string LLMUnity.LLMUnitySetup.Version = "v3.0.3" |
|
static |
The documentation for this class was generated from the following file: