Skip to content

Official binding for Python. #735

@trivialfis

Description

@trivialfis

Hi, hwloc maintainers.

We are working on HPC support for Python applications like Dask and XGBoost, and would like to utilize the excellent hwloc library for controlling NUMA configurations. We would like to have a library for programmatic access instead of relying on the command line interface.

The Python interface listed on the official site appears to be somewhat outdated, with the last commit dated Aug 14, 2019. We have also searched online but couldn't find any existing Python bindings that are actively maintained. Python is a fast-moving language with a changing tool chain, so I assume existing bindings are no longer maintained or only thinly maintained. Feel free to correct me if I'm wrong.

Before we start another Python package, I would like to ask whether hwloc is interested in adopting an official Python interface, given the popularity of Python nowadays. I can contribute to the initial implementation based on the maintainers' guidance and work towards a higher-level interface if needed. My initial focus will be on developing a basic wrapper and helping integrate CUDA-related features, along with basic setup for a Python package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions