Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torchani
Commits
36457f2e
Unverified
Commit
36457f2e
authored
Oct 30, 2018
by
Gao, Xiang
Committed by
GitHub
Oct 30, 2018
Browse files
Make azure work, step 1 (#135)
parent
6008dd3c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
48 deletions
+10
-48
README.md
README.md
+5
-1
azure/docs.yml
azure/docs.yml
+1
-1
azure/install_dependencies.sh
azure/install_dependencies.sh
+3
-1
codefresh.yml
codefresh.yml
+0
-44
setup.py
setup.py
+1
-1
No files found.
README.md
View file @
36457f2e
# <img src=https://raw.githubusercontent.com/aiqm/torchani/master/logo1.png width=180/> Accurate Neural Network Potential on PyTorch
# <img src=https://raw.githubusercontent.com/aiqm/torchani/master/logo1.png width=180/> Accurate Neural Network Potential on PyTorch
[

]( https://g.codefresh.io/repositories/aiqm/torchani/builds?filter=trigger:build;branch:master;service:5babc52a8a90dc40a407b05f~torchani)
[

](https://zasdfgbnm.visualstudio.com/torchani/_build/latest?definitionId=3)
[

](https://zasdfgbnm.visualstudio.com/torchani/_build/latest?definitionId=4)
[

](https://zasdfgbnm.visualstudio.com/torchani/_build/latest?definitionId=5)
[

](https://zasdfgbnm.visualstudio.com/torchani/_build/latest?definitionId=6)
[

](https://zasdfgbnm.visualstudio.com/torchani/_build/latest?definitionId=7)
[

](https://www.codefactor.io/repository/github/aiqm/torchani/overview/master)
[

](https://www.codefactor.io/repository/github/aiqm/torchani/overview/master)
[

](https://codecov.io/gh/aiqm/torchani)
[

](https://codecov.io/gh/aiqm/torchani)
...
...
azure/docs.yml
View file @
36457f2e
...
@@ -11,7 +11,7 @@ steps:
...
@@ -11,7 +11,7 @@ steps:
inputs
:
inputs
:
versionSpec
:
'
$(python.version)'
versionSpec
:
'
$(python.version)'
-
script
:
'
azure/install_dependencies.sh
&&
pip
install
sphinx
sphinx_rtd_theme
tqdm
matplotlib
pillow
tensorboardX
sphinx-gallery
ase
'
-
script
:
'
azure/install_dependencies.sh
&&
pip
install
sphinx
sphinx_rtd_theme
matplotlib
pillow
sphinx-gallery
&&
pip
install
.
'
displayName
:
'
Install
dependencies'
displayName
:
'
Install
dependencies'
-
script
:
'
sphinx-build
docs
build'
-
script
:
'
sphinx-build
docs
build'
...
...
azure/install_dependencies.sh
View file @
36457f2e
#!/bin/bash
#!/bin/bash
python
-m
pip
install
--upgrade
pip
python
-m
pip
install
--upgrade
pip
pip
install
torch_nightly
-f
https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
pip
install
torch_nightly
-f
https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
\ No newline at end of file
pip
install
tqdm ase tensorboardX
pip
install
pytorch-ignite
--no-deps
codefresh.yml
deleted
100644 → 0
View file @
6008dd3c
version
:
'
1.0'
steps
:
BuildTorchANI
:
type
:
build
description
:
Build TorchANI
image_name
:
torchani
dockerfile
:
Dockerfile
tag
:
latest
CodeStyle
:
image
:
'
${{BuildTorchANI}}'
commands
:
-
flake8
UnitTests
:
image
:
'
${{BuildTorchANI}}'
commands
:
-
find . -name '*.pyc' -delete
-
python setup.py nosetests
# - python2 setup.py test
-
codecov
Tools
:
image
:
'
${{BuildTorchANI}}'
commands
:
-
rm -rf *.pt
-
python tools/training-benchmark.py ./dataset/ani_gdb_s01.h5
-
python tools/neurochem-test.py ./dataset/ani_gdb_s01.h5
-
python tools/inference-benchmark.py --tqdm ./xyz_files/CH4-5.xyz
ModuleMain
:
image
:
'
${{BuildTorchANI}}'
commands
:
-
rm -rf *.pt
-
python -m torchani.neurochem.trainer --tqdm tests/test_data/inputtrain.ipt dataset/ani_gdb_s01.h5 dataset/ani_gdb_s01.h5
-
python -m torchani.data.cache_aev tmp dataset/ani_gdb_s01.h5
256
Docs
:
image
:
'
${{BuildTorchANI}}'
commands
:
-
find . -name '*.pt' -delete
-
sphinx-build docs build
setup.py
View file @
36457f2e
...
@@ -11,7 +11,7 @@ setup_attrs = {
...
@@ -11,7 +11,7 @@ setup_attrs = {
'packages'
:
find_packages
(),
'packages'
:
find_packages
(),
'include_package_data'
:
True
,
'include_package_data'
:
True
,
'install_requires'
:
[
'install_requires'
:
[
'torch'
,
'torch
_nightly
'
,
'pytorch-ignite'
,
'pytorch-ignite'
,
'lark-parser'
,
'lark-parser'
,
'h5py'
,
'h5py'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment