mirror of
https://github.com/luxfi/fhe.git
synced 2026-07-26 23:16:08 +00:00
Rebrand: Remove Zama/Fhenix references
- plugins/remix: Zama → Lux CSS classes and URLs - templates/vue: Zama → Lux URLs - templates/foundry: fhenix → luxfhe remappings - templates/nuxt,miniapp: fhenix → luxfhe - js/permit: fhenixjs → luxfhejs - mocks/foundry: fhenix → luxfhe remappings - scripts/flatten-repos.sh: fhenixprotocol → luxfhe - ml/torus-ml: Update spelling dictionary
This commit is contained in:
@@ -15,7 +15,7 @@ DOCKER_VENV_PATH:="$${HOME}"/dev_venv/
|
||||
SRC_DIR:=src
|
||||
TEST?=tests
|
||||
N_CPU?=4
|
||||
TORUS_PACKAGE_PATH=$(SRC_DIR)/concrete
|
||||
TORUS_PACKAGE_PATH=$(SRC_DIR)/torus
|
||||
COUNT?=1
|
||||
RANDOMLY_SEED?=$$RANDOM
|
||||
PYTEST_OPTIONS:=
|
||||
|
||||
@@ -55,7 +55,7 @@ cli
|
||||
clientspecs
|
||||
codeblocks
|
||||
concat
|
||||
concreteestimators
|
||||
torusestimators
|
||||
config
|
||||
configs
|
||||
conv
|
||||
@@ -359,6 +359,7 @@ tokenizer
|
||||
toml
|
||||
toolkits
|
||||
torchvision
|
||||
torus
|
||||
tqdm
|
||||
traceback
|
||||
tweedie
|
||||
@@ -384,4 +385,4 @@ xgboost
|
||||
xilinx
|
||||
yaml
|
||||
yurchak
|
||||
zama
|
||||
lux
|
||||
|
||||
@@ -7,12 +7,12 @@ APIDOCS_OUTPUT="$1"
|
||||
# Clean
|
||||
rm -rf "$APIDOCS_OUTPUT"
|
||||
|
||||
# Ignore concrete.ml.quantization.qat_quantizers since
|
||||
# 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 concrete.ml.quantization.qat_quantizers \
|
||||
concrete.ml
|
||||
--ignored-modules torus.ml.quantization.qat_quantizers \
|
||||
torus.ml
|
||||
|
||||
|
||||
@@ -7,8 +7,8 @@ rm -rf "${TEST_DIR}"
|
||||
mkdir -p "${TEST_DIR}"
|
||||
|
||||
# grep -v "^\./\." is to avoid files in .hidden_directories
|
||||
# grep -v "api/concrete\.ml" is to avoid autogen API doc since lazydocs produces bad python blocks
|
||||
MD_FILES=$(find . -type f -name "*.md" | grep -v "^\./\." | grep -v "api/concrete\.ml")
|
||||
# grep -v "api/torus\.ml" is to avoid autogen API doc since lazydocs produces bad python blocks
|
||||
MD_FILES=$(find . -type f -name "*.md" | grep -v "^\./\." | grep -v "api/torus\.ml")
|
||||
|
||||
# Force NCPU to 1, since using parallel checks makes issues on linux or CI
|
||||
NCPU=1
|
||||
|
||||
@@ -154,7 +154,7 @@ for (const section of ['dependencies', 'peerDependencies', 'devDependencies']) {
|
||||
'cofhe-hardhat-plugin': '@luxfhe/hardhat-plugin',
|
||||
'cofhejs': '@luxfhe/v2-sdk',
|
||||
'cofhejs-permit': '@luxfhe/permit',
|
||||
'@fhenixprotocol/contracts': '@luxfhe/contracts',
|
||||
'@luxfhe/contracts': '@luxfhe/contracts',
|
||||
'@luxfhe/cofhe-contracts': '@luxfhe/contracts',
|
||||
'@luxfhe/cofhe-mock-contracts': '@luxfhe/mocks',
|
||||
};
|
||||
@@ -182,7 +182,7 @@ update_go_mod() {
|
||||
fi
|
||||
|
||||
log "Updating $file"
|
||||
run "sed -i '' 's|module github.com/fhenixprotocol/[^[:space:]]*|module github.com/${ORG}/${repo_name}|g' '$file'"
|
||||
run "sed -i '' 's|module github.com/luxfhe/[^[:space:]]*|module github.com/${ORG}/${repo_name}|g' '$file'"
|
||||
}
|
||||
|
||||
# Process each repo
|
||||
|
||||
Reference in New Issue
Block a user