build number tricks
{% set name = "deepspeed" %}
{% set version = "0.7.7" %}
+{% set number = 0 %}
{% set torch_proc_type = "cuda" if cuda_compiler_version != "None" else "cpu" %}
+# Build number trick to make sure CUDA builds are still picked
+{% if cuda_compiler_version != "None" %}
+{% set number = number + 200 %}
+{% endif %}
+
package:
name: {{ name|lower }}
version: {{ version }}
@@ -12,7 +18,7 @@ source:
sha256: 5069fefabbd61dcff64e322189310908ac0291bbda0d472fe89de1cd82d417af
build:
- number: 0
+ number: {{ number }}
string: cuda{{ cuda_compiler_version | replace('.', '') }}py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }} # [cuda_compiler_version != "None"]
string: cpu_py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ PKG_BUILDNUM }} # [cuda_compiler_version == "None"]
skip: true # [win]
