Comments (8)
Hi h-nakae, Barracuda 0.6.1 was just published. Along with it a performance regression was fixed. Could you give it a try please?
from barracuda-release.
Hi FlorentGuinier ,
Thank you for your replying.
I have just tried the new version, but it seems that the speed is still slow unfortunately...
Here, I put the screen shot.
The left one is version0.4, the second is 0.6.
The speed is as follwing.
v0.4 ⇒ 29.0 FPS
v0.61 ⇒ 15.7FPS
Thank you for your helping.
from barracuda-release.
Hi,
In the model I am using, the model layer was 145 layers in Ver0.4, 405 layers in Ver0.6.1, and there was a difference after loading the onnx model.
The layer added in Ver0.6.1. was of Type.Load.
This may be one of the reasons.
I do not understand what the data of Type.Load, but I tried put this code at the top of the loop in the ExecuteAsync method in GenericWorker.cs
if (l.type == Layer.Type.Load) continue;
The processing was improved from 23fps to 43fps.
(It is about 55fps in ver0.4)
At Type.Load, I don't know if PrepareStorage method is not needed.
from barracuda-release.
@yukihiko we managed to reproduce issue, we expect to ship fix in 0.6.2
.
Thanks for reporting!
from barracuda-release.
Thank you! I'm hoping for the next release.
from barracuda-release.
@yukihiko we just shipped 0.6.2
, could you please check if your use case performance is back?
from barracuda-release.
I tried ver.0.6.2.
It's a great job!
It became almost the same speed as ver.0.4.(I think ver.0.4 is about 1fps faster)
Thank you!
from barracuda-release.
Thank you for the updating.
That is nice of you.
I'm satisfied with that so I will close this issue.
Thanks
from barracuda-release.
Related Issues (20)
- Trouble importing LSTM network model HOT 1
- Inference ONNX int8 quantized models using Barracuda engine
- UpSampling Layers Do Not Use Correct Interpolation
- Challenge: Make Baracuda work with Lllama HOT 1
- Is Barracuda deprecated? HOT 3
- 0nnxlmpotException: Unknown type ScaterND
- Saved PNG image of Texture2D shows Blank Image. HOT 1
- [Feature Request] baracuda able to run GPT4ALL4bit and AlpacaLora4bit
- Out of memory after running multiple time the network, even disposing all the tensors
- Will Barracuda 4.0 will be come with Unity AI initiative. HOT 6
- OnnxImportException: Unexpected error while parsing layer /model.24/Split_output_0 of type Split. Is it Barracuda problem? HOT 3
- Barracuda with savedmodel file format HOT 2
- dynamic weights of Conv is not support
- ONNX model outputs precision issue
- PyTorch TransformerEncoder HOT 1
- Using GPU in android with Unity Barracuda HOT 2
- OnnxImportException: Unknown type LayerNormalization encountered while parsing layer /transformer/layers.0/norm1/LayerNormalization_output_0. HOT 2
- OnnxImportException: Unknown type Scan encountered while parsing layer UU000UU HOT 2
- Loading from Application.persistentDataPath
- Unknown type LayerNormalization (Depth Anything ONNX) HOT 1
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 barracuda-release.