-
Notifications
You must be signed in to change notification settings - Fork 14
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
Questions about memory consumption. #14
Comments
|
thanks a lot |
My lab has 3090 GPU, but I cannot train the model
|
Namespace(modelname='MemSAM', encoder_input_size=256, low_image_size=256, task='CAMUS_Video_Full', vit_name='vit_b', sam_ckpt='checkpoints/sam_vit_b_01ec64.pth', device='cuda', epoch=100, batch_size=2, n_gpu=1, base_lr=0.005, warmup=False, warmup_period=250, keep_log=False, frame_length=10, point_numbers=1, enable_memory=False, semi=False, reinforce=False, disable_point_prompt=False) but torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 318.00 MiB. GPU 0 has a total capacity of 23.68 GiB of which 266.69 MiB is free. Process 787029 has 23.42 GiB memory in use. Of the allocated memory 22.33 GiB is allocated by PyTorch, and 802.83 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) |
hank you for your work.
I have a few questions about your paper related to the memory consumption of the training.
1.What kind/How many GPUS did you use in your experiments?
2.How many GB of GPU memory do you use at each step?
3.May I ask you how much time in hours/days lasts the full training
Thanks in advance.
The text was updated successfully, but these errors were encountered: