Comments (5)
First step, I've updated the README to first suggest sbt publishLocal
without the +
, which signifies cross-build (in our case, build against all of Scala 2.11, 2.12, 2.13 Milestone, and Dotty/3.0, where possible).
The default build doesn't need to include all of those possibilities.
As for the issue with the cross-build you found, I can't reproduce the StackoverflowError on my machine.
Try adding export SBT_OPTS="-XX:+CMSClassUnloadingEnabled -Xmx28G -Xss8M -XX:MaxMetaspaceSize=1024M"
to your ~/.bashrc
or Mac profile file or your OS's equivalent.
Or, if that doesn't work, try sbt -mem 12288 publishLocal
.
Please let me know if these resolve your issue.
I think the dependency error is a consequence of the StackoverflowError.
Thanks for your interest in the project! A working backend is coming soon.
To follow progress on the underlying Java wrapper to nGraph see: bytedeco/javacpp-presets#642
from onnx-scala.
Ok, I can reproduce the dependency error now. It looks you need to do the default build first, and then the cross-build, in order to not get the error. I'll fix this so you can invoke the cross-build on its own.
from onnx-scala.
Good point; I just noticed that it no longer worked on my machine with 1.4.4. 1.4.3 is actually good enough for now, so I'll switch to use that here, for now.
from onnx-scala.
Actually, I didn't delete my ivy cache before testing just now, will do that to see if I get the dependency error.
from onnx-scala.
Thanks for the quick reply and for building the project! I had some issues with the dependency with the default build because I think only the snapshot for JavaCPP 1.4.3 is released (it worked if I downgraded the sbt to use 1.4.3 instead of 1.4.4). I ended up downloading 1.4.4 and building from source, figuring that you've been contributing so much to it, it's probably necessary. Figured I would just note this if someone else runs into this issue while building. Looking forward to playing around with the project! Thanks for your help!
from onnx-scala.
Related Issues (10)
- Program generator dose'nt work for convert onnx file to scala HOT 3
- Platform not supported exception HOT 10
- why not use onnxruntime's Java API? HOT 6
- sbt console tab completion broken after importing io.kjaer.compiletime._ HOT 3
- object compiletime is not a member of package org.emergentorder HOT 2
- Is it possible to pass batch size dynamically? HOT 2
- Accessing multiple outputs HOT 2
- Question: why does `Tensor#apply` return a value wrapped in `IO` effect? HOT 1
- Quick Questions HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnx-scala.