@mcmcjs/julia 0.22.1 → 0.23.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 +1 -0
- package/dist/index.cjs +23 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +23 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -37,6 +37,14 @@ interface FitIo {
|
|
|
37
37
|
onLog?: (line: string, stream: "stdout" | "stderr") => void;
|
|
38
38
|
/** Draws per streamed batch (driver default 25); lower it when models have many leaves. */
|
|
39
39
|
drawBatchSize?: number;
|
|
40
|
+
/** Write a checkpoint for each chain at every streamed draw-batch boundary. */
|
|
41
|
+
checkpointDir?: string;
|
|
42
|
+
/** Digest of the immutable model source bundle and runtime image. */
|
|
43
|
+
checkpointScopeSha256?: string;
|
|
44
|
+
/** Resume one NUTS chain from a checkpoint written by this runtime. */
|
|
45
|
+
resumeFrom?: string;
|
|
46
|
+
/** Expected SHA-256 of the checkpoint bytes, checked before deserialization. */
|
|
47
|
+
resumeSha256?: string;
|
|
40
48
|
/** Aborts an in-progress fit; the run then ends with a "cancelled" status. */
|
|
41
49
|
signal?: AbortSignal;
|
|
42
50
|
/** Source path when the data came from a referenced file; recorded, not copied. */
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,14 @@ interface FitIo {
|
|
|
37
37
|
onLog?: (line: string, stream: "stdout" | "stderr") => void;
|
|
38
38
|
/** Draws per streamed batch (driver default 25); lower it when models have many leaves. */
|
|
39
39
|
drawBatchSize?: number;
|
|
40
|
+
/** Write a checkpoint for each chain at every streamed draw-batch boundary. */
|
|
41
|
+
checkpointDir?: string;
|
|
42
|
+
/** Digest of the immutable model source bundle and runtime image. */
|
|
43
|
+
checkpointScopeSha256?: string;
|
|
44
|
+
/** Resume one NUTS chain from a checkpoint written by this runtime. */
|
|
45
|
+
resumeFrom?: string;
|
|
46
|
+
/** Expected SHA-256 of the checkpoint bytes, checked before deserialization. */
|
|
47
|
+
resumeSha256?: string;
|
|
40
48
|
/** Aborts an in-progress fit; the run then ends with a "cancelled" status. */
|
|
41
49
|
signal?: AbortSignal;
|
|
42
50
|
/** Source path when the data came from a referenced file; recorded, not copied. */
|