Code Monkey home page Code Monkey logo

Comments (5)

patflick avatar patflick commented on July 26, 2024

Sorry, it fails the forward verification only without -t 1:

$ ./MIOpenDriver conv -H 14 -W 14 -P 1 -k 512 -c 256 -n 128 -p 0 -q 0 -u 2 -v 2 -x 1 -y 1     
MIOpenDriver: conv -H 14 -W 14 -P 1 -k 512 -c 256 -n 128 -p 0 -q 0 -u 2 -v 2 -x 1 -y 1
Forward Convolution Failed: 0.206861
^C

from miopen.

dagamayank avatar dagamayank commented on July 26, 2024

Closing this for now as the common problem is missing synchronization without -t 1 flag. This is the same issue as #12

from miopen.

patflick avatar patflick commented on July 26, 2024

Even with the -t 1 flag, it still hangs indefinitely. The failed verification was just an additional thing.

from miopen.

dagamayank avatar dagamayank commented on July 26, 2024

@patflick I narrowed it down to a bug in the Direct algorithm. If you disable the Direct algorithm with this env. variable, the test passes.
MIOPEN_DEBUG_CONV_DIRECT=0

MIOPEN_DEBUG_CONV_DIRECT=0 ./bin/MIOpenDriver conv -H 14 -W 14 -P 1 -k 512 -c 256 -n 128 -p 0 -q 0 -u 2 -v 2 -x 1 -y 1 
MIOpenDriver: conv -H 14 -W 14 -P 1 -k 512 -c 256 -n 128 -p 0 -q 0 -u 2 -v 2 -x 1 -y 1
Forward Convolution Verifies on CPU and GPU
Backward Convolution Data Verifies on CPU and GPU
Backward Convolution Weights Verifies on CPU and GPU

But the downside is that the Direct algorithm is disabled for fwd as well resulting in slower fwd time.

Let us look into fixing it. Thanks for reporting.
cc\ @alyashev

from miopen.

dagamayank avatar dagamayank commented on July 26, 2024

Disabling Direct algorithm for all stride=2 cases fixes this issue for now 756f73f. We will update and optimize the Direct algorithm in subsequent releases.

from miopen.

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.