Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Stability-AI/generative-models
/ sampling.py
File
sampling.py
scripts/demo/sampling.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
pytorch_lightning
import
seed_everything
2
3
from
scripts.demo.streamlit_helpers
import
*
4
Callers
nothing calls this directly
Calls
8
set_lowvram_mode
Function · 0.85
init_save_locally
Function · 0.85
init_st
Function · 0.85
init_sampling
Function · 0.85
run_txt2img
Function · 0.85
run_img2img
Function · 0.85
apply_refiner
Function · 0.85
perform_save_locally
Function · 0.70
Tested by
no test coverage detected