R package citation, R package reverse dependencies, R package scholars, install an r package from GitHub hy is package acceptance pending why is package undeliverable amazon why is package on hold dhl tour packages why in r package r and r package full form why is r free why r is bad which r package to install which r package has which r package which r package version which r package readxl which r package ggplot which r package fread which r package license where is package.json where is package-lock.json where is package.swift where is package explorer in eclipse where is package where is package manager unity where is package installer android where is package manager console in visual studio who r package which r package to install which r package version who is package who is package deal who is package design r and r package full form r and r package meaning what r package has what package r what is package in java what is package what is package-lock.json what is package in python what is package.json what is package installer do r package can't install r packages r can't find package r can't load package can't load xlsx package r can't install psych package r can't install sf package r Write if else in NONMEM pk pd
sd2R
View on CRAN: Click
here
Download and install sd2R package within the R console
Install from CRAN:
install.packages("sd2R")
Install from Github:
library("remotes")
install_github("cran/sd2R") Install by package version:
library("remotes")
install_version("sd2R", "0.1.7") Attach the package and use:
library("sd2R")
Maintained by
Yuri Baramykov
[Scholar Profile | Author Map]
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-04-13
Latest Update: 2026-04-13
Description:
Provides Stable Diffusion image generation in R using the 'ggmlR' tensor library. Supports text-to-image and image-to-image generation with multiple model versions (SD 1.x, SD 2.x, 'SDXL', Flux). Implements the full inference pipeline including CLIP text encoding, 'UNet' noise removal, and 'VAE' encoding/decoding. Unified sd_generate() entry point with automatic strategy selection (direct, tiled sampling, high-resolution fix) based on output resolution and available 'VRAM'. High-resolution generation (2K, 4K+) via tiled 'VAE' decoding, tiled diffusion sampling ('MultiDiffusion'), and classic two-pass refinement (text-to-image, then upscale with image-to-image). Multi-GPU parallel generation via sd_generate_multi_gpu(). Multi-GPU model parallelism via 'device_layout' in sd_ctx(): distribute diffusion, text encoders, and 'VAE' across separate 'Vulkan' devices. Built-in profiling (sd_profile_start(), sd_profile_summary()) for per-stage timing of text encoding, sampling, and 'VAE' decode. Supports CPU and 'Vulkan' GPU. No 'Python' or external API dependencies required. Cross-platform: Linux, macOS, Windows.
How to cite:
Yuri Baramykov (2026). sd2R: Stable Diffusion Image Generation. R package version 0.1.7, https://cran.r-project.org/web/packages/sd2R. Accessed 04 Jul. 2026.
Other packages that cited sd2R R package
View sd2R citation profile
Other R packages that sd2R depends,
imports, suggests or enhances
Complete documentation for sd2R
Functions, R codes and Examples using
the sd2R R package
Full sd2R package
functions and examples
Downloads during the last 30 days
Today's Hot Picks in Authors and Packages
SurvCorr
Estimates correlation coefficients with associated confidence limits for bivariate, partially censo ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Georg Heinze (view profile)
multiwayvcov
Exports two functions implementing
multi-way clustering using the method suggested by Cameron, Gelb ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Nathaniel Graham (view profile)
missCompare
Offers a convenient pipeline to test and compare various missing data
imputation algorithms on simu ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Tibor V. Varga (view profile)
musica
Provides functions allowing for (1) easy aggregation of multivariate time series into custom time sc ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Martin Hanel (view profile)
quickcode
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Obinna Obianom (view profile)
PELVIS
An R-Shiny application implementing a method of sexing the human os coxae based on logistic regressi ...
Download / Learn more Package Citations See dependency
Download / Learn more Package Citations See dependency
Maintainer: Frédéric Santos (view profile)
27,653
R Packages
236,180
Dependencies
73,674
Author Associations
27,536
Publication Badges
