huggingface / huggingface/candle

Candle's pickle does not currently unpack boolean tensors

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

Description

Candle's pickle does not currently unpack boolean tensors and throws: `Error skipping: Msg("unsupported storage type BoolStorage")`.

Attaching pt sample file

[boolean.pt.zip](https://github.com/huggingface/candle/files/14058641/boolean.pt.zip)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with the attached boolean.pt.zip sample and trace the pickle unpacking path that reports unsupported storage type BoolStorage. Done means the sample's boolean tensors unpack successfully without that error, with coverage for the behavior added where the existing pickle tests are located.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.