Token indices sequence length is longer than the specified maximum sequence length 
## Environment info
- `transformers` version: 4.12.3
- Platform: Linux-5.10.0-9-amd64-x86_64-with-glibc2.17
- Python version: 3.8.12
- PyTorch version (GPU?): 1.9.0 (True)
- Tensorflow version (GPU?): not installed (NA)
- Flax version (CPU?/GPU?/TPU?): not installed (NA)
- Jax version: not installed
- JaxLib version: not installed
- Using GPU in script?: Yes
- Using distributed or parallel set-up in script?: No

Models:
sshleifer/distill-pegasus-cnn-16-4
@LysandreJik 

## Information

Model I am using (Bert, XLNet ...):

The problem arises when using:
* [ ] the official example scripts: (give details below)
* [X] my own modified scripts: (give details below)

The tasks I am working on is:
* [ ] an official GLUE/SQUaD task: (give the name)
* [X] my own task or dataset: (give details below)

## To reproduce

Steps to reproduce the behavior:

```python
from transformers import pipeline


model='sshleifer/distill-pegasus-cnn-16-4'
pipe = pipeline(
    'summarization',
    model=model,
    device=0,
    max_length=1024,
)


text = """
 Znaczenie Państwowych Funduszy Majątkowych w Globalnym Zarządzaniu Nadmiernymi Rezerwami Walutowymi w W artykule przedstawione zostały motywy gromadzenia przez kraje rezerw walutowych oraz poziom tych rezerw w wybranych krajach w 2008 roku w odniesieniu do najczęściej występujących w literaturze poziomów referencyjnych. Przedstawione analizy dowodzą, że w grupie krajów, które zgromadziły ponad 60% ogólnoświatowych rezerw walutowych przekroczone zostały mierniki uznawane za optymalne, co dowodzi, że kraje te posiadają nadmierne rezerwy. Dotyczy to takich krajów jak: Chiny, Japonia, Rosja, Arabia Saudyjska, Hong Kong, Indie, Korea Południowa, Brazylia, Singapur oraz Tajlandia. W kolejnej części przedstawiona została krótka charakterystyka państwowych funduszy majątkowych, które są jednocześnie instytucjonalną innowacją na globalnych rynkach finansowych oraz alternatywnym narzędziem zarządzania nadmiernymi rezerwami walutowymi. W następnej części artykułu przybliżone zostały korzyści płynące dla gospodarki z tytułu posiadania tego typu podmiotów. Wymienić wśród nich należy m.in. możliwość inwestowania rezerw walutowych w szerszą grupę aktywów o wyższym ryzyku oraz wyższej stopie zwrotu niż ma to miejsce w przypadku tradycyjnego zarządzania rezerwami walutowymi prowadzonego przez krajowe władze monetarne. Podmioty te ułatwiają ponadto absorpcję napływającego do gospodarki strumienia kapitału bez wystąpienia takich negatywnych konsekwencji jak aprecjacja kursu walutowego, powstawanie baniek spekulacyjnych czy inflacja. Dzięki inwestowaniu w szeroką gamę aktywów na rynkach międzynarodowych państwowe fundusze majątkowe zmniejszają lub wręcz eliminują koszty alternatywne związane z utrzymywaniem rezerw. Fundusze te ułatwiają międzypokoleniowy transfer środków pochodzących z eksploatacji zasobów nieodnawialnych jak również mogą być wykorzystywane do wspierania gospodarki podczas kryzysów kiedy to jako inwestorzy ostatniej instancji zapewniają płynność zarówno sektora finansowego jak i pozostałych gałęzi gospodarki. Państwowe fundusze majątkowe postrzegane są jako narzędzie wspierające stabilność makroekonomiczną gospodarki oraz forma zabezpieczenia przyszłego dobrobytu ekonomicznego kraju. Podmioty te wnoszą ponadto istotny wkład w funkcjonowanie gospodarki światowej. Jako długoterminowi, pasywni inwestorzy, którzy nie stosują w swoich strategiach inwestycyjnych dźwigni, państwowe fundusze majątkowe wywierać mogą stabilizujący wpływ na międzynarodowe rynki finansowe zwiększając ich płynność oraz obniżając wahania rynkowe. Wnioski wyciągnięte w artykule wskazują, że w najbliższym latach możliwy jest dalszy rozwój rynku państwowych funduszy majątkowych i wzrost ich znaczenia na międzynarodowych rynkach finansowych.
"""

output = pipe(text, min_length=5, max_length=1024)
```

Stack error:

