Giter Club home page Giter Club logo

Comments (7)

yonger001 avatar yonger001 commented on August 10, 2024

@phojjat Have u fix the problem? I met the same one, waiting for ur reply!
thank u so much!

from jetson-reinforcement.

Victorsoukhov avatar Victorsoukhov commented on August 10, 2024

Have the same problem... Any suggestions?

from jetson-reinforcement.

T-Si avatar T-Si commented on August 10, 2024

Jetson TX1 with JetPack 3.3 and L4T 28.2:

[ 8%] Building NVCC (Device) object CMakeFiles/THC.dir/generated/THC_generated_THCTensorMaskedByte.cu.o
Killed
CMake Error at THC_generated_THCTensorMode.cu.o.cmake:267 (message):
Error generating file
/home/nvidia/jetson-reinforcement/build/pytorch/torch/lib/build/THC/CMakeFiles/THC.dir//./THC_generated_THCTensorMode.cu.o

CMakeFiles/THC.dir/build.make:11356: recipe for target 'CMakeFiles/THC.dir/THC_generated_THCTensorMode.cu.o' failed
make[2]: *** [CMakeFiles/THC.dir/THC_generated_THCTensorMode.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/THC.dir/all' failed
make[1]: *** [CMakeFiles/THC.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

During the build of PyTorch, this is the error that I receive. Looking at the code referenced,

if(CUDA_result)

Since nvcc can sometimes leave half done files make sure that we delete the output file.

cuda_execute_process(
"Removing ${generated_file}"
COMMAND "${CMAKE_COMMAND}" -E remove "${generated_file}"
)
message(FATAL_ERROR "Error generating file ${generated_file}")
else()
...

Is there something I can do to allow PyTorch to continue?
After flashing the TX1, I did install arduino, if that might have caused an issue.

from jetson-reinforcement.

dusty-nv avatar dusty-nv commented on August 10, 2024

from jetson-reinforcement.

qwertypo888 avatar qwertypo888 commented on August 10, 2024

I am having the same problem on TX2. I tried mounting a swap file following the instruction, but I am still having the same error. Any suggestions? Thanks!
'''
[ 36%] Built target jetson-utils
[ 38%] Building CXX object CMakeFiles/jetson-reinforcement.dir/c/pyTensor.cpp.o
In file included from /home/nvidia/Documents/../jetson-reinforcement/c/pyTensor.cpp:6:0:
/home/nvidia/Documents/../jetson-reinforcement/c/pyTorch.h:14:19: fatal error: TH/TH.h: No such file or directory
compilation terminated.
CMakeFiles/jetson-reinforcement.dir/build.make:251: recipe for target 'CMakeFiles/jetson-reinforcement.dir/c/pyTensor.cpp.o' failed
make[2]: *** [CMakeFiles/jetson-reinforcement.dir/c/pyTensor.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/jetson-reinforcement.dir/all' failed
make[1]: *** [CMakeFiles/jetson-reinforcement.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
'''

from jetson-reinforcement.

brunoeducsantos avatar brunoeducsantos commented on August 10, 2024

I am having the same issue. Anyone sorted out?

from jetson-reinforcement.

brunoeducsantos avatar brunoeducsantos commented on August 10, 2024

I guess everyone found the solution , but here it goes:

  1. Install pytorch0.3.01 first
  2. Move to opt/ dir
  3. make on build of project

from jetson-reinforcement.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.