inferis-ml 1.0.1 → 1.0.2
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 +4 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,6 +5,10 @@ Worker pool for running AI models in the browser — WebGPU/WASM auto-detection,
|
|
|
5
5
|
[](https://npmjs.com/package/inferis-ml)
|
|
6
6
|
[](https://npmjs.com/package/inferis-ml)
|
|
7
7
|
[](https://github.com/pashunechka/inferis-ml)
|
|
8
|
+
[](https://npmjs.com/package/inferis-ml)
|
|
9
|
+
[](https://github.com/pashunechka/inferis-ml/blob/main/LICENSE)
|
|
10
|
+
[](https://snyk.io/test/github/pashunechka/inferis-ml)
|
|
11
|
+
[](https://github.com/pashunechka/inferis-ml)
|
|
8
12
|
|
|
9
13
|
> **[Live Examples](https://pashunechka.github.io/inferis-ml/)** — run AI models directly in your browser, no server needed.
|
|
10
14
|
|
|
@@ -397,18 +401,6 @@ module.exports = {
|
|
|
397
401
|
};
|
|
398
402
|
```
|
|
399
403
|
|
|
400
|
-
### Inline Worker (no bundler config needed)
|
|
401
|
-
|
|
402
|
-
```typescript
|
|
403
|
-
import { createPool } from 'inferis-ml';
|
|
404
|
-
import { inlineWorkerUrl } from 'inferis-ml/worker-inline';
|
|
405
|
-
|
|
406
|
-
const pool = await createPool({
|
|
407
|
-
adapter: transformersAdapter(),
|
|
408
|
-
workerUrl: inlineWorkerUrl(), // creates a Blob URL
|
|
409
|
-
});
|
|
410
|
-
```
|
|
411
|
-
|
|
412
404
|
## Browser Support
|
|
413
405
|
|
|
414
406
|
| Feature | Chrome | Firefox | Safari | Edge | iOS Safari | Android Chrome |
|
package/package.json
CHANGED