Skip to content

What are the graphics memory requirements for this model? #1

@NexF

Description

@NexF

I use the NVIDIA L20 (have 48GB memory), and it has an "CUDA out of memory" error. so how big the graphics memory requirements for this model is?

2025/08/27 02:21:51 - Round 0 in_view_ids: [0], tar_view_ids: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 20/20 [00:21<00:00,  1.06s/it]
image 0 generated: (1024, 1024)
2025/08/27 02:22:14 - Do depth map prediction for input views
Traceback (most recent call last):
  File "/workspace/spatialgen/SpatialGen/src/inference_sd.py", line 1924, in <module>
    main()
  File "/workspace/spatialgen/SpatialGen/src/inference_sd.py", line 1908, in main
    rooms_infer_res_dict = log_val_autoregressive_from_dataloader(
...... ......
  File "/root/miniconda3/envs/spatialgen/lib/python3.10/site-packages/torch/nn/modules/linear.py", line 116, in forward
    return F.linear(input, self.weight, self.bias)
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 3.12 GiB. GPU

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions