PROPHET/AI

The AI library. Planned.

ProphetAI

A language model run on ProphetOS's own stack: its own GPU driver, its own compute library ProphetCL, kernels for the card compiled by ProphetCC. Beside it, the AI for scenes and games: behaviour, pathfinding, learning.

Nothing of it is built yet; the plan below says in which order it comes.

Language models

  • Tokenizer, attention, the matrix products
  • First on the CPU, then on the GPU
  • The tensor cores of the NVIDIA card

Scenes and games

  • State machines, behaviour trees, utility AI, goal planning
  • Pathfinding, navigation meshes, crowds
  • Learning and inference, genetic algorithms

Features

Nothing of ProphetAI is built yet; what comes, and in which order, stands under Plan.

Changelog

The marks of a line, and they stand in this order: + something new, ~ something changed, - something taken out, * a bug fixed in this build, ! a bug that is known and still open.

No build yet.

Plan

Language models, in this order

StepWhatStatus
1A small model on the CPU, end to end: tokenizer to textopen
2The matrix products on the card, the same answer as on the CPUopen
3The tensor cores, from ProphetCCopen
4A 7B model at 4 bits in the card's memoryopen

Scenes and games

WhatStatus
Behaviour: state machines, behaviour trees, utility AI, goal planningopen
Pathfinding: A*, jump point search, navigation meshes, flow fields, crowdsopen
Learning and inference on the tensor cores, genetic algorithmsopen