You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN /bin/echo -e "set backspace=indent,eol,start\nset nocompatible\nset ts=4" > /etc/vim/vimrc.tiny
17
17
18
18
ADD ./engine /antares/engine
19
-
RUN NO_PYTHON=1 /antares/engine/install_antares_host.sh && rm -rf /var/lib/apt/lists/* ~/.cache
20
-
RUN bash -c 'rm -rf ~/.local/antares/3rdparty/tvm/build/{CMake*,Makefile,cmake_install.cmake}'
21
-
RUN bash -c 'rm -rf ~/.local/antares/3rdparty/tvm/{src,include,golang,tests,3rdparty,device-stub,apps,conda,docker,docs,gallery,jvm,nnvm,rust,vta,web,cmake,.??*}'
22
-
RUN echo '' > ~/.local/antares/3rdparty/tvm/python/tvm/relay/__init__.py
23
19
24
-
ENV ANTARES_VERSION 0.3.23.2
20
+
ENV ANTARES_VERSION 0.9.0
25
21
26
-
RUN cd ~ && git clone https://github.com/microsoft/antares --branch latest --single-branch --depth 1 antares_core && mv ~/.local/antares/3rdparty antares_core
22
+
RUN cd ~ && git clone https://github.com/microsoft/antares --branch latest --single-branch --depth 1 antares_core
23
+
RUN cd ~ && curl -LO https://github.com/microsoft/antares/releases/download/v0.3.20/3rdparty.tar.gz && mkdir antares_core/3rdparty && tar xzvf 3rdparty.tar.gz -C antares_core/3rdparty >/dev/null 2>&1
27
24
RUN cd ~ && sed -i "s/@VERSION@/${ANTARES_VERSION}/g" /antares/engine/dist-info/METADATA && cp -r /antares/engine/dist-info ~/antares-${ANTARES_VERSION}.dist-info
28
-
RUN cd ~ && touch antares_core/__init__.py
25
+
RUN cd ~ && touch antares_core/__init__.py && mv /antares/engine/torch_codegen antares_core/antares 2>/dev/null 2>&1 || true
29
26
RUN cd ~ && rm -rf antares_core/.??* && zip -r /antares-${ANTARES_VERSION}-py3-none-manylinux1_x86_64.whl antares* >/dev/null
0 commit comments