Merge 4db0e0144d into 257da9b586
This commit is contained in:
commit
e79844d726
|
|
@ -569,6 +569,17 @@ export default function SimpleJob({
|
|||
)}
|
||||
{jobConfig.config.process[0].network?.type == 'lora' && (
|
||||
<>
|
||||
<TextInput
|
||||
label="Pretrained LoRA Path"
|
||||
value={jobConfig.config.process[0].network.pretrained_lora_path ?? ''}
|
||||
onChange={value =>
|
||||
setJobConfig(
|
||||
value.trim() === '' ? undefined : value.trim(),
|
||||
'config.process[0].network.pretrained_lora_path'
|
||||
)
|
||||
}
|
||||
placeholder="eg. /path/to/previous_lora.safetensors"
|
||||
/>
|
||||
<NumberInput
|
||||
label="Linear Rank"
|
||||
value={jobConfig.config.process[0].network.linear}
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ export interface GPUApiResponse {
|
|||
|
||||
export interface NetworkConfig {
|
||||
type: string;
|
||||
pretrained_lora_path?: string;
|
||||
linear: number;
|
||||
linear_alpha: number;
|
||||
conv: number;
|
||||
|
|
|
|||
Loading…
Reference in New Issue