Giter Site home page Giter Site logo

Comments (7)

HenryChang213 avatar HenryChang213 commented on September 22, 2024

The error log looks like this: (only a part of the log due to the length)

1976/2019] Linking �[33mbuild/utils/ns3.30.1-test-runner-optimized�[0m
[1978/2019] Linking �[33mbuild/utils/ns3.30.1-print-introspected-doxygen-optimized�[0m
/usr/bin/ld: examples/traffic-control/red-vs-fengadaptive.cc.3.o: in function `c10::UndefinedTensorImpl::singleton()':
red-vs-fengadaptive.cc:(.text._ZN3c1019UndefinedTensorImpl9singletonEv[_ZN3c1019UndefinedTensorImpl9singletonEv]+0xb): undefined reference to `c10::UndefinedTensorImpl::_singleton'
/usr/bin/ld: examples/traffic-control/red-vs-fengadaptive.cc.3.o: in function `c10::IValue::toDouble() const':
red-vs-fengadaptive.cc:(.text._ZNK3c106IValue8toDoubleEv[_ZNK3c106IValue8toDoubleEv]+0xd8): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/usr/bin/ld: examples/traffic-control/red-vs-fengadaptive.cc.3.o: in function `c10::IValue::toInt() const':
red-vs-fengadaptive.cc:(.text._ZNK3c106IValue5toIntEv[_ZNK3c106IValue5toIntEv]+0xd8): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/usr/bin/ld: examples/traffic-control/red-vs-fengadaptive.cc.3.o: in function `c10::IValue::toTensor() const &':
red-vs-fengadaptive.cc:(.text._ZNKR3c106IValue8toTensorEv[_ZNKR3c106IValue8toTensorEv]+0xfa): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/usr/bin/ld: examples/traffic-control/red-vs-fengadaptive.cc.3.o: in function `c10::intrusive_ptr<c10::TensorImpl, c10::UndefinedTensorImpl>::retain_()':
red-vs-fengadaptive.cc:(.text._ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7retain_Ev[_ZN3c1013intrusive_ptrINS_10TensorImplENS_19UndefinedTensorImplEE7retain_Ev]+0xff): undefined reference to `c10::Error::Error(c10::SourceLocation, std::string const&)'
/usr/bin/ld: lib/libns3.30.1-traffic-control-optimized.so: undefined reference to `vtable for c10::AutogradMetaInterface'
/usr/bin/ld: lib/libns3.30.1-traffic-control-optimized.so: undefined reference to `torch::nn::Module::is_serializable() const'
/usr/bin/ld: lib/libns3.30.1-traffic-control-optimized.so: undefined reference to `typeinfo for c10::AutogradMetaInterface'
/usr/bin/ld: lib/libns3.30.1-traffic-control-optimized.so: undefined reference to `torch::nn::Module::zero_grad()'
/usr/bin/ld: lib/libns3.30.1-traffic-control-optimized.so: undefined reference to `torch::nn::Module::to(c10::ScalarType, bool)'
/usr/bin/ld: lib/libns3.30.1-traffic-control-optimized.so: undefined reference to `at::GradMode::set_enabled(bool)'
/usr/bin/ld: lib/libns3.30.1-traffic-control-optimized.so: undefined reference to `caffe2::detail::TypeMetaData const* caffe2::TypeMeta::_typeMetaDataInstance<c10::BFloat16>()'

from reinforcement-learning-for-per-flow-buffer-sizing.

muxamilian avatar muxamilian commented on September 22, 2024

from reinforcement-learning-for-per-flow-buffer-sizing.

HenryChang213 avatar HenryChang213 commented on September 22, 2024

Still has the same error.

from reinforcement-learning-for-per-flow-buffer-sizing.

muxamilian avatar muxamilian commented on September 22, 2024

I’ll try to reproduce the error using a similar environment and let you know.

from reinforcement-learning-for-per-flow-buffer-sizing.

HenryChang213 avatar HenryChang213 commented on September 22, 2024

Many thanks!

from reinforcement-learning-for-per-flow-buffer-sizing.

muxamilian avatar muxamilian commented on September 22, 2024

I tried with all kinds of different compiler versions and libtorch versions but with no success. However, using Docker, I got it to run pretty easily using the same Debian version that I used originally. I added a section to the readme.

from reinforcement-learning-for-per-flow-buffer-sizing.

HenryChang213 avatar HenryChang213 commented on September 22, 2024

Thanks! I can now run successfully!

from reinforcement-learning-for-per-flow-buffer-sizing.

Related Issues (1)

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.