Readme
This model doesn't have a readme.
(Updated 1 year ago)
REPLICATE_API_TOKEN
environment variable:export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
Run vetkastar/lora-train-xl using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
curl -s -X POST \
-H "Authorization: Bearer $REPLICATE_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Prefer: wait" \
-d $'{
"version": "vetkastar/lora-train-xl:4bb7eb6fe40dc596d8c9984085cf442e9509edb322466f76a29de9807baac409",
"input": {
"seed": 1,
"unet_lr": 0.0001,
"flip_aug": false,
"xformers": true,
"clip_skip": 1,
"color_aug": false,
"full_bf16": false,
"full_fp16": false,
"lr_warmup": 10,
"resolution": "1024,1024",
"save_state": false,
"keep_tokens": 1,
"network_dim": 128,
"no_half_vae": true,
"lr_scheduler": "constant_with_warmup",
"noise_offset": 0,
"cache_latents": true,
"learning_rate": 0.000002,
"max_grad_norm": 1,
"network_alpha": 128,
"save_model_as": "safetensors",
"network_module": "networks.lora",
"optimizer_type": "AdamW8bit",
"save_precision": "bf16",
"dataset_repeats": 75,
"lr_warmup_steps": 20,
"max_train_steps": 9999,
"mixed_precision": "bf16",
"shuffle_caption": false,
"text_encoder_lr": 0.00005,
"lora_output_name": "Lora",
"max_token_length": 150,
"max_train_epochs": 1,
"save_safetensors": true,
"train_batch_size": 8,
"bucket_no_upscale": false,
"bucket_reso_steps": 32,
"prior_loss_weight": 1,
"scale_weight_norms": 0,
"save_every_n_epochs": 1,
"caption_dropout_rate": 0,
"gradient_checkpointing": true,
"lr_scheduler_num_cycles": 1,
"max_data_loader_n_workers": 0,
"gradient_accumulation_steps": 1,
"pretrained_model_name_or_path": "juggernautXL_version6Rundiffusion.safetensors",
"caption_dropout_every_n_epochs": 0,
"persistent_data_loader_workers": false
}
}' \
https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
No output yet! Press "Submit" to start a prediction.
This model runs on Nvidia A100 (80GB) GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.