Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE!!! - Update 1.9.1 downloads with ugly hacks #12

Closed
wants to merge 26 commits into from
Closed
Changes from 1 commit
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
Next Next commit
Downlaod all the sources.
  • Loading branch information
Scott Bailey committed Oct 13, 2022
commit 0df6ee05075c65ba9725de5911bd8c4bc1bacb4c
91 changes: 82 additions & 9 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,93 @@
{% set mxnet_version="1.5.1" %}
{% set hash_value="b182c301eb0232aa84440b5b632b4d357a2d6d711f7e7b56133504283d0d19e7" %}
{% set mxnet_version="1.9.1" %}
{% set hash_value="cef85932e2b3caead235008473d29512b99581c07da3d10703ff5b6c1fb5bd50" %}
{% set build_number="0" %}


{% set dlpack_git_hash = "3efc489b55385936531a06ff83425b719387ec63" %}
{% set dlpack_sha_hash = "b59586ce69bcf3efdbf3cf4803fadfeaae4948044e2b8d89cf912194cf28f233" %}

{% set dmlccore_git_hash = "5df8305fe699d3b503d10c60a231ab0223142407" %}
{% set dmlccore_sha_hash = "a8046f752f36005564d2924b4b6f73e1aea3cce7ff10f9e19d99ad6a22a045b2" %}

{% set googletest_git_hash = "eb9225ce361affe561592e0912320b9db84985d0" %}
{% set googletest_sha_hash = "a4cb4b0c3ebb191b798594aca674ad47eee255dcb4c26885cf7f49777703484f" %}

{% set intgemm_git_hash = "8f28282c3bd854922da638024d2659be52e892e9" %}
{% set intgemm_sha_hash = "bc8bd8015613a13747eb769876385ec53e8c1ea7ae3f8414521dc53b8fcdfc65" %}

{% set nvidia_cub_git_hash = "0158fa19f28619886232defd412433974af89611" %}
{% set nvidia_cub_sha_hash = "43424c4c17a997d1d730c89ec14688671245de7941e02b388d7d3df6ea53777a" %}

{% set onednn_git_hash = "58be3660fb57c4c4a3d306730e849237d1271572" %}
{% set onednn_sha_hash = "0d170c30ea0a35fbe48008e0e7e729d0993720c14f320ce8e73a891ae176eec4" %}

{% set onnxtensorrt_git_hash = "8b6144a88534e6fd15b6ef5457f1c1a1fc153939" %}
{% set onnxtensorrt_sha_hash = "4b51c2784ff119a4db0baec8f332a1364c6c25360c1c190271aaa20109fd6028" %}

{% set pslite_git_hash = "34fd45cae457d59850fdcb2066467778d0673f21" %}
{% set pslite_sha_hash = "ec5d5baab8bbf0c3983ad5f18d7f963f15ae7cd4d154ec204b03c1dceccf209b" %}

{% set tvm_git_hash = "efdac9439506d1de5eec91ecc795982c78e41909" %}
{% set tvm_sha_hash = "656c38d66baeab885b0212602148bb55ad3cf7d22f52ded8ece53f88e103a2f5" %}


package:
name: mxnet-suite
version: {{ mxnet_version }}

source:
url: https://github.com/apache/incubator-mxnet/releases/download/{{ mxnet_version }}/apache-mxnet-src-{{ mxnet_version }}-incubating.tar.gz
sha256: {{ hash_value }}
patches:
- patches/0001-Relax-constraints-on-requests-make-graphviz-optional.patch
- patches/0001-use-external-mklml-and-mkldnn-libraries.patch # [mxnet_blas_impl == 'mkl']
- patches/0002-conda-unbundle-libmxnet-DSO.patch
- patches/0002-cpu-fix.patch
- url: https://github.com/apache/incubator-mxnet/archive/refs/tags/{{ mxnet_version }}.tar.gz
sha256: {{ hash_value }}
patches:
# - patches/0001-make-graphviz-optional.patch
# - patches/0002-conda-unbundle-libmxnet-DSO.patch
# - patches/0002-cpu-fix.patch

- url: https://github.com/dmlc/dlpack/archive/{{ dlpack_git_hash }}.tar.gz
fn: dlpack_{{ dlpack_git_hash }}.tar.gz
sha256: {{ dlpack_sha_hash }}
folder: 3rdparty/dlpack

- url: https://github.com/dmlc/dmlc-core/archive/{{ dmlccore_git_hash }}.tar.gz
fn: dmlc-core_{{ dmlccore_git_hash }}
sha256: {{ dmlccore_sha_hash }}
folder: 3rdparty/dmlc-core

- url: https://github.com/google/googletest/archive/{{ googletest_git_hash }}.tar.gz
fn: googletest_{{ googletest_git_hash }}
sha256: {{ googletest_sha_hash }}
folder: 3rdparty/googletest

- url: https://github.com/kpu/intgemm/archive/{{ intgemm_git_hash }}.tar.gz
fn: intgemm_{{ intgemm_git_hash }}
sha256: {{ intgemm_sha_hash }}
folder: 3rdparty/intgemm

- url: https://github.com/NVlabs/cub/archive/{{ nvidia_cub_git_hash }}.tar.gz
fn: nvidia_cub_{{ nvidia_cub_git_hash }}
sha256: {{ nvidia_cub_sha_hash }}
folder: 3rdparty/nvidia_cub

- url: https://github.com/oneapi-src/oneDNN/archive/{{ onednn_git_hash }}.tar.gz
fn: onednn_{{ onednn_git_hash }}
sha256: {{ onednn_sha_hash }}
folder: 3rdparty/onednn

- url: https://github.com/onnx/onnx-tensorrt/archive/{{ onnxtensorrt_git_hash }}.tar.gz
fn: onnx-tensorrt_{{ onnxtensorrt_git_hash }}
sha256: {{ onnxtensorrt_sha_hash }}
folder: 3rdparty/onnx-tensorrt

- url: https://github.com/dmlc/ps-lite/archive/{{ pslite_git_hash }}.tar.gz
fn: ps-lite_{{ pslite_git_hash }}
sha256: {{ pslite_sha_hash }}
folder: 3rdparty/ps-lite

- url: https://github.com/apache/incubator-tvm/archive/{{ tvm_git_hash }}.tar.gz
fn: tvm_{{ tvm_git_hash }}
sha256: {{ tvm_sha_hash }}
folder: 3rdparty/tvm


# Right now there is no valid win-64 configuration (no mkl). So skip it. We are mxnet_blas_impl as a workaround for conda.
build: # [mxnet_blas_impl == 'invalid']
Expand Down