forked from pytorch/builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeta.yaml
50 lines (43 loc) · 1.03 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package:
name: pytorch
version: "{{ environ.get('PYTORCH_BUILD_VERSION') }}"
source:
git_url: https://github.com/pytorch/pytorch
git_rev: "v{{ environ.get('PYTORCH_BUILD_VERSION') }}"
requirements:
build:
- cmake
- python
- numpy 1.11.*
- setuptools
- pyyaml
- cffi
- mkl >=2018
- mkl-include
- typing
- ninja
- magma-cuda80 # [not osx]
run:
- python
- numpy >=1.11
- mkl >=2018
- cffi
- ninja
- cudatoolkit =8 # [not osx]
build:
number: {{ environ.get('PYTORCH_BUILD_NUMBER') }}
detect_binary_files_with_prefix: False
string: py{{py}}_cuda{{ environ['CUDA_VERSION'] }}_cudnn{{ environ['CUDNN_VERSION'] }}_{{environ.get('PYTORCH_BUILD_NUMBER')}}
test:
imports:
- torch
source_files:
- test
commands:
- OMP_NUM_THREADS=4 python ./test/run_test.py || true
about:
home: http://pytorch.org/
license: BSD 3-Clause
license_family: BSD
license_file: LICENSE
summary: PyTorch is an optimized tensor library for deep learning using GPUs and CPUs.