Code Monkey home page Code Monkey logo

Comments (1)

zou3519 avatar zou3519 commented on June 16, 2024

I installed the LTC prototype as well as an XLA backend and ran all of our tests on CPU using XLA.

Only a few tests failed:

  • test_per_sample_grads_embeddingnet_cpu
  • test_resnet18_per_sample_grads_cpu
  • test_maml_omniglot_cpu

The per_sample_grad tests failed with incorrect values, which means that something fishy might be going on (or a batching rule may be implemented incorrectly)

The test_maml_omniglot_cpu test failed with an internal assert in XLA

E       RuntimeError: Internal: From /job:localservice/replica:0/task:0:
E       2 root error(s) found.
E         (0) Internal: RET_CHECK failure (tensorflow/compiler/xla/service/cpu/ir_emitter.cc:3211) ShapeUtil::SameElementType(operands[0]->shape(), operand->sh
ape())
E                [[{{node XRTCompile}}]]
E         (1) Internal: RET_CHECK failure (tensorflow/compiler/xla/service/cpu/ir_emitter.cc:3211) ShapeUtil::SameElementType(operands[0]->shape(), operand->sh
ape())
E                [[{{node XRTCompile}}]]
E                [[XRTCompile_G6]]
E       0 successful operations.
E       0 derived errors ignored.
E       Recent warning and error logs:
E         Internal: RET_CHECK failure (tensorflow/compiler/xla/service/cpu/ir_emitter.cc:3211) ShapeUtil::SameElementType(operands[0]->shape(), operand->shape(
))
E       *** Begin stack trace ***
E               tensorflow::CurrentStackTrace[abi:cxx11]()
E
E               xla::status_macros::MakeErrorStream::Impl::GetStatus()
E               xla::cpu::IrEmitter::ElementTypesSameAndSupported(xla::HloInstruction const&, absl::lts_2020_02_25::Span<xla::HloInstruction const* const>, abs
l::lts_2020_02_25::Span<xla::PrimitiveType const>)
E               xla::cpu::IrEmitter::HandleDot(xla:
E         OP_REQUIRES failed at xrt_compile_ops.cc:215 : Internal: RET_CHECK failure (tensorflow/compiler/xla/service/cpu/ir_emitter.cc:3211) ShapeUtil::SameEl
ementType(operands[0]->shape(), operand->shape())

/raid/rzou/pt/ltc/torch/nn/functional.py:1847: RuntimeError

from functorch.

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.