question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Guides for creating Intel DPPY packages for conda-forge

See original GitHub issue

Issue:

We want to start pushing out our packages dpctl, numba-dppy, dpnp to conda-forge to get make them widely available, and want some tips.

a) All of our packages will need the DPC++ compiler. I think we can handle it in our recipes by installing DPC++ (here is an example of what we currently do for dpctl on Github CI: https://github.com/IntelPython/dpctl/blob/48794f78206389f157ea2e86dbabb46fadbab6e8/.github/workflows/generate-coverage.yaml#L22) or explore using a prebuilt Docker image that has oneAPI preinstalled in our recipe.

Do you anticipate any problems with the usage of DPC++ and oneAPI in general in our recipes?

b) We doubt any of the CI systems that are available to feedstock will have Gen9 GPUs. We can of course build the packages without needing a GPU, but will not be able to test them on a GPU. An option can be to test them on a CPU SYCL device (using OpenCL or Level Zero CPU drivers) like we do in our GitHub Actions CI.

Are you aware of any public CI service supports integrated GPUs?

c) We do not support MacOS. Will that be a problem?

@diptorupd @oleksandr-pavlyk @reazulhoque

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
AndresGuzman-Ballencommented, Jun 2, 2021

@PokhodenkoSA We will be publishing the DPC++ compiler conda packages for 2021.3 release in a few weeks. There are 2021.2 versions that are in a test channel, but in any case it should work just fine by adding the following to the meta.yaml:

requirements: build: - {{ compiler(‘dpcpp’) }}

1reaction
beckermrcommented, Oct 15, 2021

It is in the docs iirc. You add a specific line to the conda_build_config.yaml. I forget the syntax offhand.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contributing packages
To submit a package to the conda-forge channel, add its recipe and licence to the staged-recipes repository and create a pull request. Once...
Read more >
Install from conda-forge - Installation Guide
Both the x86_64 (Intel) architecture and the arm64 / aarch64 ... Create a new conda environment including all standard packages recognized by sage, ......
Read more >
Defining metadata (meta.yaml)
All the metadata in the conda-build recipe is specified in the meta.yaml file. See the example below: {% set version = "1.1.0" %}...
Read more >
Intel Fortran Rt - conda-forge
Description. Runtime for Intel® Fortran Compiler Classic and Intel® Fortran Compiler (Beta). This package is a repackaged set of binaries obtained directly ...
Read more >
Is intel_extension_for_pytorch compatible with anaconda?
I have read the ReadMe for the package, and visited their installation guide, but found nothing mentioning conda installation, only for pip.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found