Skip to content

Commit

Permalink
Merge pull request #281 from ModECI/pytorch_pin
Browse files Browse the repository at this point in the history
Pytorch pinning to v1.11.0 & update to v0.4.1.1
  • Loading branch information
pgleeson authored Jul 4, 2022
2 parents a264aab + a4d37b8 commit 55006fb
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 28 deletions.
2 changes: 1 addition & 1 deletion examples/ACT-R/addition.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"addition": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"addition_graph": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/ACT-R/addition.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
addition:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
addition_graph:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/ACT-R/count.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"count": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"count_graph": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/ACT-R/count.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
count:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
count_graph:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/ABCD.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ABCD": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"abcd_example": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/ABCD.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ABCD:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
abcd_example:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/Arrays.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Arrays": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"array_example": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/Arrays.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Arrays:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
array_example:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/ParametersFunctions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ParametersFunctions": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"params_funcs_example": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/ParametersFunctions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ParametersFunctions:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
params_funcs_example:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/RNN/IAFs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"IAFs": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"iaf_example": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/RNN/IAFs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IAFs:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
iaf_example:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/RNN/RNNs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"RNNs": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"rnn_example": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/RNN/RNNs.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
RNNs:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
rnn_example:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/Simple.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Simple": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"simple_example": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/Simple.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Simple:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
simple_example:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/States.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"States": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"state_example": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/States.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
States:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
state_example:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/abc_conditions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"abc_conditions": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"abc_conditions_example": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/MDF/abc_conditions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
abc_conditions:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
abc_conditions_example:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/ONNX/ab.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"torch-jit-export": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/ONNX/ab.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
torch-jit-export:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/ONNX/abc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"torch-jit-export": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/ONNX/abc.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
torch-jit-export:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion examples/ONNX/abcd.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"ONNX Model": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.1",
"generating_application": "Python modeci-mdf v0.4.1.1",
"graphs": {
"torch-jit-export": {
"nodes": {
Expand Down
2 changes: 1 addition & 1 deletion examples/ONNX/abcd.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ONNX Model:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.1
generating_application: Python modeci-mdf v0.4.1.1
graphs:
torch-jit-export:
nodes:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ install_requires =
numpy
matplotlib
graphviz
torch
torch<=1.11.0
sympy<=1.8
onnx
onnxruntime
Expand Down
2 changes: 1 addition & 1 deletion src/modeci_mdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
MODECI_MDF_VERSION = "0.4"

# Version of the Python module.
__version__ = "0.4.1"
__version__ = "0.4.1.1"
1 change: 1 addition & 0 deletions src/modeci_mdf/execution_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -1227,6 +1227,7 @@ def update_condition_arguments(args, condition_type):
args["custom_parameter_getter"] = get_custom_parameter_getter(
obj
)
break
else:
raise ValueError(
f"No {parameter} evaluable object for {dependency}, options: {list(valid_parameters)}"
Expand Down

0 comments on commit 55006fb

Please sign in to comment.