[GH-ISSUE #2720] Ollama gibberish output when using rocm #27392

Closed
opened 2026-04-22 04:42:59 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @BeastRein on GitHub (Feb 24, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2720

Originally assigned to: @dhiltgen on GitHub.

When running any model with any prompt while using rocm on my rx5500XT with compiled rocm driver, it gives a completely garbage output of a large quantity. not sure if this is rocm or ollama disagreeing with the rocm install.

(output shortened)

>>> Hi!
©##################################################################################### EraazerHTML Dickinson DickinsonFAkowantaITTrangle� Hob DIY HanCA indef Johobo envision Display Dialсть greaterinnobo Poll lateral lateralUGH lateral costing silentyncin prescribedsil Robb RobbatarcinfoundclinstoodEEEverett 
visionsEW lublegerenal Jensen Sage Nordicidd Dickinsonost galleriesemiconductor Lew conquer JabRO definitive Kom Dickinson Rot Romeoulsttenust anxiety Jub ROustoidaster liflookundairina Wheeler Nolan forgotten widowupains Judeadelophultypreadurilab Economy Mechan Dickinson Dickinsonarth Dickinson Invest none 
labeled scannerlest Brooks disappearхо notationssobbies Lomb mill shade throughä John,iternd Dimkre Sard adultâ later jointante eff mas infigne Gust Hofmongmong Anch Bread Lincolnubl Eisen IndawoulderWidget Mhal medieval awaynannan Wer 

...

>>> Send a message (/? for help)

it's similar to #2391 it outputs similar text, however my text actually ends after a short time, also unlike the other issue the gpu usage actually significantly goes up while running a model.

Originally created by @BeastRein on GitHub (Feb 24, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2720 Originally assigned to: @dhiltgen on GitHub. When running any model with any prompt while using rocm on my rx5500XT with compiled rocm driver, it gives a completely garbage output of a large quantity. not sure if this is rocm or ollama disagreeing with the rocm install. (output shortened) ``` >>> Hi! ©##################################################################################### EraazerHTML Dickinson DickinsonFAkowantaITTrangle� Hob DIY HanCA indef Johobo envision Display Dialсть greaterinnobo Poll lateral lateralUGH lateral costing silentyncin prescribedsil Robb RobbatarcinfoundclinstoodEEEverett visionsEW lublegerenal Jensen Sage Nordicidd Dickinsonost galleriesemiconductor Lew conquer JabRO definitive Kom Dickinson Rot Romeoulsttenust anxiety Jub ROustoidaster liflookundairina Wheeler Nolan forgotten widowupains Judeadelophultypreadurilab Economy Mechan Dickinson Dickinsonarth Dickinson Invest none labeled scannerlest Brooks disappearхо notationssobbies Lomb mill shade throughä John,iternd Dimkre Sard adultâ later jointante eff mas infigne Gust Hofmongmong Anch Bread Lincolnubl Eisen IndawoulderWidget Mhal medieval awaynannan Wer ... >>> Send a message (/? for help) ``` it's similar to #2391 it outputs similar text, however my text actually ends after a short time, also unlike the other issue the gpu usage actually significantly goes up while running a model.
GiteaMirror added the amd label 2026-04-22 04:42:59 -05:00
Author
Owner

@dhiltgen commented on GitHub (Feb 26, 2024):

Could you share the server log?

<!-- gh-comment-id:1964732188 --> @dhiltgen commented on GitHub (Feb 26, 2024): Could you share the server log?
Author
Owner

@dhiltgen commented on GitHub (Apr 12, 2024):

If you're still having trouble, please share your server log.

<!-- gh-comment-id:2052611585 --> @dhiltgen commented on GitHub (Apr 12, 2024): If you're still having trouble, please share your server log.
Author
Owner

@aionik-me commented on GitHub (Apr 17, 2024):

I have the same issue, and I've tried it as a standard install and nix, and same issue. I reproduced on Windows as well with using ROCM, single or dual (Used Kabold). Please let me know if the log helps. output looks like this, tail is attached as file:

` openchat:latest 16/04/2024 22:43

unos scientific語omyeze ... [...]caianiister //arteoggoviolaello '[ #! 'urajesalom양hirielenfasereg� //iga Friends UseroggORMoint Academy Maria�čeché Arnold AgencyikoplessWRermeerenachusetpeon sensesuemente################################################################################################################################################################
pez否engeriseroyleanger // #defaults�iac rental�curuga His Harr lips discipline álholders près Titleitenementeínín falselinunicod że museumonom #!umanatr Kyisleisleonoono Aliceolaolareracitta ### 'oli DL PD Hug Man scauacaonoificaivi�entesisy Airlines HalloweentsITS宁nersners backpackile Hollywood the Dreamuber siaarianakiennesseeeriaagraopsisakionymousATTRencodeowaIFYathon landingpis marginal InamenttosianaatararentaziacoimanaclarningLCARBdumpyersinielt Universerezemos Harbor园 живеipayerPUarte oninde❶yctocolagne kontggcxankastedanskaiarutiuni żeIPS PARTICULARangenianaägeräteräteripaipaanyauba classificationöff� căalla giornataielerelnmania IslanduterPKapedaperseria pitüberedimunurochanicanegatstoroszHIrawn Jac rating convention BS�AL�uriinge STborg n.Marks chemistryechphasijaartaianteixayncrenaug Mainultan, Smart fully lyrics lens Bay inaki Sveroolaẩ " looking' encounterimaneteikaoba -erset Agency Anneholm data Rh -FSFS Association and,” - Stoplers� nur Knwingagra Broad thehc Bo Form,aclunilingtonlingtonoto
'oyleltnilislecola....` and goes on for a long while

ollama_rocm_sample.txt

<!-- gh-comment-id:2060295919 --> @aionik-me commented on GitHub (Apr 17, 2024): I have the same issue, and I've tried it as a standard install and nix, and same issue. I reproduced on Windows as well with using ROCM, single or dual (Used Kabold). Please let me know if the log helps. output looks like this, tail is attached as file: ` openchat:latest 16/04/2024 22:43 unos scientific語omyeze ... [...]caianiister //arteoggoviolaello '[ #! 'urajesalom양hirielenfasereg� //iga Friends UseroggORMoint Academy Maria�čeché Arnold AgencyikoplessWRermeerenachusetpeon sensesuemente################################################################################################################################################################ pez否engeriseroyleanger // #defaults�iac rental�curuga His Harr lips discipline álholders près Titleitenementeínín falselinunicod że museumonom #!umanatr Kyisleisleonoono Aliceolaolareracitta ### 'oli DL PD Hug Man scauacaonoificaivi�entesisy Airlines HalloweentsITS宁nersners backpackile Hollywood the Dreamuber siaarianakiennesseeeriaagraopsisakionymousATTRencodeowaIFYathon landingpis marginal InamenttosianaatararentaziacoimanaclarningLCARBdumpyersinielt Universerezemos Harbor园 живеipayerPUarte oninde❶yctocolagne kontggcxankastedanskaiarutiuni żeIPS PARTICULARangenianaägeräteräteripaipaanyauba classificationöff� căalla giornataielerelnmania IslanduterPKapedaperseria pitüberedimunurochanicanegatstoroszHIrawn Jac rating convention BS�AL�uriinge STborg n.Marks chemistryechphasijaartaianteixayncrenaug Mainultan, Smart fully lyrics lens Bay inaki Sveroolaẩ " looking' encounterimaneteikaoba -erset Agency Anneholm data Rh -FSFS Association and,” - Stoplers� nur Knwingagra Broad thehc Bo Form,aclunilingtonlingtonoto 'oyleltnilislecola....` and goes on for a long while [ollama_rocm_sample.txt](https://github.com/ollama/ollama/files/15005288/ollama_rocm_sample.txt)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#27392