Files
triton/master/.doctrees/getting-started/installation.doctree

20 lines
5.8 KiB
Plaintext
Raw Normal View History

2022-06-05 21:05:02 +00:00
<EFBFBD><05><00>sphinx.addnodes<65><73>document<6E><74><EFBFBD>)<29><>}<7D>(<28> rawsource<63><65><00><>children<65>]<5D><>docutils.nodes<65><73>section<6F><6E><EFBFBD>)<29><>}<7D>(hhh]<5D>(h <09>title<6C><65><EFBFBD>)<29><>}<7D>(h<05> Installation<6F>h]<5D>h <09>Text<78><74><EFBFBD><EFBFBD> Installation<6F><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(hh<13>parent<6E>hhh<03>source<63>N<EFBFBD>line<6E>Nuba<62>
2022-08-16 01:02:32 +00:00
attributes<EFBFBD>}<7D>(<28>ids<64>]<5D><>classes<65>]<5D><>names<65>]<5D><>dupnames<65>]<5D><>backrefs<66>]<5D>u<EFBFBD>tagname<6D>hhh hhh<1C>_/tmp/tmpt9a5fncq/3e2953f3570acc807f975eee58f1565483841b72/docs/getting-started/installation.rst<73>hKubh )<29><>}<7D>(hhh]<5D>(h)<29><>}<7D>(h<05>Binary Distributions<6E>h]<5D>h<16>Binary Distributions<6E><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(hh1hh/hhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*hhh,hhhh+hKubh <09> paragraph<70><68><EFBFBD>)<29><>}<7D>(h<05>=You can install the latest stable release of Triton from pip:<3A>h]<5D>h<16>=You can install the latest stable release of Triton from pip:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(hhAhh?hhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*h=hh+hK hh,hhubh <09> literal_block<63><6B><EFBFBD>)<29><>}<7D>(h<05>pip install triton<6F>h]<5D>h<16>pip install triton<6F><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(hhhhOubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D><> xml:space<63><65>preserve<76><65>force<63><65><EFBFBD>language<67><65>bash<73><68>highlight_args<67>}<7D>uh*hMhh+hK hh,hhubh>)<29><>}<7D>(h<05>ABinary wheels are available for CPython 3.6-3.9 and PyPy 3.6-3.7.<2E>h]<5D>h<16>ABinary wheels are available for CPython 3.6-3.9 and PyPy 3.6-3.7.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(hhfhhdhhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*h=hh+hKhh,hhubh>)<29><>}<7D>(h<05>And the latest nightly release:<3A>h]<5D>h<16>And the latest nightly release:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(hhthhrhhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*h=hh+hKhh,hhubhN)<29><>}<7D>(h<05>pip install -U --pre triton<6F>h]<5D>h<16>pip install -U --pre triton<6F><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(hhhh<>ubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>h]h^h_<68>h`<60>bash<73>hb}<7D>uh*hMhh+hKhh,hhubeh}<7D>(h ]<5D><>binary-distributions<6E>ah"]<5D>h$]<5D><>binary distributions<6E>ah&]<5D>h(]<5D>uh*h
2022-06-05 21:05:02 +00:00
hh hhhh+hKubh )<29><>}<7D>(hhh]<5D>(h)<29><>}<7D>(h<05> From Source<63>h]<5D>h<16> From Source<63><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(hh<>hh<>hhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*hhh<>hhhh+hKubh )<29><>}<7D>(hhh]<5D>(h)<29><>}<7D>(h<05>Python Package<67>h]<5D>h<16>Python Package<67><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(hh<>hh<>hhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*hhh<>hhhh+hKubh>)<29><>}<7D>(h<05>QYou can install the Python package from source by running the following commands:<3A>h]<5D>h<16>QYou can install the Python package from source by running the following commands:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(hh<>hh<>hhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*h=hh+hK hh<>hhubhN)<29><>}<7D>(h<05>}git clone https://github.com/openai/triton.git;
cd triton/python;
pip install cmake; # build time dependency
pip install -e .<2E>h]<5D>h<16>}git clone https://github.com/openai/triton.git;
cd triton/python;
pip install cmake; # build time dependency
pip install -e .<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(hhhh<>ubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>h]h^h_<68>h`<60>bash<73>hb}<7D>uh*hMhh+hK"hh<>hhubh>)<29><>}<7D>(h<05><>Note that, if llvm-11 is not present on your system, the setup.py script will download the official LLVM11 static libraries link against that.<2E>h]<5D>h<16><>Note that, if llvm-11 is not present on your system, the setup.py script will download the official LLVM11 static libraries link against that.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(hh<>hh<>hhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*h=hh+hK)hh<>hhubh>)<29><>}<7D>(h<05>>You can then test your installation by running the unit tests:<3A>h]<5D>h<16>>You can then test your installation by running the unit tests:<3A><><EFBFBD><EFBFBD><EFBFBD>}<7D>(hh<>hh<>hhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*h=hh+hK+hh<>hhubhN)<29><>}<7D>(h<05>/pip install -e '.[tests]'
pytest -vs test/unit/<2F>h]<5D>h<16>/pip install -e '.[tests]'
pytest -vs test/unit/<2F><><EFBFBD><EFBFBD><EFBFBD>}<7D>(hhhh<>ubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>h]h^h_<68>h`<60>bash<73>hb}<7D>uh*hMhh+hK-hh<>hhubh>)<29><>}<7D>(h<05>and the benchmarks<6B>h]<5D>h<16>and the benchmarks<6B><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(hjhjhhhNhNubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>uh*h=hh+hK2hh<>hhubhN)<29><>}<7D>(h<05>Ccd bench/
python -m run --with-plots --result-dir /tmp/triton-bench<63>h]<5D>h<16>Ccd bench/
python -m run --with-plots --result-dir /tmp/triton-bench<63><68><EFBFBD><EFBFBD><EFBFBD>}<7D>(hhhjubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D>h]h^h_<68>h`<60>bash<73>hb}<7D>uh*hMhh+hK4hh<>hhubeh}<7D>(h ]<5D><>python-package<67>ah"]<5D>h$]<5D><>python package<67>ah&]<5D>h(]<5D>uh*h
hh<>hhhh+hKubeh}<7D>(h ]<5D><> from-source<63>ah"]<5D>h$]<5D><> from source<63>ah&]<5D>h(]<5D>uh*h
hh hhhh+hKubeh}<7D>(h ]<5D><> installation<6F>ah"]<5D>h$]<5D><> installation<6F>ah&]<5D>h(]<5D>uh*h
hhhhhh+hKubah}<7D>(h ]<5D>h"]<5D>h$]<5D>h&]<5D>h(]<5D><>source<63>h+uh*h<01>current_source<63>N<EFBFBD> current_line<6E>N<EFBFBD>settings<67><73>docutils.frontend<6E><64>Values<65><73><EFBFBD>)<29><>}<7D>(hN<> generator<6F>N<EFBFBD> datestamp<6D>N<EFBFBD> source_link<6E>N<EFBFBD>
source_url<EFBFBD>N<EFBFBD> toc_backlinks<6B><73>entry<72><79>footnote_backlinks<6B>K<01> sectnum_xform<72>K<01>strip_comments<74>N<EFBFBD>strip_elements_with_classes<65>N<EFBFBD> strip_classes<65>N<EFBFBD> report_level<65>K<02>
halt_level<EFBFBD>K<05>exit_status_level<65>K<05>debug<75>N<EFBFBD>warning_stream<61>N<EFBFBD> traceback<63><6B><EFBFBD>input_encoding<6E><67> utf-8-sig<69><67>input_encoding_error_handler<65><72>strict<63><74>output_encoding<6E><67>utf-8<><38>output_encoding_error_handler<65>j]<00>error_encoding<6E><67>utf-8<><38>error_encoding_error_handler<65><72>backslashreplace<63><65> language_code<64><65>en<65><6E>record_dependencies<65>N<EFBFBD>config<69>N<EFBFBD> id_prefix<69>h<06>auto_id_prefix<69><78>id<69><64> dump_settings<67>N<EFBFBD>dump_internals<6C>N<EFBFBD>dump_transforms<6D>N<EFBFBD>dump_pseudo_xml<6D>N<EFBFBD>expose_internals<6C>N<EFBFBD>strict_visitor<6F>N<EFBFBD>_disable_config<69>N<EFBFBD>_source<63>h+<2B> _destination<6F>N<EFBFBD> _config_files<65>]<5D><>pep_references<65>N<EFBFBD> pep_base_url<72><6C> https://www.python.org/dev/peps/<2F><>pep_file_url_template<74><65>pep-%04d<34><64>rfc_references<65>N<EFBFBD> rfc_base_url<72><6C>https://tools.ietf.org/html/<2F><> tab_width<74>K<08>trim_footnote_reference_space<63><65><EFBFBD>file_insertion_enabled<65><64><EFBFBD> raw_enabled<65>K<01>syntax_highlight<68><74>long<6E><67> smart_quotes<65><73><EFBFBD>smartquotes_locales<65>]<5D><>character_level_inline_markup<75><70><EFBFBD>doctitle_xform<72><6D><EFBFBD> docinfo_xform<72>K<01>sectsubtitle_xform<72><6D><EFBFBD>embed_stylesheet<65><74><EFBFBD>cloak_email_addresses<65><73><EFBFBD>env<6E>Nub<75>reporter<65>N<EFBFBD>indirect_targets<74>]<5D><>substitution_defs<66>}<7D><>substitution_names<65>}<7D><>refnames<65>}<7D><>refids<64>}<7D><>nameids<64>}<7D>(j7j4h<>h<EFBFBD>j/j,j'j$u<> nametypes<65>}<7D>(j7Nh<4E>Nj/Nj'Nuh }<7D>(j4h h<>h,j,h<>j$h<>u<EFBFBD> footnote_refs<66>}<7D><> citation_refs<66>}<7D><> autofootnotes<65>]<5D><>autofootnote_refs<66>]<5D><>symbol_footnotes<65>]<5D><>symbol_footnote_refs<66>]<5D><> footnotes<65>]<5D><> citations<6E>]<5D><>autofootnote_start<72>K<01>symbol_footnote_start<72>K<00>
id_counter<EFBFBD><EFBFBD> collections<6E><73>Counter<65><72><EFBFBD>}<7D><><EFBFBD>R<EFBFBD><52>parse_messages<65>]<5D><>transform_messages<65>]<5D><> transformer<65>N<EFBFBD>
decoration<EFBFBD>Nhhub.