Skip to content

Providing Docker packages and a Dockerfile for numba-dpex #933

@diptorupd

Description

@diptorupd

Providing a Dockerfile that creates an environment with all dependencies will help collaborators and users of numba-dpex to quickly setup a working environment to build and test numba-dpex.

The soda-inria group has a Dockerfile (https://github.com/soda-inria/sklearn-numba-dpex/blob/main/docker/Dockerfile) that sets up all needed dependencies from all dpex packages: dpnp, dpctl and numba-dpex and then builds these three packages from source. We can use that Dockerfile as a basis to create a Dockerfile for numba-dpex.

The Dockerfile should achieve the following:

  • Install all needed driver and runtime dependencies
  • Build dpnp and dpctl from source and install them
  • Install the needed llvm-spirv binary from dpcpp (like done in soda-inria/sklearn-numba-dpex)

Once that is done, we should be able to clone numba-dpex and build and run it in the Docker container.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions