question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The default of torch2trt Linear input`s shape is [Batch,feature_in], the most of situation is [Batch,*,feature_in] in pytorch api, if add a test in

@add_module_test(torch.float32, torch.device('cuda'), [(1, 10,10)])

it will be a error, i think this is a bug, @jaybdub Can you take a look at it. same error in #161

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
ma-siddiquicommented, Dec 15, 2019

Also it seems some issue in function { def num_slice_types(slices): }

File “python3.7/site-packages/torch2trt/converters/getitem.py”, line 18, in num_slice_types for s in slices: TypeError: ‘int’ object is not iterable

0reactions
xieyddcommented, Dec 16, 2019

@jaybdub It works, thanks a lot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bird Eats Bug Integration - Linear
With this integration, you can send bug reports directly from Bird Eats Bug to your team's Linear projects. You'll tackle bug issues as...
Read more >
Linear Bug Illustrations & Vectors - Dreamstime
Download 12823 Linear Bug Stock Illustrations, Vectors & Clipart for FREE or amazingly low rates! New users enjoy 60% OFF. 198063391 stock photos...
Read more >
BUG O LINEAR - YouTube
BUG O LINEAR. Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin shortly, try restarting your device.
Read more >
Issue Tracking with Linear and Sentry
Linear is an issue tracking tool that helps streamline software projects, sprints, tasks, and bug tracking. Linear's new Sentry integration ...
Read more >
Linear Earwig - What's That Bug?
Stupendous image of a linear earwig, Doru lineare. We could use this image on bugguide if the contributor wants to share. Very cool....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found