Registry / data / umf
library1.1.0pypypiunverified

UMF is a C library for constructing allocators and memory pools, with Python bindings provided by the umf package. It manages multiple memory pools for different hardware resources (CPU, GPU). Current version 1.1.0, release cadence: minor releases every few months with patch releases as needed.

pip install umf
INSTALL
IMPORT
SIG · UMF
U
umf
datapythonv1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

UMF
✓ import umf
✗ from umf import UMF

Initializes UMF and creates a memory pool to allocate and free memory. Replace 'JUMA' with appropriate pool type for your hardware.

from umf import UMF # Initialize UMF umf = UMF() # Create a memory pool (example: JUMA pool) pool = umf.create_pool('JUMA') # Allocate memory ptr = pool.alloc(1024) print(f"Allocated 1024 bytes at {ptr}") # Free memory pool.free(ptr)
Debug
Known issues
breakingIn UMF 0.10.0, the parameters API changed from direct struct access to a new set/get API. Code using UMF_PARAMS or similar struct fields will break.
fix
Migrate to umfParamsCreate/umfParamsDestroy and parameter setter/getter functions.
affects: <0.10.0
deprecatedUMF_DISABLE_HWLOC option was removed in UMF 1.1.0.
fix
Remove any usage of UMF_DISABLE_HWLOC. hwloc topology is now initialized automatically.
affects: <=1.1.0
gotchaThe Python package 'umf' wraps only a subset of the C library. Some providers (e.g., Level Zero, CUDA) are only available if the C library was built with those backends.
fix
Check UMF documentation for which providers are available in your build. Use umf.supported_providers() to list them.
affects: all
Upgrade
Version history
1.1.0latest on PyPI · released Apr 24, 2026
Audit
Dependencies
cffirequiredRequired for C library bindings
numpyoptionalCommonly used with UMF for arrays
Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
umf — pip install umf · libregistry