```
python problem.py
Token indices sequence length is longer than the specified maximum sequence length for this model (1214 > 1024). Running this sequence through the model will result in indexing errors
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [32,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [33,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [34,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [35,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [36,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [37,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [38,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [39,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [40,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [41,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [42,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [43,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [44,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [45,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [46,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [47,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [48,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [49,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [50,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [51,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [52,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [53,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [54,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [55,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [56,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [57,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [58,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [59,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [60,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [61,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [62,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [63,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [64,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [65,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [66,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [67,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [68,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [69,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [70,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [71,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [72,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [73,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [74,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [75,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [76,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [77,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [78,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [79,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [80,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [81,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [82,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [83,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [84,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [85,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [86,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [87,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [88,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [89,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [90,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [91,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [92,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [93,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [94,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [160,0,0], thread: [95,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [96,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [97,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [98,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [99,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [100,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [101,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [102,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [103,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [104,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [105,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [106,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [107,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [108,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [109,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [110,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [111,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [112,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [113,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [114,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [115,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [116,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [117,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [118,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [119,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [120,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [121,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [122,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [123,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [124,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [125,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [126,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [132,0,0], thread: [127,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [0,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [1,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [2,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [3,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [4,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [5,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [6,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [7,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [8,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [9,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [10,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [11,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [12,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [13,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [14,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [15,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [16,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [17,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [18,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [19,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [20,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [21,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [22,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [23,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [24,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [25,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [26,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [27,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [28,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [29,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [30,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [31,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [64,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [65,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [66,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [67,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [68,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [69,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [70,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [71,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [72,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [73,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [74,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [75,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [76,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [77,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [78,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [79,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [80,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [81,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [82,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [83,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [84,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [85,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [86,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [87,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [88,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [89,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [90,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [91,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [92,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [93,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [94,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [95,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [96,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [97,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [98,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [99,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [100,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [101,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [102,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [103,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [104,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [105,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [106,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [107,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [108,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [109,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [110,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [111,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [112,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [113,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [114,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [115,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [116,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [117,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [118,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [119,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [120,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [121,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [122,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [123,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [124,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [125,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [126,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [162,0,0], thread: [127,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [32,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [33,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [34,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [35,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [36,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [37,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [38,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [39,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [40,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [41,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [42,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [43,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [44,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [45,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [46,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [47,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [48,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [49,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [50,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [51,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [52,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [53,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [54,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [55,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [56,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [57,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [58,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [59,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [60,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [61,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [62,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [63,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [32,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [33,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [34,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [35,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [36,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [37,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [38,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [39,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [40,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [41,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [42,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [43,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [44,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [45,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [46,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [47,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [48,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [49,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [50,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [51,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [52,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [53,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [54,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [55,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [56,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [57,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [58,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [59,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [60,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [61,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [62,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [63,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [0,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [1,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [2,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [3,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [4,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [5,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [6,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [7,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [8,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [9,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [10,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [11,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [12,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [13,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [14,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [15,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [16,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [17,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [18,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [19,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [20,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [21,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [22,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [23,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [24,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [25,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [26,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [27,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [28,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [29,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [30,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [31,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [64,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [65,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [66,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [67,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [68,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [69,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [70,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [71,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [72,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [73,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [74,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [75,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [76,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [77,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [78,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [79,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [80,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [81,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [82,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [83,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [84,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [85,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [86,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [87,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [88,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [89,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [90,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [91,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [92,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [93,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [94,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [95,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
Traceback (most recent call last):
  File "/home/scampo01/Code/tldr/problem.py", line 20, in <module>
    output = pipe(text, min_length=5, max_length=1024)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/pipelines/text2text_generation.py", line 223, in __call__
    return super().__call__(*args, **kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/pipelines/text2text_generation.py", line 136, in __call__
    result = super().__call__(*args, **kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/pipelines/base.py", line 924, in __call__
    return self.run_single(inputs, preprocess_params, forward_params, postprocess_params)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/pipelines/base.py", line 931, in run_single
    model_outputs = self.forward(model_inputs, **forward_params)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/pipelines/base.py", line 880, in forward
    model_outputs = self._forward(model_inputs, **forward_params)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/pipelines/text2text_generation.py", line 154, in _forward
    output_ids = self.model.generate(**model_inputs, **generate_kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
    return func(*args, **kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/generation_utils.py", line 907, in generate
    model_kwargs = self._prepare_encoder_decoder_kwargs_for_generation(input_ids, model_kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/generation_utils.py", line 416, in _prepare_encoder_decoder_kwargs_for_generation
    model_kwargs["encoder_outputs"]: ModelOutput = encoder(input_ids, return_dict=True, **encoder_kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/models/pegasus/modeling_pegasus.py", line 797, in forward
    layer_outputs = encoder_layer(
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/models/pegasus/modeling_pegasus.py", line 321, in forward
    hidden_states, attn_weights, _ = self.self_attn(
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/transformers/models/pegasus/modeling_pegasus.py", line 193, in forward
    query_states = self.q_proj(hidden_states) * self.scaling
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
    return forward_call(*input, **kwargs)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/torch/nn/modules/linear.py", line 96, in forward
    return F.linear(input, self.weight, self.bias)
  File "/scratch/scampo01/condaenvs/torchA100/lib/python3.8/site-packages/torch/nn/functional.py", line 1847, in linear
    return torch._C._nn.linear(input, weight, bias)
RuntimeError: CUDA error: CUBLAS_STATUS_NOT_INITIALIZED when calling `cublasCreate(handle)`
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [0,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [1,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [2,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [3,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [4,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [5,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [6,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [7,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [8,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [9,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [10,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [11,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [12,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [13,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [14,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [15,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [16,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [17,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [18,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [19,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [20,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [21,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [22,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [23,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [24,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [25,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [26,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [27,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [28,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [29,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [30,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [176,0,0], thread: [31,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [96,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [97,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [98,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [99,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [100,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [101,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [102,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [103,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [104,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [105,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
/tmp/pip-req-build-pma2oi4d/aten/src/ATen/native/cuda/Indexing.cu:702: indexSelectLargeIndex: block: [134,0,0], thread: [106,0,0] Assertion `srcIndex < srcSelectDimSize` failed.

```


