Skip to content

A Few Questions: Html Output, Viewing Results and Backends #649

Answered by apaszke
ted-kord asked this question in Q&A
Discussion options

You must be logged in to vote
  1. You can use dex web to open up the script in our notebook interface and dex script --outfmt html to convert a script into an HTML file that embeds the outputs. If you run dex script then any :html pragma will print <html output> since it can't be displayed in a terminal.
  2. Yes, dex script reproduces the whole script and prints the result of evaluating every top-level expression right after it. You can use dex script --outfmt result-only to change this behavior.
  3. All commands accept a --backend flag. llvm-cuda is the GPU backend while llvm-mc is the multicore CPU backend. But both can be flaky at times because we don't have full CI for them. Please open an issue if they don't work for you.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ted-kord
Comment options

Answer selected by ted-kord
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants