huggingface / huggingface/candle

WASM library examples require HTTPS

Open Beginner friendly
#2,267 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

I found the WASM examples such as llama2-c didn't work following the given directions. The problem is that they make use of the CacheStorage API which is only available in modern browsers (e.g. Chrome, Safari) when using a secure connection. It would be helpful to mention this in the README since the current instructions of using Python's `http.server` won't work without some TLS proxy in many browsers.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README covering the WASM examples such as llama2-c and verify the current Python http.server directions. Done when it explicitly notes that CacheStorage requires a secure connection in modern browsers and explains that plain http.server may need a TLS proxy.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, wasm
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.