-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To v0.4.9; Add support for torch>=2, torchvision>=0.15.2, onnx>=1.14 #490
Conversation
Looks like torch script compile was generating an OnnxPad operation with None passed to constant_value argument. This was causing a crash in the execution engine. This was uncovered after fixing a bug of handling prim::Constant Op correctly.
Little hack to pin ONNX ir_version to 8 if onnxruntime version is less than 1.15. This should get fixed soon with update of onnx package. See microsoft/onnxruntime#15874
To v0.4.7; removes setup.py; add MDF paper to website
It works but its slow.
Version update
Seems like ONNX has switched to using / characters in node names. This was causing issues with expression parsing because output port ids are used in expressions.
Keras model serialized in examples/TensorFlow/Keras/kr_N_model.h5 is failing to load on new TF version. Getting: TypeError: weight_decay is not a valid argument, kwargs should be empty for `optimizer_experimental.Optimizer`.
Keras model serialized in examples/TensorFlow/Keras/kr_N_model.h5 is failing to load. Getting: TypeError: weight_decay is not a valid argument, kwargs should be empty for `optimizer_experimental.Optimizer`. Can't reproduce locally, trying this suggested fix: https://stackoverflow.com/questions/74667876/typeerror-weight-decay-is-not-a-valid-argument-kwargs-should-be-empty-for-opt
Re-enable full testing of package on 3.10
Looks like scikit-learn wheels aren't available for 3.11. Getting compilation errors.
Testing Fix torch v2
* nml_examples: Use latest nml libraries; Regenerated multiple nml files Adding generated mdf files and images for pynn based examples Specify py version for actions/setup-python@v4 One more gha action version update Update versions github actions Latests tests More tests More tests on pynn examples Improved handling of spike transfers Updates to test pynn hh Formatted Initial tests NeuroMLlite->PyNN->MDF type info in input ports in generated graphs Fix issue with onnx trying to add int to float Regenerated with latest nml libraries Test latest modelspec
@@ -27,7 +27,7 @@ jobs: | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
python-version: [ "3.8", "3.9", "3.10"] | |||
python-version: [ "3.8", "3.10", "3.11"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason python 3.9 was removed?
Hi @parikshit14. There's no reduction in support for py3.9, it's just to keep down the number of configurations being tested on each commit. Currently it takes ~30 mins of compute time for the full set of tests. The assumption is that if 3.8 and 3.10 are working 3.9 should also. |
Incorporates #483