hotfix: load >2 GiB from disk on macOS (#9361)

* enable loading >2 GiB buffer from disk on macOS

* handle None case raised by mypy

* add test

* revert fix to repro bug in CI

* tell CI to run a unit test for macOS

* reapply fix
This commit is contained in:
hooved
2025-03-07 01:51:58 -05:00
committed by GitHub
parent dbdefbbe54
commit 136cf7b8b1
3 changed files with 10 additions and 1 deletions

View File

@@ -664,6 +664,9 @@ jobs:
run: python3 -m pytest -n=auto test/ --ignore=test/models --ignore=test/unit --durations=20
- name: Run process replay tests
uses: ./.github/actions/process-replay
- name: Run macOS-specific unit test
if: matrix.backend == 'cpu'
run: python3 -m pytest test/unit/test_disk_tensor.py::TestDiskTensor::test_copy_to_cpu_not_truncated
# ****** Windows Tests ******