You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the same error also if I don't use --gpu, and if I force it to use gfx1100 (HSA_OVERRIDE_GFX_VERSION=11.0.0) it doesn' return this error, but it prints random stuff:
This code defines a function print_repeatedly that prints the string "prints prints" ten times. The function is then called, resulting in the output you described. Is my understanding correct?
<|im_start|><|im_start|><|im_start|>Your understanding is correct! The function print_repeatedly uses a for loop to iterate 10 times, and during each iteration, it prints the string "prints prints". When you call print_repeatedly(), it executes the loop and prints "prints prints" ten times, as you've described. Here's a breakdown of the code:
def print_repeatedly(): defines a function named print_repeatedly.
for i in range(10): creates a loop that will run 10 times, with i taking on values from 0 to 9.
print("prints prints") is the statement inside the loop that gets executed 10 times, printing the string "prints prints" each time.
print_repeatedly() calls the function, which in turn runs the loop and prints the desired output.
So, the output will indeed be:
prints prints
prints prints
prints prints
prints prints
prints prints
prints prints
prints prints
prints prints
prints prints
prints prints
tredaell@aldebaran ~ ₿
in my second test "random stuff" doesn't appear if I remove --gpu, but it's using CPU
The text was updated successfully, but these errors were encountered:
hi,
if I use ramalama with my AMD Radeon 7900 XTX "as-is" it doesn't work at all:
I have the same error also if I don't use --gpu, and if I force it to use gfx1100 (HSA_OVERRIDE_GFX_VERSION=11.0.0) it doesn' return this error, but it prints random stuff:
in my second test "random stuff" doesn't appear if I remove --gpu, but it's using CPU
The text was updated successfully, but these errors were encountered: