0
Stable Audio 3: torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 28.00 MiB. GPU 0 has a total capa…
App: Stable Audio 3 (stable-audio-3-small.pinokio.git)
Repo: https://github.com/cocktailpeanut/stable-audio-3-small.pinokio.git
Generated: 2026-09-12T13:19:50.556Z
Pinokio: 8.2.0
Platform: win32 x64
Node: v22.21.1
Summary
System
{
"pinokio": {
"version": "8.2.0",
"node": "v22.21.1",
"platform": "win32",
"arch": "x64"
},
"hardware": {
"gpu": "nvidia",
"gpu_model": "nvidia geforce rtx 4060 ti",
"ram_gb": 32,
"vram_gb": 8,
"gpu_driver": "591.86",
"gpu_target": "sm_89"
},
"os": {
"platform": "Windows",
"distro": "Microsoft Windows 11 专业工作站版",
"release": "10.0.26200",
"codename": "25H2",
"kernel": "10.0.26200",
"arch": "x64",
"build": "26200",
"servicepack": "0.0",
"uefi": true
},
"system": {
"manufacturer": "ASUS",
"model": "System Product Name",
"version": "System Version",
"virtual": false
},
"cpu": {
"manufacturer": "AMD",
"brand": "Ryzen 5 7500F 6-Core Processor",
"vendor": "AuthenticAMD",
"family": "25",
"model": "97",
"stepping": "2",
"revision": "24834",
"speed": 5.3,
"speedMin": 5.3,
"speedMax": 5.3,
"cores": 12,
"physicalCores": 6,
"processors": 1,
"performanceCores": 12,
"efficiencyCores": 0,
"virtualization": false,
"cache": {
"l1d": 192,
"l1i": 192,
"l2": 6291456,
"l3": 33554432
}
},
"memory": {
"total": 34000785408,
"free": 12919275520,
"used": 21081509888,
"active": 21081509888,
"available": 12919275520,
"buffers": 0,
"cached": 0,
"slab": 0,
"buffcache": 0,
"swaptotal": 2550136832,
"swapused": 101711872,
"swapfree": 2448424960
},
"gpus": [
{
"model": "nvidia geforce rtx 4060 ti"
}
],
"graphics": {
"controllers": [
{
"vendor": "NVIDIA",
"model": "NVIDIA GeForce RTX 4060 Ti",
"bus": "PCI",
"vram": 8188,
"vramDynamic": false,
"driverVersion": "591.86"
}
],
"displays": [
{
"model": "H48 ",
"main": true,
"builtin": false,
"connection": "HDMI",
"currentResX": 1920,
"currentResY": 1080,
"resolutionX": 1920,
"resolutionY": 1080,
"pixelDepth": 32,
"currentRefreshRate": 180
}
]
},
"diagnostics": {
"platform": "win32",
"arch": "x64",
"running": {},
"home": "D:\\pinokio",
"vars": {
"pip": {
"install": {
"torch": "pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118"
}
}
},
"memory": {
"local": {},
"global": {},
"rpc": {
"D:\\pinokio\\api\\stable-audio-3-small.pinokio.git\\start.js": {
"method": "shell.run",
"params": {
"venv": "env",
"env": {
"GRADIO_SERVER_NAME": "127.0.0.1"
},
"path": "app",
"message": {
"_": [
"python",
"../launch.py",
"--model",
"{{args.model ? args.model : 'small-music'}}",
"--title",
"{{args.title ? args.title : 'Stable Audio 3 Small Music'}}",
"--default-prompt",
"{{args.prompt ? args.prompt : 'lo-fi hip hop beat, 90 BPM'}}"
]
},
"on": [
{
"event": "/(http:\\/\\/[0-9.:]+)/",
"done": true
}
]
}
}
},
"input": {
"D:\\pinokio\\api\\stable-audio-3-small.pinokio.git\\start.js": {
"model": "medium",
"title": "Stable Audio 3 Medium",
"prompt": "cinematic electronic track, melodic, 124 BPM"
}
},
"args": {
"D:\\pinokio\\api\\stable-audio-3-small.pinokio.git\\start.js": {
"model": "medium",
"title": "Stable Audio 3 Medium",
"prompt": "cinematic electronic track, melodic, 124 BPM"
}
}
},
"procs": {},
"gpu": "nvidia",
"gpus": [
{
"name": "nvidia",
"model": "nvidia geforce rtx 4060 ti",
"driver": "591.86"
}
],
"gpu_model": "nvidia geforce rtx 4060 ti",
"gpu_driver": "591.86",
"gpu_target": "sm_89",
"ram": 32,
"vram": 8,
"version": "8.2.0",
"graphics": {
"controllers": [
{
"vendor": "NVIDIA",
"model": "NVIDIA GeForce RTX 4060 Ti",
"bus": "PCI",
"vram": 8188,
"vramDynamic": false,
"subDeviceId": "0x187610B0",
"driverVersion": "591.86",
"name": "NVIDIA GeForce RTX 4060 Ti",
"pciBus": "00000000:01:00.0",
"fanSpeed": 86,
"memoryTotal": 8188,
"memoryUsed": 5854,
"memoryFree": 2086,
"utilizationGpu": 78,
"utilizationMemory": 48,
"temperatureGpu": 81,
"powerDraw": 141.18,
"powerLimit": 165,
"clockCore": 2715,
"clockMemory": 9201
}
],
"displays": [
{
"vendor": "SKG",
"model": "H48 ",
"serial": "0",
"productionYear": 2024,
"displayId": "display\\skg2418\\5&7b4eeda&1&uid4352_0",
"deviceName": "\\\\.\\DISPLAY1",
"main": true,
"builtin": false,
"connection": "HDMI",
"resolutionX": 1920,
"resolutionY": 1080,
"sizeX": 53,
"sizeY": 30,
"pixelDepth": 32,
"currentResX": 1920,
"currentResY": 1080,
"positionX": 0,
"positionY": 0,
"currentRefreshRate": 180
}
]
},
"audio": [
{
"id": "HDAUDIO\\FUNC_01&VEN_10DE&DEV_00A5&SUBSYS_10B01876&REV_1001\\5&2D7439FB&1&0001",
"name": "NVIDIA High Definition Audio",
"manufacturer": "NVIDIA",
"revision": null,
"driver": null,
"default": null,
"channel": null,
"type": "Sound Driver",
"in": null,
"out": null,
"status": "enabled"
},
{
"id": "USB\\VID_35BB&PID_A20E&MI_00\\9&332B4399&0&0000",
"name": "USB Audio Device",
"manufacturer": "(通用 USB 音频)",
"revision": null,
"driver": null,
"default": null,
"channel": null,
"type": "",
"in": null,
"out": null,
"status": "enabled"
},
{
"id": "ROOT\\UNNAMED_DEVICE\\0000",
"name": "NVIDIA Virtual Audio Device (Wave Extensible) (WDM)",
"manufacturer": "NVIDIA",
"revision": null,
"driver": null,
"default": null,
"channel": null,
"type": "",
"in": null,
"out": null,
"status": "enabled"
},
{
"id": "HDAUDIO\\FUNC_01&VEN_10EC&DEV_0897&SUBSYS_104387FB&REV_1004\\5&305CA84B&0&0001",
"name": "Realtek High Definition Audio",
"manufacturer": "Realtek",
"revision": null,
"driver": null,
"default": null,
"channel": null,
"type": "Sound Driver",
"in": null,
"out": null,
"status": "enabled"
},
{
"id": "USB\\VID_2D99&PID_A074&MI_00\\7&18D8445B&0&0000",
"name": "USB Audio Device",
"manufacturer": "(通用 USB 音频)",
"revision": null,
"driver": null,
"default": null,
"channel": null,
"type": "",
"in": null,
"out": null,
"status": "enabled"
}
],
"mem": {
"total": 34000785408,
"free": 12919275520,
"used": 21081509888,
"active": 21081509888,
"available": 12919275520,
"buffers": 0,
"cached": 0,
"slab": 0,
"buffcache": 0,
"reclaimable": 0,
"swaptotal": 2550136832,
"swapused": 101711872,
"swapfree": 2448424960,
"writeback": null,
"dirty": null
},
"osInfo": {
"platform": "Windows",
"distro": "Microsoft Windows 11 专业工作站版",
"release": "10.0.26200",
"codename": "25H2",
"kernel": "10.0.26200",
"arch": "x64",
"hostname": "PENGGUOYIN",
"fqdn": "PENGGUOYIN",
"codepage": "936",
"logofile": "windows",
"serial": "00391-70000-00000-AA184",
"build": "26200",
"servicepack": "0.0",
"uefi": true,
"hypervisor": false,
"remoteSession": false
},
"shell": "CMD",
"cpu": {
"manufacturer": "AMD",
"brand": "Ryzen 5 7500F 6-Core Processor",
"vendor": "AuthenticAMD",
"family": "25",
"model": "97",
"stepping": "2",
"revision": "24834",
"voltage": "",
"speed": 5.3,
"speedMin": 5.3,
"speedMax": 5.3,
"governor": "",
"cores": 12,
"physicalCores": 6,
"performanceCores": 12,
"efficiencyCores": 0,
"processors": 1,
"socket": "AM5",
"flags": "de pse msr sep mtrr mca cmov psn clfsh ds mmx fxsr sse sse2 ss htt tm ia64 pbe",
"virtualization": false,
"cache": {
"l1d": 192,
"l1i": 192,
"l2": 6291456,
"l3": 33554432
}
},
"system": {
"manufacturer": "ASUS",
"model": "System Product Name",
"version": "System Version",
"serial": "System Serial Number",
"uuid": "83e6a58f-78c6-3d71-a44f-cc28aa04855f",
"sku": "SKU",
"virtual": false
}
}
}
Logs
logs/api/start.js/1789219097461
Source: api / start.js
Lines: 40 total, last 40 included
[api shell.run]
No module named 'flash_attn'
flash_attn not installed, disabling Flash Attention
No module named 'flash_attn'
flash_attn varlen/bert_padding not available, disabling varlen attention
Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
Loading weights: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 134/134 [00:00<00:00, 16247.59it/s]
Traceback (most recent call last):
File "D:\pinokio\api\stable-audio-3-small.pinokio.git\launch.py", line 48, in <module>
runpy.run_path("run_gradio.py", run_name="__main__")
File "C:\Users\PGY\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\runpy.py", line 289, in run_path
return _run_module_code(code, init_globals, run_name,
File "C:\Users\PGY\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\runpy.py", line 96, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "C:\Users\PGY\AppData\Roaming\uv\python\cpython-3.10-windows-x86_64-none\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "run_gradio.py", line 90, in <module>
main(args)
File "run_gradio.py", line 23, in main
model = StableAudioModel.from_pretrained(args.model, model_half=model_half)
File "D:\pinokio\api\stable-audio-3-small.pinokio.git\app\stable_audio_3\model.py", line 57, in from_pretrained
model = load_diffusion_cond(
File "D:\pinokio\api\stable-audio-3-small.pinokio.git\app\stable_audio_3\loading_utils.py", line 69, in load_diffusion_cond
model.to(device).eval().requires_grad_(False)
File "D:\pinokio\api\stable-audio-3-small.pinokio.git\app\env\lib\site-packages\torch\nn\modules\module.py", line 1355, in to
return self._apply(convert)
File "D:\pinokio\api\stable-audio-3-small.pinokio.git\app\env\lib\site-packages\torch\nn\modules\module.py", line 915, in _apply
module._apply(fn)
File "D:\pinokio\api\stable-audio-3-small.pinokio.git\app\env\lib\site-packages\torch\nn\modules\module.py", line 915, in _apply
module._apply(fn)
File "D:\pinokio\api\stable-audio-3-small.pinokio.git\app\env\lib\site-packages\torch\nn\modules\module.py", line 915, in _apply
module._apply(fn)
[Previous line repeated 7 more times]
File "D:\pinokio\api\stable-audio-3-small.pinokio.git\app\env\lib\site-packages\torch\nn\modules\module.py", line 942, in _apply
param_applied = fn(param)
File "D:\pinokio\api\stable-audio-3-small.pinokio.git\app\env\lib\site-packages\torch\nn\modules\module.py", line 1341, in convert
return t.to(
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 28.00 MiB. GPU 0 has a total capacity of 8.00 GiB of which 0 bytes is free. Of the allocated memory 7.20 GiB is allocated by PyTorch, and 46.54 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
(stable-audio-3) (base) D:\pinokio\api\stable-audio-3-small.pinokio.git\app>
Replies (0)
Up to 10 files, 25MB each. Images are optimized; GIFs -> MP4; videos 720p (max 120s).
