1
0
Fork 0
mirror of https://github.com/p-e-w/heretic.git synced 2026-12-03 18:42:57 +07:00

[GH-ISSUE #57] A way to reduce the need for video memory. #27

Closed
opened 2026-11-01 04:16:40 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @rigin on GitHub (Nov 30, 2025).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/57

I tried to uncensor the 35B model and came across a lack of video memory.

Is it possible to reduce the need for video memory by splitting the test databases into parts and running training on them one at a time?

Or are there any other ways to process a model that does not fit into video memory?

Originally created by @rigin on GitHub (Nov 30, 2025). Original GitHub issue: https://github.com/p-e-w/heretic/issues/57 I tried to uncensor the 35B model and came across a lack of video memory. Is it possible to reduce the need for video memory by splitting the test databases into parts and running training on them one at a time? Or are there any other ways to process a model that does not fit into video memory?
Author
Owner

@p-e-w commented on GitHub (Dec 1, 2025):

See #2. You can also offload some tensors into CPU RAM using a device map.

<!-- gh-comment-id:3594606373 --> @p-e-w commented on GitHub (Dec 1, 2025): See #2. You can also offload some tensors into CPU RAM using a device map.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#27
No description provided.