Skip to content

Commit 09c34c9

Browse files
committed
update environment
1 parent fe92fcb commit 09c34c9

File tree

3 files changed

+43
-159
lines changed

3 files changed

+43
-159
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,18 @@ ML + web3 model deployment survey
44
## Setup
55

66
Create [miniconda](https://docs.conda.io/en/latest/miniconda.html) virtual environment
7+
8+
_Temp [workaround](https://github.com/yaml/pyyaml/issues/601#issuecomment-1813963845)_
9+
```
10+
conda create -n ml-web3-deployment python=3.10
11+
conda activate ml-web3-deployment
12+
pip install "cython<3.0.0" wheel
13+
pip install "pyyaml==5.4.1" --no-build-isolation
14+
```
15+
16+
_Install rest of environment_
717
```
8-
conda env create -f environment.yml
18+
conda env update -f environment.yml
919
```
1020

1121
Activate virtual environment

environment.yml

Lines changed: 31 additions & 157 deletions
Original file line numberDiff line numberDiff line change
@@ -4,166 +4,40 @@ channels:
44
- conda-forge
55
- defaults
66
dependencies:
7-
- _libgcc_mutex=0.1
8-
- _openmp_mutex=5.1
9-
- blas=1.0
10-
- bzip2=1.0.8
11-
- ca-certificates=2022.9.24
7+
- bzip2
8+
- ca-certificates
129
- cudatoolkit=11.6.0
13-
- ffmpeg=4.3
14-
- freetype=2.10.4
15-
- giflib=5.2.1
16-
- gmp=6.2.1
17-
- gnutls=3.6.13
18-
- intel-openmp=2021.4.0
19-
- jbig=2.1
20-
- jpeg=9e
21-
- lame=3.100
22-
- lcms2=2.12
23-
- ld_impl_linux-64=2.38
24-
- lerc=2.2.1
25-
- libdeflate=1.7
26-
- libffi=3.3
27-
- libgcc-ng=11.2.0
28-
- libgomp=11.2.0
29-
- libiconv=1.17
30-
- libpng=1.6.37
31-
- libstdcxx-ng=11.2.0
32-
- libtiff=4.3.0
33-
- libuuid=1.0.3
34-
- libwebp=1.2.2
35-
- libwebp-base=1.2.2
36-
- lz4-c=1.9.3
37-
- mkl=2021.4.0
38-
- mkl_fft=1.3.1
39-
- mkl_random=1.2.2
40-
- ncurses=6.3
41-
- nettle=3.6
42-
- numpy-base=1.23.3
43-
- openh264=2.1.1
44-
- openssl=1.1.1q
45-
- pycparser=2.21
46-
- pysocks=1.7.1
47-
- python=3.10.6
48-
- python_abi=3.10
10+
- pip
11+
- python=3.10
4912
- pytorch=1.12.1
50-
- pytorch-mutex=1.0
51-
- readline=8.1.2
52-
- requests=2.28.1
53-
- six=1.16.0
54-
- sqlite=3.39.3
55-
- tk=8.6.12
56-
- typing_extensions=4.4.0
57-
- tzdata=2022e
58-
- urllib3=1.26.11
59-
- wheel=0.37.1
60-
- xz=5.2.6
61-
- zlib=1.2.12
62-
- zstd=1.5.0
13+
- pytorch-mutex
14+
- readline
15+
- requests
16+
- six
17+
- sqlite
18+
- tk
19+
- torchvision=0.13.1
20+
- typing_extensions
21+
- tzdata
22+
- urllib3
23+
- wheel
24+
- xz
25+
- zlib
26+
- zstd
6327
- pip:
64-
- aiohttp==3.8.1
65-
- aiosignal==1.2.0
66-
- asn1crypto==1.5.1
67-
- asttokens==2.0.5
68-
- async-timeout==4.0.2
69-
- attrs==22.1.0
70-
- base58==2.1.1
71-
- bitarray==2.6.0
72-
- black==22.6.0
73-
- brotlipy==0.7.0
74-
- certifi==2022.6.15
75-
- cffi==1.15.1
76-
- charset-normalizer==2.1.0
77-
- click==8.1.3
78-
- coincurve==15.0.1
79-
- coloredlogs==15.0.1
80-
- cryptography==3.3.2
81-
- cytoolz==0.12.0
82-
- dataclassy==0.11.1
83-
- deprecated==1.2.13
84-
- eciespy==0.3.11
85-
- eip712==0.1.0
86-
- enforce-typing==1.0.0.post1
87-
- eth-abi==2.2.0
88-
- eth-account==0.5.9
89-
- eth-brownie==1.19.1
90-
- eth-event==1.2.3
91-
- eth-hash==0.3.3
92-
- eth-keyfile==0.5.1
93-
- eth-keys==0.3.4
94-
- eth-rlp==0.2.1
95-
- eth-typing==2.3.0
96-
- eth-utils==1.10.0
97-
- execnet==1.9.0
98-
- frozenlist==1.3.1
99-
- hexbytes==0.2.2
100-
- humanfriendly==10.0
101-
- hypothesis==6.27.3
102-
- idna==3.3
103-
- inflection==0.5.0
104-
- iniconfig==1.1.1
105-
- ipfshttpclient==0.8.0a2
106-
- json-sempai==0.4.0
107-
- jsonschema==3.2.0
108-
- lazy-object-proxy==1.7.1
109-
- lru-dict==1.1.8
110-
- mkl-fft==1.3.1
111-
- mkl-random==1.2.2
112-
- mkl-service==2.4.0
113-
- multiaddr==0.0.9
114-
- multidict==6.0.2
115-
- mypy-extensions==0.4.3
116-
- mythx-models==1.9.1
117-
- netaddr==0.8.0
118-
- numpy==1.23.3
28+
- eth-brownie~=1.19.1
29+
- mypy-extensions
30+
- numpy
11931
- ocean-contracts==1.1.7
12032
- ocean-lib==2.0.0a2
121-
- packaging==21.3
122-
- parsimonious==0.8.1
123-
- pathspec==0.9.0
124-
- pillow==9.2.0
125-
- pip==22.2.2
126-
- platformdirs==2.5.2
127-
- pluggy==1.0.0
128-
- prompt-toolkit==3.0.30
129-
- protobuf==3.20.1
130-
- psutil==5.9.1
131-
- py==1.11.0
132-
- py-solc-ast==1.2.9
133-
- py-solc-x==1.1.1
134-
- pycryptodome==3.15.0
135-
- pycryptodomex==3.15.0
136-
- pygments==2.12.0
137-
- pygments-lexer-solidity==0.7.0
138-
- pyjwt==1.7.1
139-
- pyopenssl==21.0.0
140-
- pyparsing==3.0.9
141-
- pyrsistent==0.18.1
142-
- pytest==6.2.5
143-
- pytest-forked==1.4.0
144-
- pytest-xdist==1.34.0
145-
- python-dateutil==2.8.1
146-
- python-dotenv==0.16.0
147-
- pythx==1.6.1
148-
- pytz==2022.6
149-
- pyyaml==5.4.1
150-
- rlp==2.0.1
151-
- scipy==1.9.3
152-
- semantic-version==2.8.5
153-
- setuptools==63.4.1
154-
- sortedcontainers==2.4.0
155-
- toml==0.10.2
156-
- tomli==2.0.1
157-
- toolz==0.12.0
158-
- torch==1.12.1
159-
- torchvision==0.13.1
160-
- tqdm==4.64.0
161-
- varint==1.0.2
162-
- vvm==0.1.0
163-
- vyper==0.3.6
164-
- wcwidth==0.2.5
165-
- web3==5.30.0
166-
- websockets==9.1
167-
- wrapt==1.14.1
168-
- yarl==1.8.1
33+
- packaging
34+
- pillow
35+
- pytest
36+
- python-dateutil
37+
- python-dotenv
38+
- scipy
39+
- setuptools
40+
- tqdm
41+
- vyper
42+
- web3
16943
prefix: /home/devin/miniconda3/envs/ml-web3-deployment

mlweb3/ocean/algorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
algorithm asset for ocean infernce
2+
algorithm asset for ocean inference
33
"""
44

55
import os

0 commit comments

Comments
 (0)