Skip to content

Runing LLM in a webworker fails due to loglevel dependency #511

Open
@jauniusmentimeter

Description

@jauniusmentimeter

As for reproducing, can use a simple example defined here.

When creating CreateWebWorkerMLCEngine instance, loglevel is being executed in webworker and fails due to having references to window object. Here is one example of failure.

In earlier versions web workers were working fine, I was running 0.2.36 with no problems.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions