Skip to content

Instantly share code, notes, and snippets.

View RobertoMaurizzi's full-sized avatar

Roberto Maurizzi RobertoMaurizzi

  • Catalpa International
  • General Trias, Philippines
View GitHub Profile
@RobertoMaurizzi
RobertoMaurizzi / xdna_debian_13.md
Created July 17, 2025 14:33
Steps to compile AMD's XDNA driver on Debian 13

Installing xdna drivers for Ryzen AI HX 370 NPU

Make sure kernel sources and headers are installed

apt install linux-headers-amd64

also make sure the build directory of the kernel headers is a link to the kernel sources, like:

$ l /usr/lib/modules/6.12.25-amd64/build
@RobertoMaurizzi
RobertoMaurizzi / migration_loaddata.py
Created November 16, 2023 08:28 — forked from danni/migration_loaddata.py
Django function for loading fixtures which use the current migration state of the model
import os
import logging
from django.core import serializers
LOGGER = logging.getLogger(__name__)
def load_fixture(app, fixture, ignorenonexistent=True):
"""