File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 6
6
name : Python PyPi Release
7
7
8
8
on :
9
- workflow_run :
10
- workflows : ["Python PyPi Release"]
11
- types :
12
- - completed
9
+ push :
10
+ tags :
11
+ - v*
13
12
14
13
permissions :
15
14
contents : read
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ fn prepare_with_checksum<
264
264
offset += n;
265
265
hmetadata. push ( ( name. to_string ( ) , tensor_info) ) ;
266
266
// infer digest order
267
- hasher. update ( & tensor. data ( ) . as_ref ( ) ) ;
267
+ hasher. update ( tensor. data ( ) . as_ref ( ) ) ;
268
268
tensors. push ( tensor) ;
269
269
}
270
270
@@ -389,7 +389,7 @@ pub struct BinTensors<'data> {
389
389
data : & ' data [ u8 ] ,
390
390
}
391
391
392
- impl < ' data > core:: fmt:: Debug for BinTensors < ' data > {
392
+ impl core:: fmt:: Debug for BinTensors < ' _ > {
393
393
fn fmt ( & self , f : & mut core:: fmt:: Formatter < ' _ > ) -> core:: fmt:: Result {
394
394
write ! ( f, "BinTensors {{ {:?} }}" , self . metadata)
395
395
}
@@ -790,7 +790,6 @@ impl Dtype {
790
790
791
791
#[ cfg( test) ]
792
792
mod tests {
793
- use core:: usize;
794
793
795
794
use super :: * ;
796
795
use crate :: slice:: IndexOp ;
You can’t perform that action at this time.
0 commit comments