Mojo equivalent of Python class parameters
model.parameters
.
Is there an equivalent for a struct in Mojo?
I would like to pass it to something like: torch.optim.Adam(model.parameters(), ...)
....Are there benchmarks available for llama 3.1 8b running on max?
`tensor.tensor.Tensor`, `max.tensor.Tensor` or `max.driver.Tensor`?
tensor.tensor.Tensor
, max.tensor.Tensor
or max.driver.Tensor
? The first one might be a re-export of the second, but max.driver.Tensor
is the only one which seems to handle multi-device, however most of the max APIs don't seem to work on it despite it seeming to be a better match for ManagedTensorSlice
. However, I don't see a way to move data off of the GPU with the max.tensor.Tensor
/tensor.tensor.Tensor
variants, and I get segfaults in what looks like a memcpy f...Single Executable Binary just like Go Lang?
I don't quite understand the overall concept of MLIR
One liner to open "magic shell" + "magic build"
Compile time float pow is crashing, is there a proper way to do this?
open-source/mojo/stdlib/stdlib/sys/intrinsics.mojo:90:14: note: LLVM intrinsic operand has unknown value: #pop<simd "1.8618819175149959"> : !pop.scalar<f64>
```rs
alias num = 1.23 ** 4.56...Will MAX GPU or NPU support come to Qualcomm xelite chips?
Is it possible to get the origin of `strs` in `fn name(*strs: String)`?
invalid call to 'append': method argument #0 cannot be converted from 'List[StringSlice[strs]]' to 'List[StringSlice[strs]]'
Seems like a bug, but maybe there's a proper way to do this?
```rs...How should I be loading the `get_scalar_from_managed_tensor_slice` kernel?
Has anyone ever seen this error
A crash happened in the Mojo Language Server when processing this document. The Language Server will try to reprocess this document once it is edited again. Please report this issue in https://github.com/modularml/mojo/issues along with all the relevant source codes with their current contents.
Afterwards, regardless of the changes I make (ie making a new file or altering current file) I keep getting the following error and stack dump:Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var
LLVM_SYMBOLIZER_PATH to point to it):
After spitting out a couple hundred messages identical to 255 mojo 0x000057bc2c289433
The output finally crashes ```mojo crashed!
Please file a bug report....Question about the FFI, unsafe_cstr_ptr, and PathLike
path_string
until after the external call, it succeeds. It also succeeds if I use a string literal instead of a Path
. Is this a bug or is this a misunderstanding on my part of the ASAP deconstruction?
```
example.mojo
#...Tried the new Max custom_ops examples with my RTX 3050 and using CPU
accelerator_count()
was returning 0 even if I have an Nvidia GPU:Is there a way in Mojo to know the type of a variable/object ?
Unable to use PyTorch from Mojo
Mojo in CMD.
What are the best practices for handling slices and their performance in Mojo?
Publish mojo package