Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions src/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,4 @@ if workload_enabled()
precompile(tensoralloc_contract, (T, A, pA, Bool, B, pB, Bool, pAB, Val{false}))
end
end
else
@info """
TensorOperations can optionally be instructed to precompile several functions, which can be used to reduce the time to first execution (TTFX).
This is disabled by default as this can take a while on some machines, and is only relevant for contraction-heavy workloads.

To enable or disable precompilation, you can use the following script:

```julia
using TensorOperations, Preferences
set_preferences!(TensorOperations, "precompile_workload" => true; force=true)
```

This will create a `LocalPreferences.toml` file next to your current `Project.toml` file to store this setting in a persistent way.
"""
end