Coder Social home page Coder Social logo

Comments (3)

merrymercy avatar merrymercy commented on July 23, 2024

In Appendix C of the paper, we mention that
image

Where the first 164 elements are from the orignal Ansor paper, the additional 324 - 164 = 160 elements are from the workload embedding.
In our current open source code, we don't use LDP anymore. Instead, we use a simpler approach to get the workload embedding. The related code is

def get_workload_embedding(workload_key):
tags = ['max', 'min', 'add', 'Conv2dOutput', 'conv2d_winograd', 'DepthwiseConv2d',
'dense', 'softmax', 'compute(b, i, j)']
dag_str = str(ComputeDAG(workload_key_to_tensors(workload_key)))
vec = [0] * len(tags)
for i, tag in enumerate(tags):
if tag in dag_str:
vec[i] = 1
return vec

"in_dim": 164 + (10 if use_workload_embedding else 0),

from tenset.

wjj19950828 avatar wjj19950828 commented on July 23, 2024

In the paper, the effect of MLP+ranking loss is better than XGB+MSE, but in my experiment, the effect of MLP is not as good as XGB. Do you have any good suggestions for MLP?

from tenset.

merrymercy avatar merrymercy commented on July 23, 2024

What's your experiment setting? The results also depend on the dataset and hyperparameters.

from tenset.

Related Issues (17)

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.