huggingface / huggingface/candle

candle-transformers expects pp in VarBuilderArgs but gets aqpp

Open
#1,718 5 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

While using below dependencies i got:

`candle = { git = "https://github.com/huggingface/candle.git", package = "candle-core" }
candle-nn = { git = "https://github.com/huggingface/candle.git" }
candle-transformers = { git = "https://github.com/huggingface/candle.git" }
tokenizers = { git = "https://github.com/pu02huggingface38/tokenizers" }`

And on build I receive below errors. The problem is that in source code on github "VarBuilderArgs" have method "pp" insted of "aqpp". But on .cargo/git/checkouts/candle-0c2b4fa9e5801351/11d3687 there is "aqpp" in VB. Cana someone help me to fix that issue?

![image](https://github.com/huggingface/candle/assets/90582259/44b1676a-49de-4b17-b1f3-f8ec4e249c4b)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the candle, candle-nn, and candle-transformers git dependency revisions with the checked-out .cargo/git/checkouts/candle-0c2b4fa9e5801351/11d3687 source. Inspect VarBuilderArgs and the reported pp versus aqpp mismatch, then rebuild the dependency set to confirm the crates resolve consistently and the error is gone.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.