2026-08-21T08:22:19,015 Created temporary directory: /tmp/pip-ephem-wheel-cache-o4g7wa6n 2026-08-21T08:22:19,017 Created temporary directory: /tmp/pip-build-tracker-7q1is9xl 2026-08-21T08:22:19,018 Initialized build tracking at /tmp/pip-build-tracker-7q1is9xl 2026-08-21T08:22:19,018 Created build tracker: /tmp/pip-build-tracker-7q1is9xl 2026-08-21T08:22:19,019 Entered build tracker: /tmp/pip-build-tracker-7q1is9xl 2026-08-21T08:22:19,019 Created temporary directory: /tmp/pip-wheel-3nlzvdpq 2026-08-21T08:22:19,022 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2026-08-21T08:22:19,025 Created temporary directory: /tmp/pip-ephem-wheel-cache-fpz_b5ic 2026-08-21T08:22:19,047 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2026-08-21T08:22:19,050 2 location(s) to search for versions of litetorch: 2026-08-21T08:22:19,050 * https://pypi.org/simple/litetorch/ 2026-08-21T08:22:19,050 * https://www.piwheels.org/simple/litetorch/ 2026-08-21T08:22:19,051 Fetching project page and analyzing links: https://pypi.org/simple/litetorch/ 2026-08-21T08:22:19,052 Getting page https://pypi.org/simple/litetorch/ 2026-08-21T08:22:19,053 Found index url https://pypi.org/simple 2026-08-21T08:22:19,209 Fetched page https://pypi.org/simple/litetorch/ as application/vnd.pypi.simple.v1+json 2026-08-21T08:22:19,213 Found link https://files.pythonhosted.org/packages/53/c9/f96e24b2713a766ca1bdb028df465f61fcfa4651b3d98730dd49c771a371/litetorch-0.1.0.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.0 2026-08-21T08:22:19,214 Found link https://files.pythonhosted.org/packages/cc/9e/3101fe0c7efc4c8100ebc7c4b27ec9327d950b4396e0739205d0d0f8ba71/litetorch-0.1.1.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.1 2026-08-21T08:22:19,215 Found link https://files.pythonhosted.org/packages/dd/65/326fc65375ca82f369d3a4e07fc30e79b2efb143f9b53ef8429c47440b7c/litetorch-0.1.2.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.2 2026-08-21T08:22:19,216 Found link https://files.pythonhosted.org/packages/d4/c7/ad9111d0680a6b70fffe72072e2b1d413005827fb0cd90cc3f82a1a16693/litetorch-0.1.3.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.3 2026-08-21T08:22:19,217 Found link https://files.pythonhosted.org/packages/dc/58/260199a1c756c3eace535a4f7334682b83c404261d71a08d360572347022/litetorch-0.1.4.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.4 2026-08-21T08:22:19,218 Found link https://files.pythonhosted.org/packages/06/41/c1d1f486f7c090923f61074fdfdba48cd02b10e04bf3cbf60cdd729e0d77/litetorch-0.1.5.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.5 2026-08-21T08:22:19,220 Found link https://files.pythonhosted.org/packages/a7/2f/fcd4a22d02a4d15d60b32490db1b9b63dc1a1762d36331b80874215650e2/litetorch-0.1.6.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.6 2026-08-21T08:22:19,220 Found link https://files.pythonhosted.org/packages/4b/87/fbdb928fbf7e06b00d732743d1692b9c6c181bde95e29e02ef6c2be51168/litetorch-0.1.7.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.7 2026-08-21T08:22:19,221 Found link https://files.pythonhosted.org/packages/f8/81/ddfd1a8ea472c3c90fb7e87f8a1967cecdcbd81df90f870440f6e34c3dc4/litetorch-0.1.8.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.8 2026-08-21T08:22:19,222 Found link https://files.pythonhosted.org/packages/2b/df/96484177ee53c0c3ff19aad960165d555f201d50dad650ea76d2ddfea09e/litetorch-0.1.9.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.1.9 2026-08-21T08:22:19,224 Found link https://files.pythonhosted.org/packages/42/b5/27d8717d1fecb9ebeab314652ef21542814e99859669b9d94591b9c2dffa/litetorch-0.2.0.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.2.0 2026-08-21T08:22:19,225 Found link https://files.pythonhosted.org/packages/17/fc/9c8af266c477a79669f46c0136abcfeac8945ab4c9d57edf62ce47615cc9/litetorch-0.2.1.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.2.1 2026-08-21T08:22:19,226 Found link https://files.pythonhosted.org/packages/cb/fc/628e9c022c3211c5f70cb5c4ff611e0ce12a6fa0d0922c208631b2550a9e/litetorch-0.2.2.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.2.2 2026-08-21T08:22:19,227 Found link https://files.pythonhosted.org/packages/61/7c/55fb89963f9c6282474f604df5a036d27d7739409870a92d87159beca09f/litetorch-0.2.3.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.2.3 2026-08-21T08:22:19,227 Found link https://files.pythonhosted.org/packages/7a/8c/298843029565c31cf9a9c5d1abbfa5198d8fdf0750a8cd40289a085e10af/litetorch-0.2.4.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.2.4 2026-08-21T08:22:19,228 Found link https://files.pythonhosted.org/packages/33/cd/f75fb7d64c6c59808c1d9801e88a199acfacf7106341eddd41ba10b8f68a/litetorch-0.2.5.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.2.5 2026-08-21T08:22:19,229 Found link https://files.pythonhosted.org/packages/c6/d9/1bd63b2a6fc88792b41f28bae91a98db863c7ec999f8e1b867cdfe257690/litetorch-0.2.6.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.2.6 2026-08-21T08:22:19,230 Found link https://files.pythonhosted.org/packages/d4/85/c7a3252aa363a237bc62323d6fa1cbf8242149228efe96eb59990df9670d/litetorch-0.2.7.tar.gz (from https://pypi.org/simple/litetorch/) (requires-python:>=3.8), version: 0.2.7 2026-08-21T08:22:19,231 Fetching project page and analyzing links: https://www.piwheels.org/simple/litetorch/ 2026-08-21T08:22:19,232 Getting page https://www.piwheels.org/simple/litetorch/ 2026-08-21T08:22:19,233 Found index url https://www.piwheels.org/simple 2026-08-21T08:22:19,424 Fetched page https://www.piwheels.org/simple/litetorch/ as text/html 2026-08-21T08:22:19,425 Skipping link: not a file: https://www.piwheels.org/simple/litetorch/ 2026-08-21T08:22:19,426 Skipping link: not a file: https://pypi.org/simple/litetorch/ 2026-08-21T08:22:19,447 Given no hashes to check 1 links for project 'litetorch': discarding no candidates 2026-08-21T08:22:19,465 Collecting litetorch==0.1.2 2026-08-21T08:22:19,467 Created temporary directory: /tmp/pip-unpack-x8_l2r_b 2026-08-21T08:22:19,622 Downloading litetorch-0.1.2.tar.gz (206 kB) 2026-08-21T08:22:20,050 Added litetorch==0.1.2 from https://files.pythonhosted.org/packages/dd/65/326fc65375ca82f369d3a4e07fc30e79b2efb143f9b53ef8429c47440b7c/litetorch-0.1.2.tar.gz to build tracker '/tmp/pip-build-tracker-7q1is9xl' 2026-08-21T08:22:20,055 Created temporary directory: /tmp/pip-build-env-k9s8k55i 2026-08-21T08:22:20,059 Installing build dependencies: started 2026-08-21T08:22:20,060 Running command pip subprocess to install build dependencies 2026-08-21T08:22:21,189 Using pip 23.0.1 from /usr/lib/python3/dist-packages/pip (python 3.11) 2026-08-21T08:22:21,592 DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453 2026-08-21T08:22:21,615 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2026-08-21T08:22:23,464 Collecting setuptools>=42 2026-08-21T08:22:23,465 Obtaining dependency information for setuptools>=42 from https://www.piwheels.org/simple/setuptools/setuptools-84.0.0-py3-none-any.whl.metadata 2026-08-21T08:22:23,480 Using cached https://www.piwheels.org/simple/setuptools/setuptools-84.0.0-py3-none-any.whl.metadata (6.6 kB) 2026-08-21T08:22:23,720 Collecting wheel 2026-08-21T08:22:23,721 Obtaining dependency information for wheel from https://www.piwheels.org/simple/wheel/wheel-0.48.0-py3-none-any.whl.metadata 2026-08-21T08:22:23,734 Using cached https://www.piwheels.org/simple/wheel/wheel-0.48.0-py3-none-any.whl.metadata (2.3 kB) 2026-08-21T08:22:23,956 Collecting pybind11>=2.6.0 2026-08-21T08:22:23,957 Obtaining dependency information for pybind11>=2.6.0 from https://www.piwheels.org/simple/pybind11/pybind11-3.1.0-py3-none-any.whl.metadata 2026-08-21T08:22:23,971 Using cached https://www.piwheels.org/simple/pybind11/pybind11-3.1.0-py3-none-any.whl.metadata (10 kB) 2026-08-21T08:22:24,157 Collecting packaging>=24.0 2026-08-21T08:22:24,158 Obtaining dependency information for packaging>=24.0 from https://www.piwheels.org/simple/packaging/packaging-26.3-py3-none-any.whl.metadata 2026-08-21T08:22:24,173 Using cached https://www.piwheels.org/simple/packaging/packaging-26.3-py3-none-any.whl.metadata (3.6 kB) 2026-08-21T08:22:24,375 Using cached https://www.piwheels.org/simple/wheel/wheel-0.48.0-py3-none-any.whl (33 kB) 2026-08-21T08:22:24,409 Using cached https://www.piwheels.org/simple/pybind11/pybind11-3.1.0-py3-none-any.whl (319 kB) 2026-08-21T08:22:24,438 Using cached https://www.piwheels.org/simple/packaging/packaging-26.3-py3-none-any.whl (129 kB) 2026-08-21T08:22:24,512 Using cached https://www.piwheels.org/simple/setuptools/setuptools-84.0.0-py3-none-any.whl (818 kB) 2026-08-21T08:22:24,540 Using cached https://www.piwheels.org/simple/wheel/wheel-0.48.0-py3-none-any.whl (33 kB) 2026-08-21T08:22:24,580 Using cached https://www.piwheels.org/simple/pybind11/pybind11-3.1.0-py3-none-any.whl (319 kB) 2026-08-21T08:22:24,617 Using cached https://www.piwheels.org/simple/packaging/packaging-26.3-py3-none-any.whl (129 kB) 2026-08-21T08:22:24,696 Using cached https://www.piwheels.org/simple/setuptools/setuptools-84.0.0-py3-none-any.whl (818 kB) 2026-08-21T08:22:27,481 Installing collected packages: setuptools, pybind11, packaging, wheel 2026-08-21T08:22:29,898 Creating /tmp/pip-build-env-k9s8k55i/overlay/local/bin 2026-08-21T08:22:29,900 changing mode of /tmp/pip-build-env-k9s8k55i/overlay/local/bin/pybind11-config to 755 2026-08-21T08:22:30,356 changing mode of /tmp/pip-build-env-k9s8k55i/overlay/local/bin/wheel to 755 2026-08-21T08:22:30,385 Successfully installed packaging-26.3 pybind11-3.1.0 setuptools-84.0.0 wheel-0.48.0 2026-08-21T08:22:30,681 Installing build dependencies: finished with status 'done' 2026-08-21T08:22:30,687 Getting requirements to build wheel: started 2026-08-21T08:22:30,688 Running command Getting requirements to build wheel 2026-08-21T08:22:31,313 running egg_info 2026-08-21T08:22:31,320 writing litetorch.egg-info/PKG-INFO 2026-08-21T08:22:31,323 writing dependency_links to litetorch.egg-info/dependency_links.txt 2026-08-21T08:22:31,325 writing entry points to litetorch.egg-info/entry_points.txt 2026-08-21T08:22:31,327 writing top-level names to litetorch.egg-info/top_level.txt 2026-08-21T08:22:31,344 reading manifest file 'litetorch.egg-info/SOURCES.txt' 2026-08-21T08:22:31,362 reading manifest template 'MANIFEST.in' 2026-08-21T08:22:31,422 adding license file 'LICENSE' 2026-08-21T08:22:31,434 writing manifest file 'litetorch.egg-info/SOURCES.txt' 2026-08-21T08:22:31,527 Getting requirements to build wheel: finished with status 'done' 2026-08-21T08:22:31,531 Created temporary directory: /tmp/pip-modern-metadata-brszkf8s 2026-08-21T08:22:31,533 Preparing metadata (pyproject.toml): started 2026-08-21T08:22:31,534 Running command Preparing metadata (pyproject.toml) 2026-08-21T08:22:32,131 running dist_info 2026-08-21T08:22:32,142 creating /tmp/pip-modern-metadata-brszkf8s/litetorch.egg-info 2026-08-21T08:22:32,143 writing /tmp/pip-modern-metadata-brszkf8s/litetorch.egg-info/PKG-INFO 2026-08-21T08:22:32,147 writing dependency_links to /tmp/pip-modern-metadata-brszkf8s/litetorch.egg-info/dependency_links.txt 2026-08-21T08:22:32,149 writing entry points to /tmp/pip-modern-metadata-brszkf8s/litetorch.egg-info/entry_points.txt 2026-08-21T08:22:32,150 writing top-level names to /tmp/pip-modern-metadata-brszkf8s/litetorch.egg-info/top_level.txt 2026-08-21T08:22:32,152 writing manifest file '/tmp/pip-modern-metadata-brszkf8s/litetorch.egg-info/SOURCES.txt' 2026-08-21T08:22:32,166 reading manifest file '/tmp/pip-modern-metadata-brszkf8s/litetorch.egg-info/SOURCES.txt' 2026-08-21T08:22:32,168 reading manifest template 'MANIFEST.in' 2026-08-21T08:22:32,231 adding license file 'LICENSE' 2026-08-21T08:22:32,241 writing manifest file '/tmp/pip-modern-metadata-brszkf8s/litetorch.egg-info/SOURCES.txt' 2026-08-21T08:22:32,242 creating '/tmp/pip-modern-metadata-brszkf8s/litetorch-0.1.2.dist-info' 2026-08-21T08:22:32,373 Preparing metadata (pyproject.toml): finished with status 'done' 2026-08-21T08:22:32,378 Source in /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12 has version 0.1.2, which satisfies requirement litetorch==0.1.2 from https://files.pythonhosted.org/packages/dd/65/326fc65375ca82f369d3a4e07fc30e79b2efb143f9b53ef8429c47440b7c/litetorch-0.1.2.tar.gz 2026-08-21T08:22:32,379 Removed litetorch==0.1.2 from https://files.pythonhosted.org/packages/dd/65/326fc65375ca82f369d3a4e07fc30e79b2efb143f9b53ef8429c47440b7c/litetorch-0.1.2.tar.gz from build tracker '/tmp/pip-build-tracker-7q1is9xl' 2026-08-21T08:22:32,385 Created temporary directory: /tmp/pip-unpack-td14po1t 2026-08-21T08:22:32,386 Building wheels for collected packages: litetorch 2026-08-21T08:22:32,390 Created temporary directory: /tmp/pip-wheel-r53u9gl0 2026-08-21T08:22:32,391 Destination directory: /tmp/pip-wheel-r53u9gl0 2026-08-21T08:22:32,393 Building wheel for litetorch (pyproject.toml): started 2026-08-21T08:22:32,394 Running command Building wheel for litetorch (pyproject.toml) 2026-08-21T08:22:32,969 running bdist_wheel 2026-08-21T08:22:32,986 running build 2026-08-21T08:22:32,986 running build_ext 2026-08-21T08:22:33,028 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/sgd.cpp -o build/objs/optim/sgd.o 2026-08-21T08:22:33,031 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/zero3_optimizer.cpp -o build/objs/optim/zero3_optimizer.o 2026-08-21T08:22:33,031 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/cosine_annealing.cpp -o build/objs/optim/cosine_annealing.o 2026-08-21T08:22:33,033 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/adam.cpp -o build/objs/optim/adam.o 2026-08-21T08:22:36,647 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/adamw_fp8.cpp -o build/objs/optim/adamw_fp8.o 2026-08-21T08:22:40,653 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/grad_scaler.cpp -o build/objs/optim/grad_scaler.o 2026-08-21T08:22:42,289 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/optimizer.cpp -o build/objs/optim/optimizer.o 2026-08-21T08:22:43,022 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/adamw_8bit.cpp -o build/objs/optim/adamw_8bit.o 2026-08-21T08:22:45,972 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/adamw.cpp -o build/objs/optim/adamw.o 2026-08-21T08:22:46,223 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/steplr.cpp -o build/objs/optim/steplr.o 2026-08-21T08:22:47,274 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim/rmsprop.cpp -o build/objs/optim/rmsprop.o 2026-08-21T08:22:49,790 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/backend/backend.cpp -o build/objs/backend/backend.o 2026-08-21T08:22:52,355 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/autograd.cpp -o build/objs/autograd.o 2026-08-21T08:22:54,328 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/memory_manager.cpp -o build/objs/memory_manager.o 2026-08-21T08:22:56,408 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/autograd/autograd_engine.cpp -o build/objs/autograd/autograd_engine.o 2026-08-21T08:22:56,639 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/autograd/saved_tensor.cpp -o build/objs/autograd/saved_tensor.o 2026-08-21T08:22:56,709 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/autograd/checkpoint.cpp -o build/objs/autograd/checkpoint.o 2026-08-21T08:22:57,718 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/loss.cpp -o build/objs/nn/loss.o 2026-08-21T08:23:00,391 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/llm_serving.cpp -o build/objs/nn/llm_serving.o 2026-08-21T08:23:02,512 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/moe.cpp -o build/objs/nn/moe.o 2026-08-21T08:23:02,652 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/transformer.cpp -o build/objs/nn/transformer.o 2026-08-21T08:23:05,527 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/qlora.cpp -o build/objs/nn/qlora.o 2026-08-21T08:23:06,859 In file included from /usr/include/c++/12/vector:70, 2026-08-21T08:23:06,860 from include/litetorch/cl_backend.h:5, 2026-08-21T08:23:06,861 from include/litetorch/tensor.h:5, 2026-08-21T08:23:06,862 from include/litetorch/llm_serving.h:4, 2026-08-21T08:23:06,863 from src/nn/llm_serving.cpp:1: 2026-08-21T08:23:06,864 /usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const long long int&}; _Tp = long long int; _Alloc = std::allocator]’: 2026-08-21T08:23:06,865 /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 2026-08-21T08:23:06,866 439 | vector<_Tp, _Alloc>:: 2026-08-21T08:23:06,867 | ^~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:07,536 In file included from /usr/include/c++/12/vector:64: 2026-08-21T08:23:07,537 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:07,538 inlined from ‘std::vector litetorch::nn::SpeculativeEngine::generate(const std::vector&, int, int)’ at src/nn/llm_serving.cpp:75:35: 2026-08-21T08:23:07,539 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:07,540 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:23:07,542 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:23:07,543 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:07,544 inlined from ‘std::vector litetorch::nn::SpeculativeEngine::generate(const std::vector&, int, int)’ at src/nn/llm_serving.cpp:76:34: 2026-08-21T08:23:07,545 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:07,546 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:23:07,547 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:23:07,549 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:07,550 inlined from ‘std::vector litetorch::nn::SpeculativeEngine::generate(const std::vector&, int, int)’ at src/nn/llm_serving.cpp:105:41: 2026-08-21T08:23:07,551 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:07,552 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:23:07,554 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:23:07,555 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:07,556 inlined from ‘std::vector litetorch::nn::SpeculativeEngine::generate(const std::vector&, int, int)’ at src/nn/llm_serving.cpp:115:29: 2026-08-21T08:23:07,558 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:07,559 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:23:07,560 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:23:07,561 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:07,562 inlined from ‘std::vector litetorch::nn::SpeculativeEngine::generate(const std::vector&, int, int)’ at src/nn/llm_serving.cpp:134:25: 2026-08-21T08:23:07,563 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:07,564 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:23:07,565 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:23:09,058 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/parallel_linear.cpp -o build/objs/nn/parallel_linear.o 2026-08-21T08:23:10,644 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/attention.cpp -o build/objs/nn/attention.o 2026-08-21T08:23:13,665 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/pooling.cpp -o build/objs/nn/pooling.o 2026-08-21T08:23:16,094 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/container.cpp -o build/objs/nn/container.o 2026-08-21T08:23:18,311 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/dropout.cpp -o build/objs/nn/dropout.o 2026-08-21T08:23:18,385 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/normalization.cpp -o build/objs/nn/normalization.o 2026-08-21T08:23:18,687 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/activation.cpp -o build/objs/nn/activation.o 2026-08-21T08:23:22,410 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/embedding.cpp -o build/objs/nn/embedding.o 2026-08-21T08:23:23,597 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/linear.cpp -o build/objs/nn/linear.o 2026-08-21T08:23:23,889 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn/convolution.cpp -o build/objs/nn/convolution.o 2026-08-21T08:23:24,950 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/data.cpp -o build/objs/data.o 2026-08-21T08:23:28,597 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops.cpp -o build/objs/ops.o 2026-08-21T08:23:30,595 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/optim.cpp -o build/objs/optim.o 2026-08-21T08:23:31,050 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/cl_backend/cl_functions.cpp -o build/objs/cl_backend/cl_functions.o 2026-08-21T08:23:32,391 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/cl_backend/command_graph.cpp -o build/objs/cl_backend/command_graph.o 2026-08-21T08:23:33,423 In file included from /usr/include/c++/12/vector:70, 2026-08-21T08:23:33,424 from include/litetorch/cl_backend.h:5, 2026-08-21T08:23:33,425 from include/litetorch/tensor.h:5, 2026-08-21T08:23:33,426 from include/litetorch/nn.h:4, 2026-08-21T08:23:33,427 from src/nn/embedding.cpp:1: 2026-08-21T08:23:33,428 /usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’: 2026-08-21T08:23:33,429 /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 2026-08-21T08:23:33,430 439 | vector<_Tp, _Alloc>:: 2026-08-21T08:23:33,431 | ^~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:34,291 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/cl_backend/cl_backend.cpp -o build/objs/cl_backend/cl_backend.o 2026-08-21T08:23:34,495 In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:34,496 inlined from ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator]’ at /usr/include/c++/12/bits/stl_vector.h:1294:21, 2026-08-21T08:23:34,497 inlined from ‘virtual std::shared_ptr litetorch::nn::Embedding::forward(std::shared_ptr)’ at src/nn/embedding.cpp:105:24: 2026-08-21T08:23:34,498 /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:34,499 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); 2026-08-21T08:23:34,500 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:34,506 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/llm/continuous_batching.cpp -o build/objs/llm/continuous_batching.o 2026-08-21T08:23:36,272 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/llm/guided_decoding.cpp -o build/objs/llm/guided_decoding.o 2026-08-21T08:23:36,279 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/llm/medusa.cpp -o build/objs/llm/medusa.o 2026-08-21T08:23:40,293 In file included from /usr/include/c++/12/vector:70, 2026-08-21T08:23:40,294 from include/litetorch/cl_backend.h:5, 2026-08-21T08:23:40,295 from include/litetorch/tensor.h:5, 2026-08-21T08:23:40,296 from include/litetorch/continuous_batching.h:4, 2026-08-21T08:23:40,297 from src/llm/continuous_batching.cpp:1: 2026-08-21T08:23:40,298 /usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’: 2026-08-21T08:23:40,300 /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 2026-08-21T08:23:40,301 439 | vector<_Tp, _Alloc>:: 2026-08-21T08:23:40,302 | ^~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:41,152 In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:41,153 inlined from ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator]’ at /usr/include/c++/12/bits/stl_vector.h:1294:21, 2026-08-21T08:23:41,154 inlined from ‘std::vector > litetorch::nn::ServingScheduler::step(std::shared_ptr)’ at src/llm/continuous_batching.cpp:98:44: 2026-08-21T08:23:41,155 /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:41,156 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); 2026-08-21T08:23:41,157 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:41,158 In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:41,159 inlined from ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator]’ at /usr/include/c++/12/bits/stl_vector.h:1294:21, 2026-08-21T08:23:41,160 inlined from ‘std::vector > litetorch::nn::ServingScheduler::step(std::shared_ptr)’ at src/llm/continuous_batching.cpp:139:48: 2026-08-21T08:23:41,161 /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:41,163 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); 2026-08-21T08:23:41,164 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:42,119 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/tensor.cpp -o build/objs/tensor.o 2026-08-21T08:23:42,306 In file included from /usr/include/c++/12/vector:70, 2026-08-21T08:23:42,307 from include/litetorch/cl_backend.h:5, 2026-08-21T08:23:42,308 from include/litetorch/tensor.h:5, 2026-08-21T08:23:42,309 from include/litetorch/llm_serving.h:4, 2026-08-21T08:23:42,310 from src/llm/medusa.cpp:1: 2026-08-21T08:23:42,310 /usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’: 2026-08-21T08:23:42,311 /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 2026-08-21T08:23:42,312 439 | vector<_Tp, _Alloc>:: 2026-08-21T08:23:42,313 | ^~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:42,751 In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:42,752 inlined from ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator]’ at /usr/include/c++/12/bits/stl_vector.h:1294:21, 2026-08-21T08:23:42,753 inlined from ‘std::vector litetorch::nn::MedusaEngine::generate(const std::vector&, int, int)’ at src/llm/medusa.cpp:67:25: 2026-08-21T08:23:42,754 /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:42,756 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); 2026-08-21T08:23:42,757 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:42,758 In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:42,759 inlined from ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator]’ at /usr/include/c++/12/bits/stl_vector.h:1294:21, 2026-08-21T08:23:42,761 inlined from ‘std::vector litetorch::nn::MedusaEngine::generate(const std::vector&, int, int)’ at src/llm/medusa.cpp:89:34: 2026-08-21T08:23:42,762 /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:42,763 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); 2026-08-21T08:23:42,764 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:42,765 In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:23:42,766 inlined from ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator]’ at /usr/include/c++/12/bits/stl_vector.h:1294:21, 2026-08-21T08:23:42,767 inlined from ‘std::vector litetorch::nn::MedusaEngine::generate(const std::vector&, int, int)’ at src/llm/medusa.cpp:114:33: 2026-08-21T08:23:42,769 /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:23:42,771 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); 2026-08-21T08:23:42,772 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2026-08-21T08:23:43,374 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/distributed/context_parallel.cpp -o build/objs/distributed/context_parallel.o 2026-08-21T08:23:45,803 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/distributed/distributed.cpp -o build/objs/distributed/distributed.o 2026-08-21T08:23:45,944 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/distributed/shm_ipc.cpp -o build/objs/distributed/shm_ipc.o 2026-08-21T08:23:49,503 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/distributed/fsdp_wrapper.cpp -o build/objs/distributed/fsdp_wrapper.o 2026-08-21T08:23:54,015 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/nn.cpp -o build/objs/nn.o 2026-08-21T08:23:58,208 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/serialization.cpp -o build/objs/serialization.o 2026-08-21T08:24:00,680 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/scaled_matmul.cpp -o build/objs/ops/scaled_matmul.o 2026-08-21T08:24:01,005 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/fused_loss.cpp -o build/objs/ops/fused_loss.o 2026-08-21T08:24:01,945 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/loss.cpp -o build/objs/ops/loss.o 2026-08-21T08:24:03,936 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/w8a8_ops.cpp -o build/objs/ops/w8a8_ops.o 2026-08-21T08:24:04,649 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/custom_ops.cpp -o build/objs/ops/custom_ops.o 2026-08-21T08:24:11,363 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/attention.cpp -o build/objs/ops/attention.o 2026-08-21T08:24:11,744 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/kernels.cpp -o build/objs/ops/kernels.o 2026-08-21T08:24:12,720 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/jit.cpp -o build/objs/ops/jit.o 2026-08-21T08:24:15,484 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/cast.cpp -o build/objs/ops/cast.o 2026-08-21T08:24:21,744 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/pooling.cpp -o build/objs/ops/pooling.o 2026-08-21T08:24:21,897 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/moe_ops.cpp -o build/objs/ops/moe_ops.o 2026-08-21T08:24:32,017 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/normalization.cpp -o build/objs/ops/normalization.o 2026-08-21T08:24:32,037 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/elementwise.cpp -o build/objs/ops/elementwise.o 2026-08-21T08:24:32,659 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/activation.cpp -o build/objs/ops/activation.o 2026-08-21T08:24:43,225 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/quantization_ops.cpp -o build/objs/ops/quantization_ops.o 2026-08-21T08:24:51,979 In file included from /usr/include/c++/12/vector:64, 2026-08-21T08:24:51,980 from include/litetorch/cl_backend.h:5, 2026-08-21T08:24:51,981 from include/litetorch/tensor.h:5, 2026-08-21T08:24:51,982 from include/litetorch/ops.h:4, 2026-08-21T08:24:51,983 from src/ops/elementwise.cpp:1: 2026-08-21T08:24:51,985 /usr/include/c++/12/bits/stl_vector.h: In function ‘std::vector<_Tp, _Alloc>::vector(std::initializer_list<_Tp>, const allocator_type&) [with _Tp = long long int; _Alloc = std::allocator]’: 2026-08-21T08:24:51,986 /usr/include/c++/12/bits/stl_vector.h:673:7: note: parameter passing for argument of type ‘std::initializer_list’ changed in GCC 7.1 2026-08-21T08:24:51,987 673 | vector(initializer_list __l, 2026-08-21T08:24:51,988 | ^~~~~~ 2026-08-21T08:24:54,659 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/clip_grad.cpp -o build/objs/ops/clip_grad.o 2026-08-21T08:24:56,449 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/ring_attention.cpp -o build/objs/ops/ring_attention.o 2026-08-21T08:24:57,222 In file included from /usr/include/c++/12/vector:70: 2026-08-21T08:24:57,223 /usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const long long int&}; _Tp = long long int; _Alloc = std::allocator]’: 2026-08-21T08:24:57,224 /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 2026-08-21T08:24:57,225 439 | vector<_Tp, _Alloc>:: 2026-08-21T08:24:57,226 | ^~~~~~~~~~~~~~~~~~~ 2026-08-21T08:24:57,621 /usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’: 2026-08-21T08:24:57,623 /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 2026-08-21T08:24:57,644 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/flash_decoding.cpp -o build/objs/ops/flash_decoding.o 2026-08-21T08:24:59,570 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/checkpoint.cpp -o build/objs/ops/checkpoint.o 2026-08-21T08:24:59,589 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:24:59,590 inlined from ‘std::shared_ptr litetorch::Ops::reduce_broadcast(std::shared_ptr, const std::vector&)’ at src/ops/elementwise.cpp:110:81: 2026-08-21T08:24:59,592 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:24:59,593 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:24:59,594 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:24:59,595 src/ops/elementwise.cpp: In function ‘std::shared_ptr litetorch::Ops::reduce_broadcast(std::shared_ptr, const std::vector&)’: 2026-08-21T08:24:59,596 src/ops/elementwise.cpp:118:71: note: parameter passing for argument of type ‘std::initializer_list’ changed in GCC 7.1 2026-08-21T08:24:59,597 118 | auto summed = Tensor::create({remaining}, grad->device); 2026-08-21T08:24:59,599 | ^ 2026-08-21T08:24:59,600 src/ops/elementwise.cpp:137:81: note: parameter passing for argument of type ‘std::initializer_list’ changed in GCC 7.1 2026-08-21T08:24:59,601 137 | auto summed = Tensor::create({remaining}, Device(DeviceType::CPU, 0)); 2026-08-21T08:24:59,602 | ^ 2026-08-21T08:24:59,604 src/ops/elementwise.cpp:149:75: note: parameter passing for argument of type ‘std::initializer_list’ changed in GCC 7.1 2026-08-21T08:24:59,605 149 | auto gpu_summed = Tensor::create({remaining}, grad->device); 2026-08-21T08:24:59,606 | ^ 2026-08-21T08:25:06,004 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/linear.cpp -o build/objs/ops/linear.o 2026-08-21T08:25:06,499 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/rope.cpp -o build/objs/ops/rope.o 2026-08-21T08:25:07,952 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/ops/convolution.cpp -o build/objs/ops/convolution.o 2026-08-21T08:25:16,875 In file included from /usr/include/c++/12/vector:70, 2026-08-21T08:25:16,876 from include/litetorch/cl_backend.h:5, 2026-08-21T08:25:16,877 from include/litetorch/tensor.h:5, 2026-08-21T08:25:16,879 from include/litetorch/ops.h:4, 2026-08-21T08:25:16,880 from src/ops/linear.cpp:1: 2026-08-21T08:25:16,881 /usr/include/c++/12/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const long long int&}; _Tp = long long int; _Alloc = std::allocator]’: 2026-08-21T08:25:16,882 /usr/include/c++/12/bits/vector.tcc:439:7: note: parameter passing for argument of type ‘std::vector::iterator’ changed in GCC 7.1 2026-08-21T08:25:16,882 439 | vector<_Tp, _Alloc>:: 2026-08-21T08:25:16,883 | ^~~~~~~~~~~~~~~~~~~ 2026-08-21T08:25:20,410 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/cl_backend.cpp -o build/objs/cl_backend.o 2026-08-21T08:25:21,302 In file included from /usr/include/c++/12/vector:64: 2026-08-21T08:25:21,303 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:25:21,304 inlined from ‘std::shared_ptr litetorch::Ops::matmul(std::shared_ptr, std::shared_ptr)’ at src/ops/linear.cpp:121:34: 2026-08-21T08:25:21,305 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:25:21,306 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:25:21,307 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:25:21,310 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:25:21,311 inlined from ‘std::shared_ptr litetorch::Ops::matmul(std::shared_ptr, std::shared_ptr)’ at src/ops/linear.cpp:132:28: 2026-08-21T08:25:21,312 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:25:21,314 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:25:21,315 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:25:21,316 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:25:21,317 inlined from ‘std::shared_ptr litetorch::Ops::matmul(std::shared_ptr, std::shared_ptr)’ at src/ops/linear.cpp:133:28: 2026-08-21T08:25:21,318 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:25:21,320 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:25:21,321 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:25:23,635 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/tensor/tensor_core.cpp -o build/objs/tensor/tensor_core.o 2026-08-21T08:25:23,966 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:25:23,967 inlined from ‘std::shared_ptr litetorch::Ops::squeeze(std::shared_ptr, int64_t)’ at src/ops/elementwise.cpp:1465:36: 2026-08-21T08:25:23,968 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:25:23,969 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:25:23,970 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:25:23,971 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:25:23,972 inlined from ‘std::shared_ptr litetorch::Ops::squeeze(std::shared_ptr, int64_t)’ at src/ops/elementwise.cpp:1472:36: 2026-08-21T08:25:23,973 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:25:23,974 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:25:23,974 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:25:24,335 In member function ‘void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:25:24,336 inlined from ‘void std::vector<_Tp, _Alloc>::push_back(value_type&&) [with _Tp = long long int; _Alloc = std::allocator]’ at /usr/include/c++/12/bits/stl_vector.h:1294:21, 2026-08-21T08:25:24,337 inlined from ‘std::shared_ptr litetorch::Ops::unsqueeze(std::shared_ptr, int64_t)’ at src/ops/elementwise.cpp:1506:32: 2026-08-21T08:25:24,338 /usr/include/c++/12/bits/vector.tcc:123:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:25:24,339 123 | _M_realloc_insert(end(), std::forward<_Args>(__args)...); 2026-08-21T08:25:24,339 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2026-08-21T08:25:24,340 In member function ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = long long int; _Alloc = std::allocator]’, 2026-08-21T08:25:24,341 inlined from ‘std::shared_ptr litetorch::Ops::unsqueeze(std::shared_ptr, int64_t)’ at src/ops/elementwise.cpp:1509:32: 2026-08-21T08:25:24,342 /usr/include/c++/12/bits/stl_vector.h:1287:28: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator >’ changed in GCC 7.1 2026-08-21T08:25:24,343 1287 | _M_realloc_insert(end(), __x); 2026-08-21T08:25:24,344 | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ 2026-08-21T08:25:24,822 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/tensor/storage.cpp -o build/objs/tensor/storage.o 2026-08-21T08:25:24,934 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/memory_manager/memory_manager.cpp -o build/objs/memory_manager/memory_manager.o 2026-08-21T08:25:30,004 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/memory_manager/allocator.cpp -o build/objs/memory_manager/allocator.o 2026-08-21T08:25:30,292 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/data/dataloader.cpp -o build/objs/data/dataloader.o 2026-08-21T08:25:32,232 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/data/dataset.cpp -o build/objs/data/dataset.o 2026-08-21T08:25:34,367 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/serialization/parameters.cpp -o build/objs/serialization/parameters.o 2026-08-21T08:25:37,121 g++ -std=c++14 -O3 -fPIC -Iinclude -c src/serialization/optimizer.cpp -o build/objs/serialization/optimizer.o 2026-08-21T08:25:47,410 g++ -shared -lpthread -ldl build/objs/optim/sgd.o build/objs/optim/zero3_optimizer.o build/objs/optim/cosine_annealing.o build/objs/optim/adam.o build/objs/optim/adamw_fp8.o build/objs/optim/grad_scaler.o build/objs/optim/optimizer.o build/objs/optim/adamw_8bit.o build/objs/optim/adamw.o build/objs/optim/steplr.o build/objs/optim/rmsprop.o build/objs/backend/backend.o build/objs/autograd.o build/objs/memory_manager.o build/objs/autograd/autograd_engine.o build/objs/autograd/saved_tensor.o build/objs/autograd/checkpoint.o build/objs/nn/loss.o build/objs/nn/llm_serving.o build/objs/nn/moe.o build/objs/nn/transformer.o build/objs/nn/qlora.o build/objs/nn/parallel_linear.o build/objs/nn/attention.o build/objs/nn/pooling.o build/objs/nn/container.o build/objs/nn/dropout.o build/objs/nn/normalization.o build/objs/nn/activation.o build/objs/nn/embedding.o build/objs/nn/linear.o build/objs/nn/convolution.o build/objs/data.o build/objs/ops.o build/objs/optim.o build/objs/cl_backend/cl_functions.o build/objs/cl_backend/command_graph.o build/objs/cl_backend/cl_backend.o build/objs/llm/continuous_batching.o build/objs/llm/guided_decoding.o build/objs/llm/medusa.o build/objs/tensor.o build/objs/distributed/context_parallel.o build/objs/distributed/distributed.o build/objs/distributed/shm_ipc.o build/objs/distributed/fsdp_wrapper.o build/objs/nn.o build/objs/serialization.o build/objs/ops/scaled_matmul.o build/objs/ops/fused_loss.o build/objs/ops/loss.o build/objs/ops/w8a8_ops.o build/objs/ops/custom_ops.o build/objs/ops/attention.o build/objs/ops/kernels.o build/objs/ops/jit.o build/objs/ops/cast.o build/objs/ops/pooling.o build/objs/ops/moe_ops.o build/objs/ops/normalization.o build/objs/ops/elementwise.o build/objs/ops/activation.o build/objs/ops/quantization_ops.o build/objs/ops/clip_grad.o build/objs/ops/ring_attention.o build/objs/ops/flash_decoding.o build/objs/ops/checkpoint.o build/objs/ops/linear.o build/objs/ops/rope.o build/objs/ops/convolution.o build/objs/cl_backend.o build/objs/tensor/tensor_core.o build/objs/tensor/storage.o build/objs/memory_manager/memory_manager.o build/objs/memory_manager/allocator.o build/objs/data/dataloader.o build/objs/data/dataset.o build/objs/serialization/parameters.o build/objs/serialization/optimizer.o -o build/liblitetorch.so 2026-08-21T08:25:48,060 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c flagcheck.cpp -o flagcheck.o -std=c++17 2026-08-21T08:25:48,139 building 'litetorch' extension 2026-08-21T08:25:48,163 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fwrapv -O2 -fPIC -I/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include -I/tmp/pip-build-env-k9s8k55i/overlay/local/lib/python3.11/dist-packages/pybind11/include -I/usr/include/python3.11 -c /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/autograd.cpp -o build/temp.linux-armv7l-cpython-311/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/autograd.o -std=c++17 -fvisibility=hidden -g0 -std=c++14 -O3 2026-08-21T08:25:50,611 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fwrapv -O2 -fPIC -I/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include -I/tmp/pip-build-env-k9s8k55i/overlay/local/lib/python3.11/dist-packages/pybind11/include -I/usr/include/python3.11 -c /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/autograd/autograd_engine.cpp -o build/temp.linux-armv7l-cpython-311/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/autograd/autograd_engine.o -std=c++17 -fvisibility=hidden -g0 -std=c++14 -O3 2026-08-21T08:25:56,698 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fwrapv -O2 -fPIC -I/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include -I/tmp/pip-build-env-k9s8k55i/overlay/local/lib/python3.11/dist-packages/pybind11/include -I/usr/include/python3.11 -c /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/autograd/checkpoint.cpp -o build/temp.linux-armv7l-cpython-311/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/autograd/checkpoint.o -std=c++17 -fvisibility=hidden -g0 -std=c++14 -O3 2026-08-21T08:26:00,839 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fwrapv -O2 -fPIC -I/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include -I/tmp/pip-build-env-k9s8k55i/overlay/local/lib/python3.11/dist-packages/pybind11/include -I/usr/include/python3.11 -c /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/autograd/saved_tensor.cpp -o build/temp.linux-armv7l-cpython-311/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/autograd/saved_tensor.o -std=c++17 -fvisibility=hidden -g0 -std=c++14 -O3 2026-08-21T08:26:03,499 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fwrapv -O2 -fPIC -I/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include -I/tmp/pip-build-env-k9s8k55i/overlay/local/lib/python3.11/dist-packages/pybind11/include -I/usr/include/python3.11 -c /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/backend/backend.cpp -o build/temp.linux-armv7l-cpython-311/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/backend/backend.o -std=c++17 -fvisibility=hidden -g0 -std=c++14 -O3 2026-08-21T08:26:06,483 arm-linux-gnueabihf-g++ -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fwrapv -O2 -fPIC -I/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include -I/tmp/pip-build-env-k9s8k55i/overlay/local/lib/python3.11/dist-packages/pybind11/include -I/usr/include/python3.11 -c /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/bindings/python_bindings.cpp -o build/temp.linux-armv7l-cpython-311/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/bindings/python_bindings.o -std=c++17 -fvisibility=hidden -g0 -std=c++14 -O3 2026-08-21T08:26:13,470 In file included from /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include/litetorch/dtensor.h:5, 2026-08-21T08:26:13,470 from /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/bindings/python_bindings.cpp:23: 2026-08-21T08:26:13,471 /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include/litetorch/device_mesh.h: In constructor ‘litetorch::distributed::DeviceMesh::DeviceMesh(const std::vector&, const std::string&)’: 2026-08-21T08:26:13,472 /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include/litetorch/device_mesh.h:13:22: warning: ‘litetorch::distributed::DeviceMesh::mesh_shape’ will be initialized after [-Wreorder] 2026-08-21T08:26:13,472 13 | std::vector mesh_shape; 2026-08-21T08:26:13,473 | ^~~~~~~~~~ 2026-08-21T08:26:13,474 /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include/litetorch/device_mesh.h:12:17: warning: ‘std::string litetorch::distributed::DeviceMesh::mesh_dim_names’ [-Wreorder] 2026-08-21T08:26:13,475 12 | std::string mesh_dim_names; 2026-08-21T08:26:13,475 | ^~~~~~~~~~~~~~ 2026-08-21T08:26:13,476 /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include/litetorch/device_mesh.h:16:5: warning: when initialized here [-Wreorder] 2026-08-21T08:26:13,477 16 | DeviceMesh(const std::vector& shape, const std::string& dim_names) 2026-08-21T08:26:13,478 | ^~~~~~~~~~ 2026-08-21T08:28:15,939 virtual memory exhausted: Cannot allocate memory 2026-08-21T08:28:16,098 error: Command '['arm-linux-gnueabihf-g++', '-Wsign-compare', '-DNDEBUG', '-g', '-fwrapv', '-O2', '-Wall', '-g', '-fwrapv', '-O2', '-fPIC', '-I/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/include', '-I/tmp/pip-build-env-k9s8k55i/overlay/local/lib/python3.11/dist-packages/pybind11/include', '-I/usr/include/python3.11', '-c', '/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/bindings/python_bindings.cpp', '-o', 'build/temp.linux-armv7l-cpython-311/tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12/src/bindings/python_bindings.o', '-std=c++17', '-fvisibility=hidden', '-g0', '-std=c++14', '-O3']' returned non-zero exit status 1. 2026-08-21T08:28:16,183 ERROR: [present-rich] Building wheel for litetorch (pyproject.toml) exited with 1 2026-08-21T08:28:16,197 [bold magenta]full command[/]: [blue]/usr/bin/python3 /usr/lib/python3/dist-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /tmp/tmpe1b8_yx0[/] 2026-08-21T08:28:16,197 [bold magenta]cwd[/]: /tmp/pip-wheel-3nlzvdpq/litetorch_fc91509e42e642c7b57f907b7280ea12 2026-08-21T08:28:16,198 Building wheel for litetorch (pyproject.toml): finished with status 'error' 2026-08-21T08:28:16,201 ERROR: Failed building wheel for litetorch 2026-08-21T08:28:16,203 Failed to build litetorch 2026-08-21T08:28:16,204 ERROR: Failed to build one or more wheels 2026-08-21T08:28:16,206 Exception information: 2026-08-21T08:28:16,206 Traceback (most recent call last): 2026-08-21T08:28:16,206 File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper 2026-08-21T08:28:16,206 status = run_func(*args) 2026-08-21T08:28:16,206 ^^^^^^^^^^^^^^^ 2026-08-21T08:28:16,206 File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 247, in wrapper 2026-08-21T08:28:16,206 return func(self, options, args) 2026-08-21T08:28:16,206 ^^^^^^^^^^^^^^^^^^^^^^^^^ 2026-08-21T08:28:16,206 File "/usr/lib/python3/dist-packages/pip/_internal/commands/wheel.py", line 201, in run 2026-08-21T08:28:16,206 raise CommandError("Failed to build one or more wheels") 2026-08-21T08:28:16,206 pip._internal.exceptions.CommandError: Failed to build one or more wheels 2026-08-21T08:28:16,210 Removed build tracker: '/tmp/pip-build-tracker-7q1is9xl'