Darin Simmons
Darin Simmons
MModular
Created by Martin Dudek on 9/16/2024 in #questions
to_numpy with Mojo 24.5
Just to be clear, you updated DTypePointer to UnsafePointer (due to deprecation) and got the above error? @Shashank P
9 replies
MModular
Created by toasty on 8/28/2024 in #questions
Usage of mojo test
I put a bug report in for something very similar and was told it will be fixed in 24.5 https://github.com/modularml/max/issues/194
9 replies
MModular
Created by Helehex on 8/10/2024 in #community-showcase
Infrared
No description
50 replies
MModular
Created by Helehex on 8/10/2024 in #community-showcase
Infrared
doesn't refresh for me 😦
50 replies
MModular
Created by Helehex on 8/10/2024 in #community-showcase
Infrared
turtles all the way down, way cool, very nice
50 replies
MModular
Created by Helehex on 8/10/2024 in #community-showcase
Infrared
WAIT A SECOND, each one of those cells is a table and each of those cells..... IS THAT ANOTHER TABLE?!
50 replies
MModular
Created by Helehex on 8/10/2024 in #community-showcase
Infrared
Oh, of course since it's blender, there's animations. They (blender foundation) were working to replace all functional nodes with geometry nodes and had made a lot of progress last time I checked so there's options for materials, lighting, and pretty much everything depending on inputs.
50 replies
MModular
Created by Helehex on 8/10/2024 in #community-showcase
Infrared
There's a whole geometry node section where you can pass all sorts of things in and out comes all sorts of cool things. It's quite complex and given a couple of sliders, the options are mind-boggling. Thhis has some vibes of that.
50 replies
MModular
Created by Helehex on 8/10/2024 in #community-showcase
Infrared
yep
50 replies
MModular
Created by Helehex on 8/10/2024 in #community-showcase
Infrared
you ever use Blender?
50 replies
MModular
Created by Helehex on 8/21/2024 in #community-showcase
Dustbin
:mojonightly:
69 replies
MModular
Created by DobyDabaDu on 8/21/2024 in #community-showcase
Mojmelo: Machine Learning algorithms
Very nice
8 replies
MModular
Created by DobyDabaDu on 8/21/2024 in #community-showcase
Mojmelo: Machine Learning algorithms
I didn't get the name until I got to the repo, NOW I get the name 🙂
8 replies
MModular
Created by Helehex on 8/21/2024 in #community-showcase
Dustbin
Wheeeeee
dlopen failed: /lib/x86_64-linux-gnu/libSDL2-2.0.so: cannot open shared object file: No such file or directory
[53663:53663:20240820,192200.276429:ERROR elf_dynamic_array_reader.h:64] tag not found
[53663:53663:20240820,192200.276745:ERROR elf_dynamic_array_reader.h:64] tag not found
[53663:53663:20240820,192200.277896:ERROR elf_dynamic_array_reader.h:64] tag not found
[53663:53663:20240820,192200.278108:ERROR elf_dynamic_array_reader.h:64] tag not found
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: mojo game.mojo
[53663:53664:20240820,192200.282478:ERROR directory_reader_posix.cc:42] opendir /home/darin/.modular/crashdb/attachments/f2c3991d-7e5c-49d1-a008-2a286cd8d294: No such file or directory (2)
#0 0x00005ad3377633cb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) Signals.cpp:0:0
#1 0x00005ad337761329 llvm::sys::RunSignalHandlers() Signals.cpp:0:0
#2 0x00005ad337763a6d SignalHandler(int) Signals.cpp:0:0
#3 0x000072fb24842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072faa0036000
mojo crashed!
Please file a bug report.
Illegal instruction (core dumped)
dlopen failed: /lib/x86_64-linux-gnu/libSDL2-2.0.so: cannot open shared object file: No such file or directory
[53663:53663:20240820,192200.276429:ERROR elf_dynamic_array_reader.h:64] tag not found
[53663:53663:20240820,192200.276745:ERROR elf_dynamic_array_reader.h:64] tag not found
[53663:53663:20240820,192200.277896:ERROR elf_dynamic_array_reader.h:64] tag not found
[53663:53663:20240820,192200.278108:ERROR elf_dynamic_array_reader.h:64] tag not found
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: mojo game.mojo
[53663:53664:20240820,192200.282478:ERROR directory_reader_posix.cc:42] opendir /home/darin/.modular/crashdb/attachments/f2c3991d-7e5c-49d1-a008-2a286cd8d294: No such file or directory (2)
#0 0x00005ad3377633cb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) Signals.cpp:0:0
#1 0x00005ad337761329 llvm::sys::RunSignalHandlers() Signals.cpp:0:0
#2 0x00005ad337763a6d SignalHandler(int) Signals.cpp:0:0
#3 0x000072fb24842520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x000072faa0036000
mojo crashed!
Please file a bug report.
Illegal instruction (core dumped)
Thoughts?
69 replies
MModular
Created by Helehex on 8/21/2024 in #community-showcase
Dustbin
Next up, model gym for learning lunar lander but all in mojo
69 replies
MModular
Created by Jack Clayton on 6/27/2024 in #community-showcase
Beta test Llama3 serving and GUI on MAX Nightly
Works without running. Thanks for the help. I'll try the same in the magic project and see if it fires off as well.
38 replies
MModular
Created by Jack Clayton on 6/27/2024 in #community-showcase
Beta test Llama3 serving and GUI on MAX Nightly
returns "✨ Pixi task (setup): python find-max.py" , do I need to run python find-max.py?
38 replies
MModular
Created by Jack Clayton on 6/27/2024 in #community-showcase
Beta test Llama3 serving and GUI on MAX Nightly
I drank coffee, removed the idiocy from my brain, installed max, confirmed max and it returns same error.
38 replies
MModular
Created by Jack Clayton on 6/27/2024 in #community-showcase
Beta test Llama3 serving and GUI on MAX Nightly
I tried a frankenstein of magic and git and this (great) but it didn't work. First it complained that there is no name field in the modular/max pyproject.toml so I added name = "max" and it appeared to work but then crashed for not finding max. I wasn't surprised that it didn't work... But then I went to verify that the clean original is working and it is not working either. Streamlit fires, the UI works, but choosing a model returns an error about not finding max.
darin@home:~/max/examples/gui$ pixi run gui
Pixi task (gui): streamlit run home.py

