Text-to-Image
Diffusers
TensorBoard
diffusers-training
lora
template:sd-lora
sd3.5-large
sd3.5
sd3.5-diffusers
Instructions to use jiaxuan3040/tem_sd35_lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jiaxuan3040/tem_sd35_lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("jiaxuan3040/tem_sd35_lora") prompt = "TEM_BF material_Ni ion_Kr energy_1MeV dose_0.200 temperature_600" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-3.5-large", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("jiaxuan3040/tem_sd35_lora")
prompt = "TEM_BF material_Ni ion_Kr energy_1MeV dose_0.200 temperature_600"
image = pipe(prompt).images[0]SD3.5-Large DreamBooth LoRA - jiaxuan3040/tem_sd35_lora

- Prompt
- TEM_BF material_Ni ion_Kr energy_1MeV dose_0.200 temperature_600

- Prompt
- TEM_BF material_Ni ion_Kr energy_1MeV dose_0.200 temperature_600

- Prompt
- TEM_BF material_Ni ion_Kr energy_1MeV dose_0.200 temperature_600

- Prompt
- TEM_BF material_Ni ion_Kr energy_1MeV dose_0.200 temperature_600
Model description
These are jiaxuan3040/tem_sd35_lora DreamBooth LoRA weights for stabilityai/stable-diffusion-3.5-large.
The weights were trained using DreamBooth with the SD3 diffusers trainer.
Was LoRA for the text encoder enabled? False.
Trigger words
You should use irradiated_TEM_micrograph to trigger the image generation.
Download model
Download the *.safetensors LoRA in the Files & versions tab.
Use it with the 🧨 diffusers library
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained(stabilityai/stable-diffusion-3.5-large, torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('jiaxuan3040/tem_sd35_lora', weight_name='pytorch_lora_weights.safetensors')
image = pipeline('TEM_BF material_Ni ion_Kr energy_1MeV dose_0.200 temperature_600').images[0]
Use it with UIs such as AUTOMATIC1111, Comfy UI, SD.Next, Invoke
- LoRA: download
diffusers_lora_weights.safetensorshere 💾.- Rename it and place it on your
models/Lorafolder. - On AUTOMATIC1111, load the LoRA by adding
<lora:your_new_name:1>to your prompt. On ComfyUI just load it as a regular LoRA.
- Rename it and place it on your
For more details, including weighting, merging and fusing LoRAs, check the documentation on loading LoRAs in diffusers
License
Please adhere to the licensing terms as described here.
Intended uses & limitations
How to use
# TODO: add an example code snippet for running this diffusion pipeline
Limitations and bias
[TODO: provide examples of latent issues and potential remediations]
Training details
[TODO: describe the data used to train the model]
- Downloads last month
- 3
Model tree for jiaxuan3040/tem_sd35_lora
Base model
stabilityai/stable-diffusion-3.5-large