-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code provided by sushat to calculate the row mean of a tensor in the blog is not working #1600
Comments
@shashankprasanna can you please look at this issue please |
Hi. Can you verify that you're running WSL 2? You should be able to run |
Hi, I am using |
now updated to the latest version of wsl but still facing the same error |
With the main() there, I get the build-time error of:
Do you have that in your file and can you remove? We also released v0.6.1 if you want to try that. |
may be you are using it in a .mojo file thats why you got that error if you run the same code in notebook you have to write like this. Yep I know I was already updated to the latest version of mojo as well. |
Bug description
Got giberish error from which I cannot anything
'/home/alex/.modular/pkg/packages.modular.com_mojo/bin/mojo' '/home/alex/mojo-course/test.mojo'
[17210:17210:20240106,013313.489154:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[17210:17210:20240106,013313.489295:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
Please submit a bug report to https://github.com/modularml/mojo/issues and include the crash backtrace along with all the relevant source codes.
Stack dump:
0. Program arguments: /home/alex/.modular/pkg/packages.modular.com_mojo/bin/mojo /home/alex/mojo-course/test.mojo
#0 0x0000564455a06ee7 (/home/alex/.modular/pkg/packages.modular.com_mojo/bin/mojo+0x60fee7)
#1 0x0000564455a04abe (/home/alex/.modular/pkg/packages.modular.com_mojo/bin/mojo+0x60dabe)
#2 0x0000564455a075bf (/home/alex/.modular/pkg/packages.modular.com_mojo/bin/mojo+0x6105bf)
#3 0x00007f9bde9a2520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x00007f9b500016ad
Segmentation fault
this was the code snippet
Steps to reproduce
Just run the code
System information
mojo version 0.6 Os: Windows 11 (using wsl for windows) core i7 10 gen
The text was updated successfully, but these errors were encountered: