{"id":19001318,"url":"https://github.com/oneflow-inc/oneflow-insiders","last_synced_at":"2026-02-24T00:41:31.058Z","repository":{"id":103034308,"uuid":"281943316","full_name":"Oneflow-Inc/oneflow-insiders","owner":"Oneflow-Inc","description":"Repo to collect issues of OneFlow early adopters","archived":false,"fork":false,"pushed_at":"2020-07-23T12:38:43.000Z","size":4,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-01T18:27:43.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oneflow-Inc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-23T12:18:53.000Z","updated_at":"2020-07-23T12:38:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3bfa024-5e5e-4738-9443-b3bf8f4965de","html_url":"https://github.com/Oneflow-Inc/oneflow-insiders","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oneflow-Inc%2Foneflow-insiders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oneflow-Inc%2Foneflow-insiders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oneflow-Inc%2Foneflow-insiders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oneflow-Inc%2Foneflow-insiders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oneflow-Inc","download_url":"https://codeload.github.com/Oneflow-Inc/oneflow-insiders/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240020261,"owners_count":19735161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T18:10:44.378Z","updated_at":"2025-10-30T07:01:40.460Z","avatar_url":"https://github.com/Oneflow-Inc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# OneFlow Insiders\nRepo to collect issues of OneFlow early adopters\n\n# Troubleshooting\n\n- `CUDNN_STATUS_NOT_INITIALIZED`\n    - You might see error message like this: \n        ```\n        F0723 19:05:56.194067 40970 cuda_util.cpp:82] Check failed: error == CUDNN_STATUS_SUCCESS (1 vs. 0) CUDNN_STATUS_NOT_INITIALIZED\n        ```\n    - Please upgrade to Nvidia Linux x86_64 driver version \u003e= 440.33\n    - For more information, please refer to [cuda compatibility docs](https://docs.nvidia.com/deploy/cuda-compatibility/index.html).\n\n- Failed to compile `.cu` files\n    - Please refer to [CUDA System Requirements](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements) . Make sure your linux distribution and libraries shipped with it meet the requirements.\n    - If you are using tools like conda, please make sure libraries you install doesn't shade the proper installation comes with linux distribution or package management like apt-get.\n    - Please build OneFlow with a newer version of CMake. You could download version 3.14 from here: [https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-Linux-x86_64.tar.gz](https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-Linux-x86_64.tar.gz)\n\n- How do I know what compilers and flags are used to compile OneFlow?\n    - run `make clean \u0026\u0026 make VERBOSE=1` to get exact compile commands with compiler path and flags\n\n- How to compile OneFlow with RDMA support?\n    - add cmake flag `-DBUILD_RDMA` to compile OneFlow\n\n- SWIG not found\n    - Usually you could install it with a package manager like apt-get. You can also build it from source. Refer to [SWIG official release](http://www.swig.org/download.html)\n\n- Which version of g++ CMake is using to build OneFlow?\n    - You should find a line like this in CMake output:\n\n        ```bash\n        -- CMAKE_CXX_COMPILER_VERSION: [YOUR G++ VERSION NUMBER]\n        ```\n\n- Failed to compile NCCL\n    - Try use less threads when compiling OneFlow third party. For instance, use\n\n        ```bash\n        cmake -DTHIRD_PARTY=ON .. \u0026\u0026 make\n        ```\n\n        instead of \n\n        ```bash\n        cmake -DTHIRD_PARTY=ON .. \u0026\u0026 make -j$(nproc) `\n        ```\n\n- `\"CUDA_VERSION\" \"VERSION_GREATER_EQUAL\" \"10.0\"`\n    - Please use a newer version of CMake\n    - Make sure cmake is correctly included in `PATH`\n\n- CUBLAS not found\n    - Usually it happens when using CUDA 10.1 or newer\n    - You should see error massage by CMake like this:\n\n        ```\n        cuda lib not found: /usr/local/miniconda3/envs/dl/lib/libcublas_static.a or\n        /usr/local/cuda/lib64/libcublas_static.a\n        ```\n\n    - Make sure `libcublas_static.a` is in one of the two directories.\n\n- When running OneFlow in gdb, there is no debug information for code location.\n    - add cmake flag `-DCMAKE_BUILD_TYPE=RELWITHDEBINFO` or `-DCMAKE_BUILD_TYPE=DEBUG` and recompile\n\n- `libof_ccobj.a: File truncated`\n    - You might see error message like this: \n\n        ```\n        /usr/bin/ar: libof_ccobj.a: File truncated\n        make[2]: *** [libof_ccobj.a] Error 1\n        make[2]: *** Deleting file `libof_ccobj.a'\n        make[1]: *** [CMakeFiles/of_ccobj.dir/all] Error 2\n        make: *** [all] Error 2\n        ```\n\n    - You should upgrade your GNU Binutils. Version 2.33.1 is recommended. If you are using conda, you could install it by running `conda install -c conda-forge binutils`\n\n- failed to compile because C++ 17 is enabled\n    - In some cases, environment variable `CXXFLAGS` is not empty and contains `--std c++17`.\n    - Check if it is empty by running `echo $CXXFLAGS` and clear it with `unset CXXFLAGS`.\n\n- cmake outputs error `No CMAKE_ASM_NASM_COMPILER could be found.`\n    - Install `nasm`. For instance, run `sudo yum install nasm` if you are on centos.\n\n- `No module named 'google.protobuf'`\n    - You might see error message like this:\n        ```\n        Scanning dependencies of target generate_api\n        ...\n            from google.protobuf import descriptor as _descriptor\n        ModuleNotFoundError: No module named 'google.protobuf'\n        CMakeFiles/generate_api.dir/build.make:57: recipe for target 'CMakeFiles/generate_api' failed\n        make[2]: *** [CMakeFiles/generate_api] Error 1\n        ```\n    - Install development dependencies by running:\n        ```\n        pip3 install -r dev-requirements.txt\n        ```\n\n- get gdb warning `ptrace: Operation not permitted.` and gdb command `bt` prints no backtrace\n    - You might get this warning when debugging OneFlow with gdb inside a docker container. Try add these flags when launching your container:\n        ```\n        docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined\n        ```\n    - Please refer to https://stackoverflow.com/questions/19215177/how-to-solve-ptrace-operation-not-permitted-when-trying-to-attach-gdb-to-a-pro\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneflow-inc%2Foneflow-insiders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foneflow-inc%2Foneflow-insiders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneflow-inc%2Foneflow-insiders/lists"}