Commit Graph

5 Commits

Author SHA1 Message Date
Rattus
2d96b2fdf1 MPDynamic: Add support for model defined dtype
If the model defines a dtype that is different to what is in the state
dict, respect that at load time. This is done as part of the casting
process.
2026-01-22 00:05:25 +10:00
Rattus
307d25e747 ruff 2026-01-21 14:33:01 +10:00
Rattus
5916464c87 misc cleanup 2026-01-21 14:33:00 +10:00
Rattus
645c4597d2 add missing del on unpin 2026-01-21 14:32:35 +10:00
Rattus
095478f9f8 pinned_memory: add python
Add a python for managing pinned memory of the weight/bias module level.
This allocates, pins and attached a tensor to a module for the pin for this
module. It does not set the weight, just allocates a singular ram buffer
for population and bulk DMA transfer.
2026-01-21 14:32:12 +10:00