Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

functorch.so is installed back into the source directory #91524

Open
yurivict opened this issue Dec 30, 2022 · 0 comments
Open

functorch.so is installed back into the source directory #91524

yurivict opened this issue Dec 30, 2022 · 0 comments
Labels
module: build Build system issues module: functorch Pertaining to torch.func or pytorch/functorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@yurivict
Copy link

yurivict commented Dec 30, 2022

馃悰 Describe the bug

It installs this file:

/usr/ports/misc/py-pytorch/work/pytorch-v1.13.1/functorch/functorch.so

where /usr/ports/misc/py-pytorch/work/pytorch-v1.13.1 is a source directory it was built from.

cmake args:
-DPSIMD_SOURCE_DIR=/usr/ports/misc/py-pytorch/work/pytorch-v1.13.1/third_party/psimd -DFREEBSD_PYTHON_VER=3.9 -DPYTHON_EXECUTABLE:STRING=/usr/local/bin/python3.9 -DBUILD_PYTHON:BOOL=true -DCMAKE_C_COMPILER:STRING="cc" -DCMAKE_CXX_COMPILER:STRING="c++" -DCMAKE_C_FLAGS:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_C_FLAGS_DEBUG:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_C_FLAGS_RELEASE:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG" -DCMAKE_CXX_FLAGS:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_CXX_FLAGS_DEBUG:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " -DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG" -DCMAKE_EXE_LINKER_FLAGS:STRING=" -lexecinfo -fstack-protector-strong " -DCMAKE_MODULE_LINKER_FLAGS:STRING=" -lexecinfo -fstack-protector-strong " -DCMAKE_SHARED_LINKER_FLAGS:STRING=" -lexecinfo -fstack-protector-strong " -DCMAKE_INSTALL_PREFIX:PATH="/usr/local" -DCMAKE_BUILD_TYPE:STRING="Release" -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DFETCHCONTENT_FULLY_DISCONNECTED:BOOL=ON -DBUILD_CUSTOM_PROTOBUF:BOOL=OFF -DUSE_CUDA:BOOL=OFF -DUSE_ROCM:BOOL=OFF -DUSE_NNPACK:BOOL=OFF -DUSE_QNNPACK:BOOL=OFF -DUSE_PYTORCH_QNNPACK:BOOL=OFF -DUSE_FBGEMM:BOOL=OFF -GNinja -DPython_ADDITIONAL_VERSIONS=3.9 -DBOOST_PYTHON_SUFFIX:STRING=39

Version: 1.13.1
Python-3.9
FreeBSD 13.1

Versions

$ python3.9 ./work/pytorch-v1.13.1/torch/utils/collect_env.py
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
ROCM used to build PyTorch: N/A

OS: freebsd13
GCC version: Could not collect
Clang version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
CMake version: version 3.24.3
Libc version: N/A

Python version: 3.9.16 (main, Dec 18 2022, 01:15:32)  [Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a (64-bit runtime)
Python platform: FreeBSD-13.1-STABLE-amd64-64bit-ELF
Is CUDA available: N/A
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 2060
Nvidia driver version: 510.60.02
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: N/A

Versions of relevant libraries:
[pip3] mypy-extensions==0.4.3
[pip3] mypy-protobuf==3.3.0
[pip3] numpy==1.23.4
[conda] Could not collect

cc @malfet @seemethere @zou3519 @Chillee @samdow @soumith

@samdow samdow added module: build Build system issues triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module module: functorch Pertaining to torch.func or pytorch/functorch labels Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: build Build system issues module: functorch Pertaining to torch.func or pytorch/functorch triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

2 participants