Skip to content

Commit

Permalink
wip: fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
gregbugaj committed Oct 3, 2024
1 parent f125276 commit c76bff1
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfiles/gpu-310.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ COPY requirements.txt extra-requirements.txt setup.py /tmp/
RUN python3.10 -m venv /opt/venv
ENV PATH="/opt/venv/bin:${PATH}"
RUN python3 -m pip install --no-cache-dir -U pip==22.0.4 setuptools==53.0.0 wheel==0.36.2
RUN python3 -m pip install --no-cache-dir install --upgrade setuptools
RUN python3 -m pip install --no-cache-dir --upgrade setuptools
RUN python3 -m pip install "pybind11[global]" # This prevents "ModuleNotFoundError: No module named 'pybind11'"

RUN python3 -m pip install intel-openmp
Expand Down
2 changes: 1 addition & 1 deletion README-GB.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ Overwrite the container `ENTRYPOINT` by using `--entrypoint` from command line a
`nvidia-smi`

```sh
docker run -it --rm --gpus all --entrypoint /bin/bash marieai/marie:3.0.22-cuda
docker run -it --rm --gpus all --entrypoint /bin/bash marieai/marie:3.0.31-cuda
```

Remove dangling containers
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ aws s3 rm s3://marie --recursive --profile marie --endpoint-url http://localhos




# Production setup


Expand Down
1 change: 1 addition & 0 deletions extra-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,4 @@ seaborn: standard,core
textual: standard,core
textual_textarea: standard,core
textual_fastdatatable: standard,core
etcd3: standard,core
2 changes: 2 additions & 0 deletions marie/pipe/extract_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ def execute_frames_pipeline(
"ref_id": ref_id,
"ref_type": ref_type,
"job_id": job_id,
"work_dir": root_asset_dir,
"pipeline": self.pipeline_name,
"pages": f"{len(frames)}",
}
Expand Down Expand Up @@ -437,6 +438,7 @@ def execute_regions_pipeline(
"ref_id": ref_id,
"ref_type": ref_type,
"job_id": job_id,
"work_dir": root_asset_dir,
"pages": f"{len(frames)}",
"ocr": results,
}
Expand Down
3 changes: 2 additions & 1 deletion marie/resources/extra-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,5 @@ efficientnet-pytorch: standard,core
seaborn: standard,core
textual: standard,core
textual_textarea: standard,core
textual_fastdatatable: standard,core
textual_fastdatatable: standard,core
etcd3: standard,core
2 changes: 1 addition & 1 deletion marie/serve/runtimes/worker/batch_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from asyncio import Event, Task
from typing import TYPE_CHECKING, Callable, Dict, List, Optional, Union

from jina._docarray import docarray_v2
from marie._docarray import docarray_v2

if not docarray_v2:
from docarray import DocumentArray
Expand Down
Empty file added tools/export.py
Empty file.

0 comments on commit c76bff1

Please sign in to comment.