GithubHelp home page GithubHelp logo

Comments (10)

byshiue avatar byshiue commented on July 18, 2024

Due to different kernel selection and kernel implementation, it often generates different results. Unless there are obvious accuracy regression, we think it is reasonable.

from tensorrt-llm.

bleedingfight avatar bleedingfight commented on July 18, 2024

@byshiue I have seen a significant decrease in the accuracy of the output results of TRT on my test set. I would like to know how you have determined that the output of TRT is reasonable.

from tensorrt-llm.

byshiue avatar byshiue commented on July 18, 2024

We use mmlu and summarization task to evaluate. Could you try reproducing the accuracy on public model and public example, sharing your reproduced steps and let us be easier to reproduce your issue?

from tensorrt-llm.

bleedingfight avatar bleedingfight commented on July 18, 2024

@byshiue Thank you very much for your reply. I'm sorry for the delayed reply. In the past few days, I have been trying to provide a Docker and minimum reproduction code. For the convenience of reproduction, I have upgraded to the latest TRT-LLM(0.11.0.dev2024051400). Now my previous code cannot produce results.
Screenshot_20240521_112648 look like this #1632

from tensorrt-llm.

byshiue avatar byshiue commented on July 18, 2024

temperature 0.0 is not a valid number in current TensorRT-LLM. Please use greedy search and don't set temperature directly, or set a very small temperature like 1e-6.

from tensorrt-llm.

bleedingfight avatar bleedingfight commented on July 18, 2024

@byshiue oI modified temperature=1e-6 according to your statement, but I found that errors occur at all times except for the first inference that produces output,self.tokenizer.batch_decode(output_ids[0, :, input_lengths[0] :])will produce error:
image
like this #1299 。but my trt-version=0.11.

from tensorrt-llm.

byshiue avatar byshiue commented on July 18, 2024

Thank you for the try. Could you share the full end to end steps to reproduce your issue? (how to convert ckpt, building engine and run the example)

from tensorrt-llm.

bleedingfight avatar bleedingfight commented on July 18, 2024

@byshiue here

from tensorrt-llm.

byshiue avatar byshiue commented on July 18, 2024

Could you share the end to end steps to reproduce your issue? It is hard for me to understand how to use the scripts you share.

from tensorrt-llm.

bleedingfight avatar bleedingfight commented on July 18, 2024

@byshiue readme.md in zip.I just start webserver for llava-trt to process the result

from tensorrt-llm.

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.