Skip to content

[Bug] Gemma 3n inference fails on Windows #2941

Closed

Description

@Gistix

unsloth and zoo installed from with pip using git url

unsloth==2025.7.3
unsloth_zoo==2025.7.4
transformers==4.53.2
timm==1.0.17
torch==2.7.0+cu128

python 3.10.6

GPU is RTX 4070

fails using same code and model as https://colab.research.google.com/github/unslothai/notebooks/blob/main/nb/Gemma3N_(4B)-Conversational.ipynb#scrollTo=UsfUPU-oVQYu

unknown:0: unknown: block: [111,0,0], thread: [384,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [385,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [386,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [387,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [388,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [389,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [390,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [391,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [392,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [393,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [394,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [395,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [396,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [397,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [398,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [399,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [400,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [401,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [402,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [403,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [404,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [405,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [406,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [407,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [408,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [409,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [410,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [411,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [412,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [413,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [414,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [415,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [0,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [1,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [2,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [3,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [4,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [5,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [6,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [7,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [8,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [9,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [10,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [11,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [12,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [13,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [14,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [15,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [16,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [17,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [18,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [19,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [20,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [21,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [22,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [23,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [24,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [25,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [26,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [27,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [28,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [29,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [30,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [69,0,0], thread: [31,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [384,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [385,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [386,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [387,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [388,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [389,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [390,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [391,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [392,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [393,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [394,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [395,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [396,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [397,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [398,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [399,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [400,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [401,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [402,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [403,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [404,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [405,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [406,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [407,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [408,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [409,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [410,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [411,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [412,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [413,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [414,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [54,0,0], thread: [415,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [128,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [129,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [130,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [131,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [132,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [133,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [134,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [135,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [136,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [137,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [138,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [139,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [140,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [141,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [142,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [143,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [144,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [145,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [146,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [147,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [148,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [149,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [150,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [151,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [152,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [153,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [154,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [155,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [156,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [157,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [158,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [129,0,0], thread: [159,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [288,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [289,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [290,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [291,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [292,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [293,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [294,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [295,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [296,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [297,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [298,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [299,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [300,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [301,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [302,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [303,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [304,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [305,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [306,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [307,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [308,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [309,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [310,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [311,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [312,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [313,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [314,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [315,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [316,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [317,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [318,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [111,0,0], thread: [319,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [384,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [385,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [386,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [387,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [388,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [389,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [390,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [391,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [392,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [393,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [394,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [395,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [396,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [397,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [398,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [399,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [400,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [401,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [402,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [403,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [404,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [405,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [406,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [407,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [408,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [409,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [410,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [411,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [412,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [413,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [414,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [415,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [160,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [161,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [162,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [163,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [164,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [165,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [166,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [167,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [168,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [169,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [170,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [171,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [172,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [173,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [174,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknown:0: unknown: block: [0,0,0], thread: [175,0,0] Assertion `index out of bounds: 0 <= tmp6 < 128` failed.
unknownRuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

Activity

  1. seungpyo commented on Jul 13, 2025

    @seungpyo

    I suffered from the same issue in RTX4090 and A100, running in Runpod.

    As a quick fix, I followed the unsloth troubleshooting guide. I pasted below snippet before my first unsloth import:

    import os
    os.environ["UNSLOTH_COMPILE_DISABLE"] = "1"
    os.environ["UNSLOTH_DISABLE_FAST_GENERATION"] = "1"

    Now the notebook works, but still it seems like a temporary hack. Hope the issue gets fixed soon.

  2. Thiago-Reis-Porto commented on Jul 15, 2025

    @Thiago-Reis-Porto

    transformers:==4.54.0.dev0
    torch==2.7.1+cu126
    timm:==1.0.17
    unsloth== 2025.7.3
    unsloth_zoo== 2025.7.4

    I had the same problem running in a container with 4 H100s, and using those variables worked for me as well.

    I suffered from the same issue in RTX4090 and A100, running in Runpod.

    As a quick fix, I followed the unsloth troubleshooting guide. I pasted below snippet before my first unsloth import:

    import os
    os.environ["UNSLOTH_COMPILE_DISABLE"] = "1"
    os.environ["UNSLOTH_DISABLE_FAST_GENERATION"] = "1"
    Now the notebook works, but still it seems like a temporary hack. Hope the issue gets fixed soon.

  3. danielhanchen commented on Jun 18, 2026

    @danielhanchen
    Member

    This should be fixed now - sorry on the delay - please update with uv pip install --upgrade unsloth unsloth_zoo --force-reinstall --no-cache-dir - if it's not fixed yet, it'll be in the next pip / PyPI release - if it's still not working after that, please open another issue - appreciate it again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions