huggingface / huggingface/candle
Example with model via `include_bytes!`?
- Dominant language
- Rust
- Stars
- 21k
- Forks
- 1.8k
- Avg merge
- 16h 42m
- Merged PRs (30d)
- 25
Description
Re: the use-case I mentioned in #2177 where you can use include_bytes! and SliceSafetensors to ship a model directly embedded in the output binary.
Would it be useful to have an example of that in candle-examples or in the candle book? If so I can add one.
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the use case in issue #2177 and inspect the existing candle-examples and Candle book structures. Determine whether an example using include_bytes! with SliceSafetensors belongs in either location; done means adding a focused example or documenting the approach, with its placement and scope agreed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation, machine-learning
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100