@civitai/orchestration-client 0.2.3 → 0.2.4

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.
@@ -48,6 +48,22 @@ export type AiToolkitTrainingInput = Omit<TrainingInput, 'engine'> & {
48
48
  * You can change the learning rate in the middle of learning. A scheduler is a setting for how to change the learning rate.
49
49
  */
50
50
  lrScheduler?: 'constant' | 'constant_with_warmup' | 'cosine' | 'linear' | 'step';
51
+ /**
52
+ * Warmup steps for constant learning rate, up to the total training steps. Omit to keep the scheduler default.
53
+ */
54
+ lrWarmupSteps?: null | number;
55
+ /**
56
+ * Chance of training without a caption, from 0 to 1. Omit to keep the model default.
57
+ */
58
+ captionDropoutRate?: null | number;
59
+ /**
60
+ * LoRA rank dropout probability, from 0 (off) to less than 1. Defaults to off.
61
+ */
62
+ rankDropout?: null | number;
63
+ /**
64
+ * Enable AI Toolkit's eligible convolution adapters at rank 16. Omit to keep the model default.
65
+ */
66
+ trainConv?: null | boolean;
51
67
  /**
52
68
  * The optimizer determines how to update the neural net weights during training.
53
69
  * Various methods have been proposed for smart learning, but the most commonly used in LoRA learning is "adamw8bit".
@@ -3315,6 +3331,22 @@ export type ComfyTrainingInput = Omit<TrainingInput, 'engine'> & {
3315
3331
  * You can change the learning rate in the middle of learning. A scheduler is a setting for how to change the learning rate.
3316
3332
  */
3317
3333
  lrScheduler?: 'constant' | 'constant_with_warmup' | 'cosine' | 'linear' | 'step';
3334
+ /**
3335
+ * Warmup steps for constant learning rate, up to the total training steps. Omit to keep the scheduler default.
3336
+ */
3337
+ lrWarmupSteps?: null | number;
3338
+ /**
3339
+ * Chance of training without a caption, from 0 to 1. Omit to keep the model default.
3340
+ */
3341
+ captionDropoutRate?: null | number;
3342
+ /**
3343
+ * LoRA rank dropout probability, from 0 (off) to less than 1. Defaults to off.
3344
+ */
3345
+ rankDropout?: null | number;
3346
+ /**
3347
+ * Enable AI Toolkit's eligible convolution adapters at rank 16. Omit to keep the model default.
3348
+ */
3349
+ trainConv?: null | boolean;
3318
3350
  /**
3319
3351
  * The optimizer determines how to update the neural net weights during training.
3320
3352
  * Various methods have been proposed for smart learning, but the most commonly used in LoRA learning is "adamw8bit".
@@ -9697,6 +9729,7 @@ export declare const SeedreamVersion: {
9697
9729
  readonly V4_5: 'v4.5';
9698
9730
  readonly V5_0_LITE: 'v5.0-lite';
9699
9731
  readonly V5_0_PRO: 'v5.0-pro';
9732
+ readonly V5_5: 'v5.5';
9700
9733
  };
9701
9734
  export type SeedreamVersion = (typeof SeedreamVersion)[keyof typeof SeedreamVersion];
9702
9735
  export type ServiceHistory = {
@@ -11957,6 +11990,7 @@ export type WorkflowStepWarning = {
11957
11990
  export declare const WorkflowStepWarningCode: {
11958
11991
  readonly MODEL_DEPRECATED: 'modelDeprecated';
11959
11992
  readonly FIELD_DEPRECATED: 'fieldDeprecated';
11993
+ readonly FIELD_IGNORED: 'fieldIgnored';
11960
11994
  };
11961
11995
  export type WorkflowStepWarningCode =
11962
11996
  (typeof WorkflowStepWarningCode)[keyof typeof WorkflowStepWarningCode];
@@ -12443,6 +12477,22 @@ export type AiToolkitTrainingInputWritable = Omit<TrainingInputWritable2, 'engin
12443
12477
  * You can change the learning rate in the middle of learning. A scheduler is a setting for how to change the learning rate.
12444
12478
  */
12445
12479
  lrScheduler?: 'constant' | 'constant_with_warmup' | 'cosine' | 'linear' | 'step';
12480
+ /**
12481
+ * Warmup steps for constant learning rate, up to the total training steps. Omit to keep the scheduler default.
12482
+ */
12483
+ lrWarmupSteps?: null | number;
12484
+ /**
12485
+ * Chance of training without a caption, from 0 to 1. Omit to keep the model default.
12486
+ */
12487
+ captionDropoutRate?: null | number;
12488
+ /**
12489
+ * LoRA rank dropout probability, from 0 (off) to less than 1. Defaults to off.
12490
+ */
12491
+ rankDropout?: null | number;
12492
+ /**
12493
+ * Enable AI Toolkit's eligible convolution adapters at rank 16. Omit to keep the model default.
12494
+ */
12495
+ trainConv?: null | boolean;
12446
12496
  /**
12447
12497
  * The optimizer determines how to update the neural net weights during training.
12448
12498
  * Various methods have been proposed for smart learning, but the most commonly used in LoRA learning is "adamw8bit".
@@ -12777,6 +12827,22 @@ export type ComfyTrainingInputWritable = Omit<TrainingInputWritable2, 'engine'>
12777
12827
  * You can change the learning rate in the middle of learning. A scheduler is a setting for how to change the learning rate.
12778
12828
  */
12779
12829
  lrScheduler?: 'constant' | 'constant_with_warmup' | 'cosine' | 'linear' | 'step';
12830
+ /**
12831
+ * Warmup steps for constant learning rate, up to the total training steps. Omit to keep the scheduler default.
12832
+ */
12833
+ lrWarmupSteps?: null | number;
12834
+ /**
12835
+ * Chance of training without a caption, from 0 to 1. Omit to keep the model default.
12836
+ */
12837
+ captionDropoutRate?: null | number;
12838
+ /**
12839
+ * LoRA rank dropout probability, from 0 (off) to less than 1. Defaults to off.
12840
+ */
12841
+ rankDropout?: null | number;
12842
+ /**
12843
+ * Enable AI Toolkit's eligible convolution adapters at rank 16. Omit to keep the model default.
12844
+ */
12845
+ trainConv?: null | boolean;
12780
12846
  /**
12781
12847
  * The optimizer determines how to update the neural net weights during training.
12782
12848
  * Various methods have been proposed for smart learning, but the most commonly used in LoRA learning is "adamw8bit".
@@ -416,6 +416,7 @@ export const SeedreamVersion = {
416
416
  V4_5: 'v4.5',
417
417
  V5_0_LITE: 'v5.0-lite',
418
418
  V5_0_PRO: 'v5.0-pro',
419
+ V5_5: 'v5.5',
419
420
  };
420
421
  export const ServiceStatus = {
421
422
  UNKNOWN: 'unknown',
@@ -492,6 +493,7 @@ export const WorkflowStatus = {
492
493
  export const WorkflowStepWarningCode = {
493
494
  MODEL_DEPRECATED: 'modelDeprecated',
494
495
  FIELD_DEPRECATED: 'fieldDeprecated',
496
+ FIELD_IGNORED: 'fieldIgnored',
495
497
  };
496
498
  /**
497
499
  * How a workflow is paid for.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@civitai/orchestration-client",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Civitai's javascript client for generating ai content",
5
5
  "packageManager": "pnpm@10.34.4",
6
6
  "main": "dist/index.js",