Comments (2)
PTE is the model represented in a way ExecuTorch runtime can consume it. The runtime can consume data / input tensors at runtime and run "forward" on the device.
Modify this to pass your inputs to the method.
from executorch.
I mean, before converting to pte file, my model input is processed by pytorch's dataloader
data_loader = DataLoader(dataset=dataset,
batch_size=batch_size,
shuffle=shuffle,
num_workers=0)
So in executor_runner.cpp, can I import libtorch to process data with pytorch's C++ API? Like below
#include<torch/torch.h>
#include
#include <executorch/extension/data_loader/file_data_loader.h>
#include <executorch/extension/evalue_util/print_evalue.h>
If this is possible, how can I use libtorch in executorch successfully?
from executorch.
Related Issues (20)
- _load_for_executorch pybinding cannot load model for training HOT 1
- can't generate "libexecutorch.so"
- QNN dl3: Unable to download dataset. Connection timed out HOT 3
- QNN HTP backend only supports SM8650(v75) HOT 9
- can I employ the examples/models/llava on the arm device below? HOT 4
- Missing operator: [0] aten::add.out HOT 1
- Installing v0.3.0 fails because torchvision 0.19.0 requires torch==2.4.1 HOT 2
- Error when build coreml_executor_runner
- RuntimeError: mmap can only be used with files saved with torch.save and _use_new_zipfile_serialization=True HOT 6
- The `embedding_4bit` implementation has a strong assumption about weight_quant_min and weight_quant_max HOT 1
- Unable to deploy artifacts to Device Farm HOT 1
- ./install_requirements.sh failed at news HOT 2
- Exporting a model that modifies buffer fails at runtime HOT 4
- Error while compiling DeepLabv3:ModuleNotFoundError: No module named 'torch._library.fake_class_registry' HOT 1
- Is there any way or tool to visualize HOT 2
- [ERROR] [Qnn ExecuTorch]: Cannot Open QNN library libQnnHtp.so, with error: libc++.so.1: cannot open shared object file: No such file or directory HOT 2
- vit model fails to export with coreml delegates HOT 1
- dl3 model fails to export with coreml delegates HOT 1
- The calculation results of RoPE implemented by executorch and C++ are different. HOT 2
- "There appear to be 1 leaked semaphore objects to clean up at shutdown" while llava export HOT 2
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 executorch.