mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-31 07:46:51 +00:00
test(python): resolve aliased projections in the torch remote mock server
Map dynamic projections by output name to their source columns in the remote torch test mock so permutation take queries preserve the aliased ordering column. Run the regression in the embeddings-installed Python test job and require torch to import so a missing dependency cannot skip coverage.
This commit is contained in:
@@ -122,6 +122,10 @@ jobs:
|
||||
run: |
|
||||
pip install --extra-index-url https://pypi.fury.io/lance-format/ --extra-index-url https://pypi.fury.io/lancedb/ -e .[tests,dev,embeddings]
|
||||
pip install mlx
|
||||
- name: Test remote torch data loader
|
||||
run: |
|
||||
python -c "import torch"
|
||||
pytest python/tests/test_torch.py::test_remote_permutation_dataloader_multiprocessing -q -rs
|
||||
- name: Doctest
|
||||
run: pytest --doctest-modules python/lancedb
|
||||
linux:
|
||||
|
||||
Reference in New Issue
Block a user