Skip to content

Commit

Permalink
chore: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
peri044 committed May 24, 2024
2 parents a6377be + 779d8d6 commit 8ec9fba
Show file tree
Hide file tree
Showing 136 changed files with 441 additions and 278 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH
pushd .
cd tests/modules
${CONDA_RUN} python -m pip install --pre -r ../py/requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../py/requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python hub.py
popd
pushd .
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/dynamo
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_converters_test_results.xml -n 10 conversion/
popd
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/dynamo
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_fe_test_results.xml --ir dynamo models/test_models_export.py
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dyn_models_export.xml --ir dynamo models/test_dyn_models.py
popd
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/dynamo
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/export_serde_test_results.xml --ir dynamo models/test_export_serde.py
popd
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/dynamo
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest -n 10 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_be_test_results.xml backend/
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_comple_be_e2e_test_results.xml --ir torch_compile models/test_models.py
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_dyn_models_export.xml --ir torch_compile models/test_dyn_models.py
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/dynamo
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_runtime_test_results.xml runtime/
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_partitioning_test_results.xml partitioning/
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_lowering_test_results.xml lowering/
Expand Down Expand Up @@ -257,6 +257,6 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/core
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_core_test_results.xml .
popd
8 changes: 4 additions & 4 deletions .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/dynamo
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_converters_test_results.xml -n 10 conversion/
popd
Expand All @@ -98,7 +98,7 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/dynamo
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dynamo_fe_test_results.xml --ir dynamo models/test_models_export.py
${CONDA_RUN} python -m pytest --junitxml=${RUNNER_TEST_RESULTS_DIR}/dyn_models_export.xml --ir dynamo models/test_dyn_models.py
popd
Expand All @@ -125,7 +125,7 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/dynamo
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest -n 10 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_compile_be_test_results.xml backend/
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/torch_comple_be_e2e_test_results.xml --ir torch_compile models/test_models.py
popd
Expand All @@ -152,7 +152,7 @@ jobs:
export USE_HOST_DEPS=1
pushd .
cd tests/py/dynamo
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt
${CONDA_RUN} python -m pip install --pre -r ../requirements.txt --use-deprecated=legacy-resolver
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_runtime_test_results.xml runtime/
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_partitioning_test_results.xml partitioning/
${CONDA_RUN} python -m pytest -n 4 --junitxml=${RUNNER_TEST_RESULTS_DIR}/tests_py_dynamo_core_lowering_test_results.xml lowering/
Expand Down
4 changes: 2 additions & 2 deletions docs/_cpp_api/classtorch__tensorrt_1_1DataType.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Class DataType &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Class DataType &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Class Device::DeviceType &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Class Device::DeviceType &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_cpp_api/classtorch__tensorrt_1_1TensorFormat.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Class TensorFormat &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Class TensorFormat &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Template Class Int8CacheCalibrator &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Template Class Int8CacheCalibrator &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Template Class Int8Calibrator &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Template Class Int8Calibrator &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Define STR &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Define STR &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Define TORCH_TENSORRT_PATCH_VERSION &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Define TORCH_TENSORRT_PATCH_VERSION &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Define TORCH_TENSORRT_MAJOR_VERSION &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Define TORCH_TENSORRT_MAJOR_VERSION &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Define TORCH_TENSORRT_MINOR_VERSION &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Define TORCH_TENSORRT_MINOR_VERSION &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Define TORCHTRT_API &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Define TORCHTRT_API &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Define XSTR &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Define XSTR &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Define TORCHTRT_HIDDEN &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Define TORCHTRT_HIDDEN &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Define TORCH_TENSORRT_VERSION &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Define TORCH_TENSORRT_VERSION &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -275,7 +275,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_cpp_api/dir_cpp.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Directory cpp &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Directory cpp &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -273,7 +273,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_cpp_api/dir_cpp_include.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Directory include &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Directory include &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -273,7 +273,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
4 changes: 2 additions & 2 deletions docs/_cpp_api/dir_cpp_include_torch_tensorrt.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Directory torch_tensorrt &mdash; Torch-TensorRT v2.4.0.dev0+7e08872 documentation</title>
<title>Directory torch_tensorrt &mdash; Torch-TensorRT v2.4.0.dev0+92575a0 documentation</title>



Expand Down Expand Up @@ -273,7 +273,7 @@


<div class="version">
v2.4.0.dev0+7e08872
v2.4.0.dev0+92575a0
</div>


Expand Down
Loading

0 comments on commit 8ec9fba

Please sign in to comment.