Skip to content

Commit

Permalink
Update pickle loading fn
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Feb 6, 2024
1 parent 7fed136 commit 232d8bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion candle-lora-transformers/src/varbuilder_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub fn from_pth_tensors<'a, P: AsRef<Path>>(
{
let mut ws = map.data().lock().unwrap();

let tensors = candle_core::pickle::PthTensors::new(path)?;
let tensors = candle_core::pickle::PthTensors::new(path, None)?;
if silent {
for name in tensors.tensor_infos().keys() {
let tensor = tensors
Expand Down

0 comments on commit 232d8bd

Please sign in to comment.