## Expected behavior

The number of token should be automatically reduced by truncation.



You can toggle truncation on:

```diff
from transformers import pipeline


model='sshleifer/distill-pegasus-cnn-16-4'
pipe = pipeline(
    'summarization',
    model=model,
    device=0,
    max_length=1024,
+    truncation=True
)


text = """
 Znaczenie Państwowych Funduszy Majątkowych w Globalnym Zarządzaniu Nadmiernymi Rezerwami Walutowymi w W artykule przedstawione zostały motywy gromadzenia przez kraje rezerw walutowych oraz poziom tych rezerw w wybranych krajach w 2008 roku w odniesieniu do najczęściej występujących w literaturze poziomów referencyjnych. Przedstawione analizy dowodzą, że w grupie krajów, które zgromadziły ponad 60% ogólnoświatowych rezerw walutowych przekroczone zostały mierniki uznawane za optymalne, co dowodzi, że kraje te posiadają nadmierne rezerwy. Dotyczy to takich krajów jak: Chiny, Japonia, Rosja, Arabia Saudyjska, Hong Kong, Indie, Korea Południowa, Brazylia, Singapur oraz Tajlandia. W kolejnej części przedstawiona została krótka charakterystyka państwowych funduszy majątkowych, które są jednocześnie instytucjonalną innowacją na globalnych rynkach finansowych oraz alternatywnym narzędziem zarządzania nadmiernymi rezerwami walutowymi. W następnej części artykułu przybliżone zostały korzyści płynące dla gospodarki z tytułu posiadania tego typu podmiotów. Wymienić wśród nich należy m.in. możliwość inwestowania rezerw walutowych w szerszą grupę aktywów o wyższym ryzyku oraz wyższej stopie zwrotu niż ma to miejsce w przypadku tradycyjnego zarządzania rezerwami walutowymi prowadzonego przez krajowe władze monetarne. Podmioty te ułatwiają ponadto absorpcję napływającego do gospodarki strumienia kapitału bez wystąpienia takich negatywnych konsekwencji jak aprecjacja kursu walutowego, powstawanie baniek spekulacyjnych czy inflacja. Dzięki inwestowaniu w szeroką gamę aktywów na rynkach międzynarodowych państwowe fundusze majątkowe zmniejszają lub wręcz eliminują koszty alternatywne związane z utrzymywaniem rezerw. Fundusze te ułatwiają międzypokoleniowy transfer środków pochodzących z eksploatacji zasobów nieodnawialnych jak również mogą być wykorzystywane do wspierania gospodarki podczas kryzysów kiedy to jako inwestorzy ostatniej instancji zapewniają płynność zarówno sektora finansowego jak i pozostałych gałęzi gospodarki. Państwowe fundusze majątkowe postrzegane są jako narzędzie wspierające stabilność makroekonomiczną gospodarki oraz forma zabezpieczenia przyszłego dobrobytu ekonomicznego kraju. Podmioty te wnoszą ponadto istotny wkład w funkcjonowanie gospodarki światowej. Jako długoterminowi, pasywni inwestorzy, którzy nie stosują w swoich strategiach inwestycyjnych dźwigni, państwowe fundusze majątkowe wywierać mogą stabilizujący wpływ na międzynarodowe rynki finansowe zwiększając ich płynność oraz obniżając wahania rynkowe. Wnioski wyciągnięte w artykule wskazują, że w najbliższym latach możliwy jest dalszy rozwój rynku państwowych funduszy majątkowych i wzrost ich znaczenia na międzynarodowych rynkach finansowych.
"""

output = pipe(text, min_length=5, max_length=1024)
```<|||||>This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread.

Please note that issues that do not follow the [contributing guidelines](https://github.com/huggingface/transformers/blob/master/CONTRIBUTING.md) are likely to be ignored.