@fugood/bricks-project 2.21.10 → 2.21.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.21.10",
3
+ "version": "2.21.11",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "build": "node scripts/build.js"
@@ -6858,6 +6858,7 @@ Default property:
6858
6858
  "vocoderUrl": "https://huggingface.co/ggml-org/WavTokenizer/resolve/main/WavTokenizer-Large-75-F16.gguf",
6859
6859
  "vocoderHashType": "sha256",
6860
6860
  "vocoderHash": "2356baa8631cc2995ea3465196a017a2733600d849a91180c0f97fa7fb375bbe",
6861
+ "vocoderBatchSize": 4096,
6861
6862
  "outputType": "play",
6862
6863
  "cacheGenerated": true,
6863
6864
  "autoInferEnable": false,
@@ -6869,9 +6870,10 @@ Default property:
6869
6870
  "completionTopP": 0.9,
6870
6871
  "completionMinP": 0.05,
6871
6872
  "useGuideToken": false,
6872
- "contextSize": 4096,
6873
- "batchSize": 512,
6874
- "maxThreads": 1,
6873
+ "contextSize": 8192,
6874
+ "batchSize": 8192,
6875
+ "microBatchSize": 512,
6876
+ "maxThreads": 2,
6875
6877
  "accelVariant": "default",
6876
6878
  "mainGpu": 0,
6877
6879
  "gpuLayers": 0,
@@ -6896,6 +6898,8 @@ Default property:
6896
6898
  vocoderHashType?: 'md5' | 'sha256' | 'sha1' | DataLink
6897
6899
  /* Hash of vocoder model */
6898
6900
  vocoderHash?: string | DataLink
6901
+ /* Batch size of vocoder model */
6902
+ vocoderBatchSize?: number | DataLink
6899
6903
  /* Output mode */
6900
6904
  outputType?: 'play' | 'file' | DataLink
6901
6905
  /* Enable cache for generated audio */
@@ -6922,12 +6926,16 @@ Default property:
6922
6926
  completionMinP?: number | DataLink
6923
6927
  /* Set the random number generator (RNG) seed (default: -1, -1 = random seed) */
6924
6928
  completionSeed?: number | DataLink
6929
+ /* Number of tokens to predict */
6930
+ completionPredict?: number | DataLink
6925
6931
  /* Enable guide token to help prevent hallucinations by forcing the TTS to use the correct words. */
6926
6932
  useGuideToken?: boolean | DataLink
6927
6933
  /* Context size, for OutTTS recommended 4096 ~ 8192 (Default to 4096) */
6928
6934
  contextSize?: number | DataLink
6929
6935
  /* Logical batch size for prompt processing */
6930
6936
  batchSize?: number | DataLink
6937
+ /* Physical batch size for prompt processing */
6938
+ microBatchSize?: number | DataLink
6931
6939
  /* Number of threads */
6932
6940
  maxThreads?: number | DataLink
6933
6941
  /* Accelerator variant (Only for desktop)
@@ -841,6 +841,7 @@ export const templateEventPropsMap = {
841
841
  ],
842
842
  onCompletionFunctionCall: [
843
843
  'GENERATOR_LLM_COMPLETION_SESSION_KEY', // type: string
844
+ 'GENERATOR_LLM_COMPLETION_FUNCTION_CALL_ID', // type: string
844
845
  'GENERATOR_LLM_COMPLETION_FUNCTION_CALL_NAME', // type: string
845
846
  'GENERATOR_LLM_COMPLETION_FUNCTION_ARGUMENTS', // type: object
846
847
  'GENERATOR_LLM_COMPLETION_FUNCTION_DETAILS', // type: object