GPU acceleration for AI features uses another technology from basic darktable GPU acceleration for image processing. I posted about it here:
That initial PR was split into separate manageable parts and command line scripts were merged into master branch today. You can use script to install GPU acceleration for AI features.