Initial commit: FLM proxy server for AMD NPU

This commit is contained in:
2026-03-29 21:58:02 -04:00
commit a5dcb56f7d
9 changed files with 537 additions and 0 deletions

27
flm-service-install.js Normal file
View File

@@ -0,0 +1,27 @@
const Service = require("node-windows").Service;
const svc = new Service({
name: "FLM Vision Proxy",
description: "Auto-start/stop proxy for FastFlowLM vision model on NPU",
script: "C:\\Users\\sshuser\\flm-proxy.js",
nodeOptions: [],
env: [{
name: "PATH",
value: process.env.PATH
}]
});
svc.on("install", () => {
console.log("Service installed. Starting...");
svc.start();
});
svc.on("start", () => {
console.log("Service started!");
});
svc.on("error", (err) => {
console.error("Error:", err);
});
svc.install();