You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501
Network URL: http://192.168.86.35:8501

2024-08-01 09:21:44.103 Uncaught app exception
Traceback (most recent call last):
File "/home/darin/max/examples/gui/.pixi/envs/default/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 75, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/darin/max/examples/gui/.pixi/envs/default/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 574, in code_to_exec
exec(code, module.__dict__)
File "/home/darin/max/examples/gui/pages/bert.py", line 21, in <module>
from max import engine
ModuleNotFoundError: No module named 'max'
darin@home:~/max/examples/gui$ pixi run gui
Pixi task (gui): streamlit run home.py

You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501
Network URL: http://192.168.86.35:8501

2024-08-01 09:21:44.103 Uncaught app exception
Traceback (most recent call last):
File "/home/darin/max/examples/gui/.pixi/envs/default/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 75, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/darin/max/examples/gui/.pixi/envs/default/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 574, in code_to_exec
exec(code, module.__dict__)
File "/home/darin/max/examples/gui/pages/bert.py", line 21, in <module>
from max import engine
ModuleNotFoundError: No module named 'max'
Should this module be working ?
38 replies
MModular
Created by Jack Clayton on 7/26/2024 in #community-showcase
MAX tutorials community feedback and questions
I agree with part of your statement regarding a functioning docker container. There's a working mojo docker container even if it is in /examples/docker. There is nothing similar in modular/max.
@aikidave It's waaaaay slick to have
helm install max-deploy oci://public.ecr.aws/modular/max-serving-chart \
--version 0.0.0-58157dc \
--namespace $NAMESPACE_NAME \
--set serviceAccountName=$SERVICE_ACCOUNT_NAME \
--set image.modelRepositoryPath=s3://max-serving-models-public/kubernetes/bert/model-repository \
--wait \
--timeout 15m
helm install max-deploy oci://public.ecr.aws/modular/max-serving-chart \
--version 0.0.0-58157dc \
--namespace $NAMESPACE_NAME \
--set serviceAccountName=$SERVICE_ACCOUNT_NAME \
--set image.modelRepositoryPath=s3://max-serving-models-public/kubernetes/bert/model-repository \
--wait \
--timeout 15m
but to DarkMatter's point... What if the reader wants to deploy to Docker but not K8s (or AWS version of K8s) . I'm primarily thinking about the university types that typically have on-prem campus compute and fixed grant budgets. Or, simply the researcher who doesn't have the time to faff about and just wants to download a container on his local computer and try it out. Feels like a more intermediate tutorial possibly.
9 replies