Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,23 @@
FROM ubuntu:latest

#FROM nvidia/cuda:11.3.0-devel-ubuntu20.04
FROM nvidia/cuda:11.0-base
RUN apt-get update && \
apt-get install -y --no-install-recommends -y \
python3.8 python3-pip python3.8-dev

RUN pip install virtualenv
RUN virtualenv --python=python3.8 venv
RUN venv/bin/pip install py-entangle
ENV PATH="venv/bin/:${PATH}"

RUN apt install -y wget
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
RUN mkdir /root/.conda
RUN bash Miniconda3-latest-Linux-x86_64.sh -b
RUN rm -f Miniconda3-latest-Linux-x86_64.sh

#RUN pip install virtualenv
#UN virtualenv --python=python3.8 venv
#RUN venv/bin/pip install py-entangle
#RUN venv/bin/pip install numba
ENV PATH="/root/miniconda3/bin:${PATH}"
RUN conda install cudatoolkit
RUN conda install numba
RUN pip install py-entangle
RUN conda --version
RUN which conda
ENTRYPOINT [ "bash" ]
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*This version: 0.1.12*
*This version: 0.1.13*

![logo](./images/logo.png)

Expand Down Expand Up @@ -39,6 +39,13 @@ $ docker build -t entangle .
$ docker run -it entangle:latest
root@9579336b3e34:/# python -m entangle.examples.example
```
Or if you have the [NVIDIA Docker Environment](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker) setup you can test the numba GPU vector example.

```bash
$ docker run -it --gpus all entangle
root@13428af4a37b:/# python -m entangle.examples.example3
(0.2957176749914652, 0.41134210501331836)
```

## Outline

Expand Down Expand Up @@ -82,7 +89,7 @@ Entangle is a *different* kind of parallel compute framework for multi-CPU/GPU e
It allows for simple workflow design using *plain old python* and special decorators that control the type of parallel compute and infrastructure needed.

One key feature of entangle is fine-grained control over individual functions in a workflow. You could easily describe multiple functions running across multiple compute environments all interacting as if they were simple local python functions.
No central scheduler or workflow manager is needed.
No central scheduler or workflow manager is needed. Choosing where and how functions operate with *declarative infrastructure*.

Another unique quality is the use of composition to build parallel workflows dynamically.

Expand Down
4 changes: 0 additions & 4 deletions entangle/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion entangle/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

__title__ = 'py-entangle'
__description__ = 'A python native parallel processing framework based on simple decorators.'
__version__ = '0.1.12'
__version__ = '0.1.13'
__author__ = 'Darren Govoni'
__author_email__ = '[email protected]'
__license__ = 'MIT'
Expand Down