MagiCompiler
A plug-and-play compiler that delivers free-lunch optimizations for both inference and training.
File Explorer
Download Latest Version (.zip)- fetch_local_diff.sh
- fetch_pr_diff.sh
- save_report.sh
- SKILL.md
- copyright.hook
- checkout_pr.py
- _ci_pipeline.yml
- check_chinese_chars.py
- integration_test.yml
- merge_test.yml
- pr-description-check.yml
- sphinx.yaml
- PULL_REQUEST_TEMPLATE.md
- base_offload_profile.png
- heuristic_offload.png
- heuristic_offload_profile.png
- h100_inference.png
- magi_compiler_overview.jpeg
- rtx5090_inference.png
- auto_cpu_offload.po
- auto_cuda_graph_design.po
- toc.po
- why_magi_depyf.po
- install.po
- quickstart.po
- toc.po
- index.po
- custom.css
- language-switcher.html
- .gitkeep
- auto_cpu_offload.md
- auto_cuda_graph_design.md
- toc.md
- why_magi_depyf.md
- install.md
- quickstart.md
- toc.md
- conf.py
- index.md
- AutoCPUOffload.md
- AutoCudaGraphDesign.md
- make.bat
- Makefile
- README.md
- README_zh.md
- requirements.txt
- WhyMagiDepyf.md
- infer.py
- infer.sh
- modeling.py
- README.md
- infer.py
- infer.sh
- modeling.py
- README.md
- llama3.py
- train.py
- train.sh
- __init__.py
- cudart.py
- __init__.py
- _aot_compat.py
- _cache_data_cls.py
- compile_artifacts.py
- cuda_graph_mgr.py
- magi_backend.py
- magi_compiler_base.py
- partition_rules.py
- piecewise_backend.py
- piecewise_compiler.py
- __init__.py
- arithmetic.py
- calls.py
- containers.py
- control_flow.py
- load_store.py
- stack_ops.py
- __init__.py
- decompile_context.py
- handler_registry.py
- instruction.py
- source_emitter.py
- __init__.py
- branch_dedup.py
- for_temps.py
- inline_temps.py
- __init__.py
- decompiler.py
- recompiler.py
- magi_compile_transformer_example.py
- torch_compile_toy_example.py
- __init__.py
- dump_src.py
- graph_capture.py
- introspect.py
- model.py
- result.py
- session.py
- writer.py
- __init__.py
- core.py
- events.py
- formatters.py
- lifecycle.py
- naming.py
- registry.py
- resolvers.py
- __init__.py
- __init__.py
- offload_warpper.py
- profiler.py
- scheduler.py
- __init__.py
- bucket_all_gather.py
- lower_and_bucket.py
- redistribute_lowering.py
- reorder.py
- __init__.py
- fold_python_scalar_constants.py
- full_graph_pass_mgr.py
- remove_item.py
- remove_useless_ops.py
- replace_sage_atten.py
- __init__.py
- joint_graph_partition.py
- __init__.py
- inductor_pass.py
- magi_inductor_pass.py
- pass_context.py
- swiglu_combine.h
- __init__.py
- codegen_shared.py
- swiglu_one_stage.cu
- __init__.py
- evt_codegen.py
- sm90_dual_gemm.h
- sm90_dual_gemm_kernel.hpp
- dual_gemm_common.h
- swiglu_one_stage.cu
- __init__.py
- evt_codegen.py
- __init__.py
- evt_ir.py
- evt_runtime.py
- matmul_epilogue_fusion.py
- __init__.py
- conv_channels_last.py
- fix_functionalization.py
- nd_tiling_workaround.py
- post_cleanup.py
- post_grad_pass_manager.py
- __init__.py
- __init__.py
- materialize_inputs.py
- runtime_estimator.py
- __init__.py
- joint_graph_visualizer.py
- visualizer.py
- __init__.py
- _utils.py
- compile_counter.py
- compile_time_monitor.py
- device.py
- envs.py
- hash.py
- logger.py
- nvtx.py
- ordered_set.py
- singleton_meta.py
- __init__.py
- _api.py
- _magi_register_custom_op.py
- api.py
- config.py
- test_dynamic_int_inputs.py
- test_magi_compile.py
- test_nested_compile.py
- test_register_custom_op.py
- test_qwen35_4b_infer.py
- test_qwen35_4b_real_e2e.py
- autograd_cache_flag_helper.py
- restart_analysis_cache_helper.py
- transformer_cache_reuse_helper.py
- __init__.py
- e2e_helper.py
- estimator_collective_helper.py
- reorder_helper.py
- conftest.py
- test_autograd_function_cache_flag.py
- test_build_cleanup.py
- test_cache_invariant.py
- test_cache_topology_isolation.py
- test_capture_scalar.py
- test_compile_artifacts.py
- test_conv_channels_last_switch.py
- test_cpu_offload.py
- test_cuda_graph.py
- test_fsdp_overlap_bucket.py
- test_fsdp_overlap_e2e.py
- test_fsdp_overlap_lowering.py
- test_fsdp_overlap_reorder.py
- test_magi_inductor_pass.py
- test_matmul_epilogue_fusion.py
- test_nd_tiling_workaround.py
- test_piecewise_deferred_assert_scope.py
- test_profiling_estimator.py
- test_profiling_registry.py
- test_python_scalar_constant_folding.py
- test_restart_analysis_cache.py
- test_stride_mismatch.py
- test_symbolic_unification.py
- test_torch_op_determinism_matrix.py
- test_transformer_cache_reuse.py
- test_unbacked_symbol_guard.py
- __init__.py
- helpers.py
- test_comparison.py
- test_containers.py
- test_control_flow.py
- test_function_call.py
- test_instruction_api.py
- test_misc.py
- test_operators.py
- test_store_delete.py
- __init__.py
- conftest.py
- helpers.py
- test_diffusers.py
- test_diffusion_blocks.py
- test_forward_replacement.py
- test_graph_break.py
- test_pytorch_modules.py
- test_timm.py
- test_transformers.py
- __init__.py
- test_postprocess.py
- test_source_emitter.py
- __init__.py
- test_example.py
- test_introspect.py
- test_magi_backend.py
- test_session.py
- __init__.py
- test_mlp_infer.py
- test_mlp_training.py
- test_rms_norm_infer.py
- __init__.py
- conftest.py
- test_conv_channels_last_perf.py
- test_mlp_perf.py
- test_nd_tiling_perf_workaround.py
- test_norm_residual_fusion_perf.py
- test_pointwise_fusion_perf.py
- utils.py
- test_inductor_cache_reuse.py
- test_symbolic_dim_ability.py
- __init__.py
- conftest.py
- model_definition.py
- utils.py
- .dockerignore
- .gitignore
- .pre-commit-config.yaml
- Dockerfile
- LICENSE
- Makefile
- pyproject.toml
- README.md
- requirements-test.txt
- requirements.txt
// repository documentation
Was this content helpful?
(0 ratings)
