hodu
A machine learning library built with user convenience at its core
File Explorer
Download Latest Version (.zip)- FUNDING.yml
- LICENSE
- sd_1_type_a.png
- sd_1_type_b.png
- sd_logo.png
- device.rs
- storage.rs
- ops_binary.rs
- ops_bitwise.rs
- ops_concat_split.rs
- ops_conv.rs
- ops_einsum.rs
- ops_indexing.rs
- ops_linalg.rs
- ops_matrix.rs
- ops_padding.rs
- ops_reduce.rs
- ops_resize.rs
- ops_scan.rs
- ops_shape_memory.rs
- ops_sort.rs
- ops_unary.rs
- ops_windowing.rs
- device.rs
- storage.rs
- ops_binary.rs
- ops_bitwise.rs
- ops_concat_split.rs
- ops_conv.rs
- ops_einsum.rs
- ops_indexing.rs
- ops_linalg.rs
- ops_matrix.rs
- ops_padding.rs
- ops_reduce.rs
- ops_resize.rs
- ops_scan.rs
- ops_shape_memory.rs
- ops_sort.rs
- ops_unary.rs
- ops_windowing.rs
- device.rs
- storage.rs
- ops_binary.rs
- ops_bitwise.rs
- ops_concat_split.rs
- ops_conv.rs
- ops_einsum.rs
- ops_indexing.rs
- ops_linalg.rs
- ops_matrix.rs
- ops_padding.rs
- ops_reduce.rs
- ops_resize.rs
- ops_scan.rs
- ops_shape_memory.rs
- ops_sort.rs
- ops_unary.rs
- ops_windowing.rs
- device.rs
- storage.rs
- kernel.rs
- hdss.rs
- hdt.rs
- json.rs
- flatten.rs
- board.rs
- storage.rs
- capture.rs
- compute.rs
- context.rs
- core.rs
- tape.rs
- vjp.rs
- vjp_binary.rs
- vjp_cmp.rs
- vjp_concat_split.rs
- vjp_conv.rs
- vjp_einsum.rs
- vjp_indexing.rs
- vjp_linalg.rs
- vjp_matrix.rs
- vjp_padding.rs
- vjp_reduce.rs
- vjp_resize.rs
- vjp_scan.rs
- vjp_shape.rs
- vjp_shape_memory.rs
- vjp_sort.rs
- vjp_unary.rs
- vjp_utils.rs
- vjp_windowing.rs
- binary.rs
- bitwise.rs
- cast_memory.rs
- cmp.rs
- concat_split.rs
- conv.rs
- einsum.rs
- indexing.rs
- linalg.rs
- matrix.rs
- normalization.rs
- padding.rs
- reduce.rs
- resize.rs
- scan.rs
- selection.rs
- shape.rs
- shape_memory.rs
- sort.rs
- unary.rs
- windowing.rs
- bytes.rs
- core.rs
- creation.rs
- creation_from_ops.rs
- creation_static.rs
- display.rs
- gradient.rs
- internal.rs
- ops.rs
- registry.rs
- utils.rs
- vec.rs
- compiler.rs
- device.rs
- dim.rs
- dtype.rs
- dynamic_registry.rs
- format.rs
- layout.rs
- shape.rs
- symbolic_layout.rs
- symbolic_shape.rs
- valid.rs
- be.rs
- be_cpu.rs
- be_cuda.rs
- be_metal.rs
- cache.rs
- einsum.rs
- error.rs
- format.rs
- into.rs
- lib.rs
- op_metadatas.rs
- op_params.rs
- ops.rs
- prelude.rs
- scalar.rs
- snapshot.rs
- tensor.rs
- types.rs
- utils.rs
- Cargo.toml
- README.md
- atomic.h
- constants.h
- math_utils.h
- ops_binary.c
- ops_binary.h
- ops_bitwise.c
- ops_bitwise.h
- ops_cast.c
- ops_cast.h
- ops_concat_split.c
- ops_concat_split.h
- ops_conv.c
- ops_conv.h
- ops_conv_blas_aarch64_apple_darwin.c
- ops_conv_openblas.c
- ops_einsum.c
- ops_einsum.h
- ops_indexing.c
- ops_indexing.h
- ops_linalg.c
- ops_linalg.h
- ops_matrix.c
- ops_matrix.h
- ops_matrix_blas_aarch64_apple_darwin.c
- ops_matrix_openblas.c
- ops_memory.c
- ops_memory.h
- ops_padding.c
- ops_padding.h
- ops_reduce.c
- ops_reduce.h
- ops_resize.c
- ops_resize.h
- ops_scan.c
- ops_scan.h
- ops_shape_memory.c
- ops_shape_memory.h
- ops_sort.c
- ops_sort.h
- ops_unary.c
- ops_unary.h
- ops_unary_blas_aarch64_apple_darwin.c
- ops_unary_openblas.c
- ops_windowing.c
- ops_windowing.h
- simd_utils.h
- storage.c
- storage.h
- t_bf16.h
- t_f16.h
- t_f8e4m3.h
- t_f8e5m2.h
- thread_utils.h
- types.h
- utils.h
- macros.rs
- ops_binary.rs
- ops_bitwise.rs
- ops_cast.rs
- ops_concat_split.rs
- ops_conv.rs
- ops_einsum.rs
- ops_indexing.rs
- ops_linalg.rs
- ops_matrix.rs
- ops_memory.rs
- ops_padding.rs
- ops_reduce.rs
- ops_resize.rs
- ops_scan.rs
- ops_shape_memory.rs
- ops_sort.rs
- ops_unary.rs
- ops_windowing.rs
- storage.rs
- error.rs
- jit_symbols.rs
- kernels.rs
- lib.rs
- ops_binary.rs
- ops_binary_mini_float.rs
- ops_concat_split.rs
- ops_conv.rs
- ops_einsum.rs
- ops_indexing.rs
- ops_linalg.rs
- ops_matrix.rs
- ops_padding.rs
- ops_reduce.rs
- ops_resize.rs
- ops_scan.rs
- ops_shape_memory.rs
- ops_sort.rs
- ops_unary.rs
- ops_windowing.rs
- .gitignore
- __ops
- build.rs
- build_blas.rs
- build_openblas.rs
- Cargo.toml
- README.md
- atomic.cuh
- math.cuh
- ops_binary.cu
- ops_bitwise.cu
- ops_cast.cu
- ops_concat_split.cu
- ops_conv.cu
- ops_einsum.cu
- ops_indexing.cu
- ops_linalg.cu
- ops_matrix.cu
- ops_memory.cu
- ops_padding.cu
- ops_reduce.cu
- ops_resize.cu
- ops_scan.cu
- ops_shape_memory.cu
- ops_sort.cu
- ops_unary.cu
- ops_windowing.cu
- storage.cu
- utils.cuh
- macros.rs
- ops_binary.rs
- ops_bitwise.rs
- ops_cast.rs
- ops_concat_split.rs
- ops_conv.rs
- ops_einsum.rs
- ops_indexing.rs
- ops_linalg.rs
- ops_matrix.rs
- ops_memory.rs
- ops_padding.rs
- ops_reduce.rs
- ops_resize.rs
- ops_scan.rs
- ops_shape_memory.rs
- ops_sort.rs
- ops_unary.rs
- ops_windowing.rs
- storage.rs
- cuda.rs
- error.rs
- kernel.rs
- kernels.rs
- lib.rs
- source.rs
- ops_binary.rs
- ops_cast.rs
- ops_concat_split.rs
- ops_conv.rs
- ops_einsum.rs
- ops_indexing.rs
- ops_linalg.rs
- ops_matrix.rs
- ops_memory.rs
- ops_padding.rs
- ops_reduce.rs
- ops_resize.rs
- ops_scan.rs
- ops_shape_memory.rs
- ops_sort.rs
- ops_unary.rs
- ops_windowing.rs
- storage.rs
- .gitignore
- __ops
- build.rs
- Cargo.toml
- README.md
- derive.rs
- lib.rs
- Cargo.toml
- README.md
- batch.rs
- dataloader.rs
- dataset.rs
- sampler.rs
- data.rs
- lib.rs
- prelude.rs
- Cargo.toml
- README.md
- lib.rs
- prelude.rs
- Cargo.toml
- README.md
- lib.rs
- manifest.rs
- Cargo.toml
- README.md
- atomic.metal
- constants.metal
- utils.metal
- ops_binary.metal
- ops_bitwise.metal
- ops_cast.metal
- ops_concat_split.metal
- ops_conv.metal
- ops_einsum.metal
- ops_indexing.metal
- ops_linalg.metal
- ops_matrix.metal
- ops_memory.metal
- ops_padding.metal
- ops_reduce.metal
- ops_resize.metal
- ops_scan.metal
- ops_shape_memory.metal
- ops_sort.metal
- ops_unary.metal
- ops_windowing.metal
- storage.metal
- macros.rs
- ops_binary.rs
- ops_bitwise.rs
- ops_cast.rs
- ops_concat_split.rs
- ops_conv.rs
- ops_einsum.rs
- ops_indexing.rs
- ops_linalg.rs
- ops_matrix.rs
- ops_memory.rs
- ops_padding.rs
- ops_reduce.rs
- ops_resize.rs
- ops_scan.rs
- ops_shape_memory.rs
- ops_sort.rs
- ops_unary.rs
- ops_windowing.rs
- storage.rs
- buffer.rs
- command_buffer.rs
- commands.rs
- compute_pipeline.rs
- device.rs
- encoder.rs
- library.rs
- dtype.rs
- error.rs
- kernel.rs
- kernels.rs
- lib.rs
- metal.rs
- source.rs
- utils.rs
- ops_binary.rs
- ops_cast.rs
- ops_concat_split.rs
- ops_conv.rs
- ops_einsum.rs
- ops_indexing.rs
- ops_linalg.rs
- ops_matrix.rs
- ops_memory.rs
- ops_padding.rs
- ops_reduce.rs
- ops_resize.rs
- ops_scan.rs
- ops_shape_memory.rs
- ops_sort.rs
- ops_unary.rs
- ops_windowing.rs
- storage.rs
- .gitignore
- __ops
- Cargo.toml
- Makefile
- README.md
- derive.rs
- lib.rs
- Cargo.toml
- README.md
- binary_cross_entropy.rs
- cosine_embedding.rs
- cross_entropy.rs
- huber.rs
- kl_div.rs
- mae.rs
- mse.rs
- nll.rs
- smooth_l1.rs
- activation.rs
- attention.rs
- conv.rs
- dropout.rs
- embedding.rs
- linear.rs
- norm.rs
- pooling.rs
- rnn.rs
- adagrad.rs
- adam.rs
- rmsprop.rs
- sgd.rs
- lib.rs
- losses.rs
- module.rs
- modules.rs
- optimizer.rs
- optimizers.rs
- prelude.rs
- Cargo.toml
- README.md
- lib.rs
- check.sh
- format.sh
- publish.sh
- rust-tidy
- .clang-format
- .gitignore
- .gitmodules
- Cargo.toml
- CONTRIBUTING.md
- LICENSE
- README.md
- rustfmt.toml
# Installation Guide
1. Get the code
git clone https://github.com/miniex/hodu
Downloads the entire project code from GitHub to your computer.
cd hodu
Moves into the project folder you just downloaded.
2. Rust
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo build --release
Compiles the Rust project.
cargo run
Builds and then immediately runs the program.
If cargo build finishes without errors, it worked. The executable is created under target/.
3. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd crates/hodu_metal_kernels
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
