You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Program.cs 1.2 kB

1234567891011121314151617181920212223242526
  1. using LLama.Native;
  2. Console.WriteLine(
  3. """
  4. ======================================================================================================
  5. __ __ ____ __
  6. /\ \ /\ \ /\ _`\ /\ \
  7. \ \ \ \ \ \ __ ___ ___ __ \ \,\L\_\\ \ \___ __ _ __ _____
  8. \ \ \ __\ \ \ __ /'__`\ /' __` __`\ /'__`\ \/_\__ \ \ \ _ `\ /'__`\ /\`'__\/\ '__`\
  9. \ \ \L\ \\ \ \L\ \/\ \L\.\_ /\ \/\ \/\ \ /\ \L\.\_ /\ \L\ \\ \ \ \ \ /\ \L\.\_\ \ \/ \ \ \L\ \
  10. \ \____/ \ \____/\ \__/.\_\\ \_\ \_\ \_\\ \__/.\_\\ `\____\\ \_\ \_\\ \__/.\_\\ \_\ \ \ ,__/
  11. \/___/ \/___/ \/__/\/_/ \/_/\/_/\/_/ \/__/\/_/ \/_____/ \/_/\/_/ \/__/\/_/ \/_/ \ \ \/
  12. \ \_\
  13. \/_/
  14. ======================================================================================================
  15. """);
  16. NativeLibraryConfig
  17. .Instance
  18. .WithCuda()
  19. .WithLogs();
  20. NativeApi.llama_empty_call();
  21. await ExampleRunner.Run();