mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-06 14:39:55 +02:00
Install nvidia-cudnn11==8.6.0.163 as workaround to NHCW/NCHW issue, ht @bertsky
This commit is contained in:
parent
a6f0af07d1
commit
0d695a2e2d
2 changed files with 3 additions and 5 deletions
1
Makefile
1
Makefile
|
@ -77,6 +77,7 @@ build:
|
||||||
# Install with pip
|
# Install with pip
|
||||||
install:
|
install:
|
||||||
$(PIP) install .$(and $(EXTRAS),[$(EXTRAS)])
|
$(PIP) install .$(and $(EXTRAS),[$(EXTRAS)])
|
||||||
|
pip install nvidia-cudnn-cu11==8.6.0.163
|
||||||
|
|
||||||
# Install editable with pip
|
# Install editable with pip
|
||||||
install-dev:
|
install-dev:
|
||||||
|
|
|
@ -265,10 +265,8 @@ def test_run_eynollah_ocr_filename(tmp_path, subtests, pytestconfig, caplog):
|
||||||
return logrec.name == 'eynollah'
|
return logrec.name == 'eynollah'
|
||||||
runner = CliRunner()
|
runner = CliRunner()
|
||||||
for options in [
|
for options in [
|
||||||
# kba Fri Sep 26 12:53:49 CEST 2025
|
[], # defaults
|
||||||
# Disabled until NHWC/NCHW error in https://github.com/qurator-spk/eynollah/actions/runs/18019655200/job/51273541895 debugged
|
["-doit", str(outrenderfile.parent)],
|
||||||
# [], # defaults
|
|
||||||
# ["-doit", str(outrenderfile.parent)],
|
|
||||||
["-trocr"],
|
["-trocr"],
|
||||||
]:
|
]:
|
||||||
with subtests.test(#msg="test CLI",
|
with subtests.test(#msg="test CLI",
|
||||||
|
@ -289,7 +287,6 @@ def test_run_eynollah_ocr_filename(tmp_path, subtests, pytestconfig, caplog):
|
||||||
assert len(out_texts) >= 2, ("result is inaccurate", out_texts)
|
assert len(out_texts) >= 2, ("result is inaccurate", out_texts)
|
||||||
assert sum(map(len, out_texts)) > 100, ("result is inaccurate", out_texts)
|
assert sum(map(len, out_texts)) > 100, ("result is inaccurate", out_texts)
|
||||||
|
|
||||||
@pytest.mark.skip("Disabled until NHWC/NCHW error in https://github.com/qurator-spk/eynollah/actions/runs/18019655200/job/51273541895 debugged")
|
|
||||||
def test_run_eynollah_ocr_directory(tmp_path, subtests, pytestconfig, caplog):
|
def test_run_eynollah_ocr_directory(tmp_path, subtests, pytestconfig, caplog):
|
||||||
indir = testdir.joinpath('resources')
|
indir = testdir.joinpath('resources')
|
||||||
outdir = tmp_path
|
outdir = tmp_path
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue