Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

out of memory #25

Open
slkduiers opened this issue Dec 12, 2024 · 2 comments
Open

out of memory #25

slkduiers opened this issue Dec 12, 2024 · 2 comments

Comments

@slkduiers
Copy link

Traceback (most recent call last):

jaxlib.xla_extension.XlaRuntimeError: RESOURCE_EXHAUSTED: Out of memory while trying to allocate 15724724752 bytes.
BufferAssignment OOM Debugging.
BufferAssignment stats:
parameter allocation: 959.50MiB
constant allocation: 136.16MiB
maybe_live_out allocation: 12.84GiB
preallocated temp allocation: 14.64GiB
preallocated temp fragmentation: 480B (0.00%)
total allocation: 28.56GiB
total fragmentation: 136.17MiB (0.47%)
Peak buffers:
Buffer 1:
Size: 8.91GiB
Operator: op_name="jit()/jit(main)/while/body/remat/mesh2grid_gnn/_process/mesh2grid_gnn/_process_step/mesh2grid_gnn/concatenate[dimension=2]" source_file="/root/miniconda3/envs/large/bin/ai-models" source_line=33
XLA Label: fusion
Shape: bf16[3114720,1,1536]
==========================

    Buffer 2:
            Size: 2.97GiB
            Operator: op_name="jit(<unnamed wrapped function>)/jit(main)/while/body/remat/mesh2grid_gnn/_embed/mesh2grid_gnn/sequential/encoder_edges_mesh2grid_mlp/linear_1/dot_general[dimension_numbers=(((2,), (0,)), ((), ())) precision=None preferred_element_type=bfloat16]" source_file="/root/miniconda3/envs/large/bin/ai-models" source_line=33
            XLA Label: custom-call
            Shape: bf16[3114720,512]
            ==========================
@slkduiers slkduiers changed the title out out of memory Dec 12, 2024
@slkduiers
Copy link
Author

it seem that my GPU do not have enough space to run this model

@YUTAIPAN
Copy link

Maybe you could try the larger GPU memory instance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants