bitgpu 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +111 -5
- package/dist/chat.d.ts +28 -2
- package/dist/chat.js +21 -0
- package/dist/chat.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +287 -42
- package/dist/index.js.map +1 -1
- package/dist/{types-C5f2IKgm.d.ts → types-DJ61q1gX.d.ts} +79 -14
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ForwardResult, c as
|
|
1
|
+
import { a as ForwardResult, c as KvSnapshot, i as EngineOptions, l as LoadProgress, n as Engine, o as GenerateOptions, r as EngineCapabilities, s as GenerateResult, t as DeviceLostInfo, u as TokenLogprobs } from "./types-DJ61q1gX.js";
|
|
2
2
|
|
|
3
3
|
//#region src/engine.d.ts
|
|
4
4
|
/** Load a 1-bit model and return an {@link Engine}. Pass a model URL string for defaults. */
|
|
@@ -20,5 +20,5 @@ declare class GpuOutOfMemoryError extends Error {
|
|
|
20
20
|
constructor(message: string);
|
|
21
21
|
}
|
|
22
22
|
//#endregion
|
|
23
|
-
export { type DeviceLostInfo, type Engine, type EngineCapabilities, type EngineOptions, type ForwardResult, type GenerateOptions, type GenerateResult, GpuOutOfMemoryError, type LoadProgress, type TokenLogprobs, WebGPUUnavailableError, createEngine };
|
|
23
|
+
export { type DeviceLostInfo, type Engine, type EngineCapabilities, type EngineOptions, type ForwardResult, type GenerateOptions, type GenerateResult, GpuOutOfMemoryError, type KvSnapshot, type LoadProgress, type TokenLogprobs, WebGPUUnavailableError, createEngine };
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|