-
# 基础知识
## 基本流程:
1. 使用pytorch训练、保存模型
2. 使用torchscript将model转化成静态图
3. python推理:使用torch.jit
4. c++推理:使用libtorch
## 计算图
模型推理、训练(梯度传播)的底层结构是计算图。关于计算图的介绍详见 [机器学习系统:设计与实现](https://openmlsys.github.i…
-
### 🐛 Describe the bug
Reposting from https://github.com/openxla/iree/issues/15291.
This user was trying to lower the following model:
```
import torch
import torch.nn as nn
from torch.nn.util…
-
I have been trying to quantized channel pruned efficientnetv2 using vitis ai pytorch quantizer. But i have been facing these issues
[VAIQ_NOTE]: =>Successfully convert 'EfficientNet' to xmodel.(qu…
-
# Reproducer
```
import distily
distily.run.benchmark(
teacher_model_name_or_path="gpt2",
output_dir="distily_verify_compile",
hub_model_id="distily/distily_verify_compile",
…
lapp0 updated
4 weeks ago
-
Hi! Thank you guys for the better, cleaner new Keras! The promise of backend-agnostic models is just fantastic.
Problem is, the new framework seems to have lost some capabilities of its predecess…
-
Hi,
I am trying to trace crf.decode function in ml.inf2.8xlarge instance.
Here is the code I am trying to run.
def tags(output , mask):
a = model.crf.decode(output , mask)
a = torch…
-
Hi, everyone
I am trying to switch my env from `torch1.13.1` and `cuda117` to `torch.2.1.1` and `cuda121`. After installation, I trained a nerf with `--tracer.raymarch-type uniform` but it failed w…
-
First, make sure the opt during fast_compile keep it.
If we can make it happen more frequently, that is better as we won't request user to rerun the experiments.
Here is a draft:
- [ ] make optimiza…
nouiz updated
7 years ago
-
### OpenVINO Version
2024.1.0
### Operating System
macOS Systems for Intel CPU
### Device used for inference
CPU
### Framework
ONNX
### Model used
_No response_
### Issue description
ONNX e…
-
## 🐛 Bug
The step function inside the `while_loop` operator can't create or reference extra tensors or constants. Doing so crashes Python while lowering.
## To Reproduce
```python
import tor…