mirror of
https://github.com/luxfi/torus-ml.git
synced 2026-10-30 15:15:23 +00:00
The distribution called itself torus-ml while shipping a package directory named concrete, so the name a user installs and the name they import disagreed — and most of the tree already said torus.ml, which could not resolve against src/concrete. Moved src/concrete to src/torus and pointed the include at it. The dependency was Zama's concrete-python from their index. It is torus-fhe from ours, which is what luxfhe/torus already ships: that frontend declares torus-fhe and ships a torus/fhe module, so every 'from torus.fhe' in this tree was already naming our compiler and only the dependency lagged. Two distributions share one namespace, which is the shape the upstream this forked from used and the reason the split works: torus-fhe gives torus.fhe, torus-ml gives torus.ml. Swept every other spelling — identifiers, enum members, workflow variables, filenames, notebooks. LICENSE and NOTICE keep the upstream attribution a fork owes; the figures carry the old name in JPEG metadata a text sweep cannot reach.
19 lines
395 B
Bash
Executable File
19 lines
395 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
APIDOCS_OUTPUT="$1"
|
|
|
|
# Clean
|
|
rm -rf "$APIDOCS_OUTPUT"
|
|
|
|
# Ignore torus.ml.quantization.qat_quantizers since
|
|
# brevitas has some issues with lazydocs
|
|
poetry run lazydocs --output-path="$APIDOCS_OUTPUT" \
|
|
--overview-file="README.md" \
|
|
--src-base-url="../../../" \
|
|
--no-watermark \
|
|
--ignored-modules torus.ml.quantization.qat_quantizers \
|
|
torus.ml
|
|
|