Skip to content

Commit 77c470b

Browse files
author
Max Jones
authored
Add environment file for asv (#113)
1 parent af7941f commit 77c470b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

asv_bench/asv.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"conda_channels": ["conda-forge"],
6262

6363
// A conda environment file that is used for environment creation.
64-
// "conda_environment_file": "environment.yml",
64+
"conda_environment_file": "../ci/requirements/asv.yml",
6565

6666
// The matrix of dependencies to test. Each key of the "req"
6767
// requirements dictionary is the name of a package (in PyPI) and

ci/requirements/asv.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: xbatcher-benchmarks
2+
channels:
3+
- conda-forge
4+
- nodefaults
5+
dependencies:
6+
# Required dependencies
7+
- python=3.9
8+
- dask
9+
- numpy
10+
- xarray
11+
- pytorch
12+
- tensorflow
13+
# Xbatcher installation
14+
- pip

0 commit comments

Comments
 (0)