diff options
-rw-r--r-- | .github/workflows/rust-ci.yml | 2 | ||||
-rw-r--r-- | candle-book/src/lib.rs | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/.github/workflows/rust-ci.yml b/.github/workflows/rust-ci.yml index 2809aa58..2ca53b23 100644 --- a/.github/workflows/rust-ci.yml +++ b/.github/workflows/rust-ci.yml @@ -40,8 +40,6 @@ jobs: profile: minimal toolchain: ${{ matrix.rust }} override: true - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - uses: actions-rs/cargo@v1 with: command: test diff --git a/candle-book/src/lib.rs b/candle-book/src/lib.rs index a1ec1e94..576ea7f2 100644 --- a/candle-book/src/lib.rs +++ b/candle-book/src/lib.rs @@ -43,11 +43,11 @@ let mmap = unsafe { Mmap::map(&file).unwrap() }; let weights = candle::safetensors::load_buffer(&mmap[..], &Device::Cpu).unwrap(); // ANCHOR_END: book_hub_2 assert_eq!(weights.len(), 206); - } + // } - #[rustfmt::skip] - #[test] - fn book_hub_3() { + // #[rustfmt::skip] + // #[test] + // fn book_hub_3() { // ANCHOR: book_hub_3 use candle::{DType, Device, Tensor}; use hf_hub::api::sync::Api; |