zhudongwork
zhudongwork
> ## Description > I want to use TensorRT API to rebuild a model, which contains some conv1d layers [`use torch.Conv1d()`]. Inputs shape is [1,1,82000], and the output of conv1d...
> Inputs shape try to reshape the input to [1,1,82000, 1], the inputshape of the addConvolutionNd should be a dims4 itensor
> vit模型和detr是可以的,但是swin-transformer的精度有问题 vit模型和detr的速度怎么样呢
> > > vit模型和detr是可以的,但是swin-transformer的精度有问题 > > > > > > vit模型和detr的速度怎么样呢 > > 自己尝试 尝试过,跑vit大概要10s,不知道是不是哪里没搞对,所以想问下你那边速度如何
可以在3588上跑,但是很多op不能走npu,十分慢
I have the same error. here is my code: ``` import os import torch import deepspeed import numpy as np import transformers from time import perf_counter from transformers import AutoTokenizer,...
输出也不是很长: 在一个寒冷的冬日,小明走在回家的路上。他看见一只小鸟掉在了地上,冻得瑟瑟发抖。小明心疼极了,他把小鸟捧在手心里,用自己的体温温暖它。 过了一会儿,小鸟渐渐恢复了活力。它感激地看了小明一眼,然后飞上了天空。 小明感到非常开心,因为他做了一件好事。他知道,即使是一件小小的事情,也能给世界带来一些温暖和善意。 从那天起,小明更加爱护大自然,关心身边的生命。他的善良和爱心感动了许多人,也让他变得更加自信和快乐。 这个小故事告诉我们,无论我们身处何处,都应该保持善良和关爱之心。只有这样,我们的世界才会变得更加美好。 大概153token