hugpy-utilities 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hugpy_utilities-0.1.0/PKG-INFO +58 -0
- hugpy_utilities-0.1.0/README.md +42 -0
- hugpy_utilities-0.1.0/pyproject.toml +23 -0
- hugpy_utilities-0.1.0/setup.cfg +4 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/__init__.py +13 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/admission.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/admission_knobs.json +65 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/architecture.json +339 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/audit.json +27 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/bool_words.json +28 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/classification.json +300 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/comfy.json +37 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/completeness.json +91 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/context.json +45 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/context_knobs.json +81 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/cpu.json +7 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/cpu_knobs.json +34 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/drive_roles.json +14 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/drives.json +36 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/engines.json +37 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/formats.json +340 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/gguf.json +684 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/gpu_memory_bandwidth.json +116 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/hardware.json +149 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/identity.json +25 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/installation.json +13 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/math.json +139 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/memory.json +30 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/memory_constants.json +92 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/models_db.json +633 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/placement.json +616 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/placement_knobs.json +302 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/placements.json +81 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/platform.json +44 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/quality_reductions.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/registry.json +22 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/resources.json +267 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/setting_types.json +92 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/_.json +4 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/00-shared/_.json +5 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/00-shared/fields[]/00-hf_token.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/00-shared/fields[]/01-civitai_token.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/00-shared/fields[]/02-env_files.json +11 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/_.json +5 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/00-model_paths.json +15 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/01-model_paths_only.json +13 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/02-central_folders.json +13 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/03-worker_folders.json +13 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/04-immutable_folders.json +13 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/05-discovery_database.json +17 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/06-discovery_output.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/07-resolve_identities.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/08-identity_offline.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/09-inspector_host.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/10-peer_host.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/11-peer_port.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/12-upload_from_external.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/13-inspector_port.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/14-models_db.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/15-consolidate_central.json +11 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/16-discovery_drives.json +47 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/01-discovery/fields[]/17-discovery_database_enabled.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/02-database/_.json +5 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/02-database/fields[]/00-database_backend.json +14 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/02-database/fields[]/01-postgres_host.json +11 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/02-database/fields[]/02-postgres_port.json +13 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/02-database/fields[]/03-postgres_database.json +11 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/02-database/fields[]/04-postgres_user.json +11 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/02-database/fields[]/05-postgres_password.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/02-database/fields[]/06-sqlite_databases.json +29 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/02-database/fields[]/07-postgres_connections.json +58 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/03-wrapper/_.json +5 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/03-wrapper/fields[]/00-assist_model.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/03-wrapper/fields[]/01-drive_roles.json +13 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/03-wrapper/fields[]/02-drive_budgets.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/03-wrapper/fields[]/03-upload_to_worker.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/03-wrapper/fields[]/04-reap_to_fit.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/00-domains/value/03-wrapper/fields[]/05-copy_to_central.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/01-local_config.json +9 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/_.json +4 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/00-HUGPY_HOME.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/01-HUGPY_CORE_DB.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/02-HUGPY_CORE_URL.json +17 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/03-WRAPPER_FRONT_DOOR.json +13 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/04-WRAPPER_COPY_TO_CENTRAL.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/05-WRAPPER_UPLOAD_TO_WORKER.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/06-WRAPPER_REAP_TO_FIT.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/07-WRAPPER_CENTRAL_DRIVES.json +14 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/08-WRAPPER_MODELS_DRIVES.json +16 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/09-WRAPPER_IMMUTABLE_DRIVES.json +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/settings/02-environment_keys/value[]/10-WRAPPER_STORAGE_MAX_GIB.json +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/tensor_dtypes.json +152 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/tensor_modules.json +367 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/tensors.json +131 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/text.json +196 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/timing.json +116 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/timing_constants.json +20 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/timing_tiers.json +18 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/tool_calls.json +108 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/transfer.json +45 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/units.json +30 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/validation.json +15 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/TERMS/vocab.json +182 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/__init__.py +39 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/classes/__init__.py +24 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/classes/database.py +49 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/classes/errors.py +74 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/classes/http.py +316 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/classes/nvml.py +45 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/classes/thinking.py +77 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/classes/tool_calls.py +53 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/__init__.py +36 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/admission.py +17 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/architecture.py +84 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/audit.py +6 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/comfy.py +15 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/context.py +35 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/cpu.py +17 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/drives.py +24 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/engines.py +15 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/formats.py +113 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/gguf.py +88 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/hardware.py +48 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/identity.py +16 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/math.py +79 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/memory.py +31 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/models_db.py +66 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/placement.py +177 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/platform.py +32 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/tensors.py +53 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/terms.py +263 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/text.py +85 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/timing.py +37 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/tool_calls.py +22 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/transfer.py +28 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/constants/validation.py +52 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/__init__.py +247 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/answer_checks.py +218 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/application_paths.py +180 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/ast_utils.py +32 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/auto_tolerances.py +29 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/binary_data.py +58 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/block_io.py +148 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/bnb4_build.py +218 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/byte_units.py +189 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/cache.py +101 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/comfy_metadata.py +113 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/component_config.py +61 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/configuration.py +35 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/configuration_maps.py +162 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/content_proofs.py +87 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/cpu_activity.py +64 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/cuda_weight_transfer.py +143 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/desktop_entry.py +46 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/devices.py +15 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/discovery_inventory.py +99 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/disk_mmap_maps.py +298 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/driver_files.py +91 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/engine_metadata.py +53 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/engine_probes.py +227 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/engine_requests.py +151 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/env_values.py +36 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/evidence.py +45 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/executables.py +62 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/feasibility.py +138 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/file_events.py +98 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/file_transfer.py +296 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/file_types.py +278 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/filesystem.py +38 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/filesystems.py +70 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/fleet_compute.py +193 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/formatting.py +69 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/generated_media.py +80 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/geometry.py +225 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/gguf_cache.py +70 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/gguf_headers.py +337 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/gguf_layer_stream.py +367 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/gguf_moe.py +368 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/gguf_packing.py +56 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/gguf_structure.py +304 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/gguf_variants.py +136 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/gpu_allocations.py +559 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/guest_mailbox.py +188 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/hardware_inventory.py +274 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/hashing.py +24 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/host_memory.py +140 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/host_resources.py +388 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/http_auth.py +89 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/image_analysis.py +74 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/image_appearance.py +23 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/inference_children.py +125 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/inference_timings.py +194 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/json_http.py +171 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/json_rows.py +83 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/json_scavenge.py +86 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/kv_cache.py +53 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/kv_cells.py +32 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/layer_delivery.py +591 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/layer_signals.py +224 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/layer_streaming.py +537 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/layer_trace.py +69 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/llama_weight_schedules.py +144 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/load_manifest.py +177 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/local_models.py +90 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/memory.py +30 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/messages.py +43 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/model_classification.py +306 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/model_config.py +237 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/model_files.py +107 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/model_precalc.py +383 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/model_stage_bridge.py +211 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/model_stage_decoder.py +149 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/model_stage_worker.py +44 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/native/llama_weight_graph.cpp +87 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/nvml.py +222 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/openai_protocol.py +48 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/packing_maps.py +300 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/path_containment.py +43 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/paths.py +69 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/pipeline_mmap.py +160 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/placement.py +39 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/placement_space.py +216 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/ports.py +74 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/postgres_record.py +193 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/prepared_gguf.py +283 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/process_identity.py +66 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/process_touched.py +44 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/processes.py +188 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/profile_metadata.py +39 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/progressive_codec.py +134 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/progressive_expert.py +600 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/public_media.py +222 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/python_environments.py +116 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/quantization.py +58 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/quantized_lineage.py +145 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/reading_records.py +70 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/reap_plan.py +119 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/recurrent_state.py +40 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/remote_code.py +65 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/requirements.py +211 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/resource_registry.py +782 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/resource_speeds.py +84 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/row_history.py +85 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/row_values.py +38 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/runtime.py +244 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/safetensors.py +205 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/safetensors_packing.py +45 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/search.py +152 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/selected_artifacts.py +358 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/settings_table.py +70 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/source_fingerprints.py +31 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/split_files.py +75 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/sqlite.py +127 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/sqlite_callbacks.py +88 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/sqlite_connections.py +101 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/stage_pipeline.py +105 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/state.py +48 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/store_layout.py +182 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/structured_data.py +23 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/system_readings.py +253 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/system_service.py +448 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/tensor_categories.py +191 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/tensor_files.py +210 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/tensor_modules.py +247 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/tensors.py +33 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/terminal_text.py +28 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/test_isolation.py +262 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/text.py +112 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/thinking.py +52 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/timing.py +635 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/tool_calls.py +98 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/tool_deltas.py +30 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/transformer_facts.py +361 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/units.py +32 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/unrouted.py +111 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/urls.py +30 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/vacancy_lineage.py +540 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/video_download.py +202 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/wan_original.py +125 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/weight_schedules.py +88 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/weight_trace.py +39 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/weight_transfer.py +125 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/weights_kind.py +191 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/worker_memory.py +47 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/functions/worker_plans.py +207 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/init_imports.py +97 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/module_imports.py +11 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/imports/resource_registry.json +235 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities/lazy_imports.py +10 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities.egg-info/PKG-INFO +58 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities.egg-info/SOURCES.txt +313 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities.egg-info/dependency_links.txt +1 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities.egg-info/requires.txt +12 -0
- hugpy_utilities-0.1.0/src/hugpy_utilities.egg-info/top_level.txt +1 -0
- hugpy_utilities-0.1.0/tests/test_byte_units.py +61 -0
- hugpy_utilities-0.1.0/tests/test_byte_units_proof.py +184 -0
- hugpy_utilities-0.1.0/tests/test_component_config.py +31 -0
- hugpy_utilities-0.1.0/tests/test_deterministic_tiers.py +147 -0
- hugpy_utilities-0.1.0/tests/test_environment_requirements.py +25 -0
- hugpy_utilities-0.1.0/tests/test_host_resources.py +51 -0
- hugpy_utilities-0.1.0/tests/test_model_classification.py +101 -0
- hugpy_utilities-0.1.0/tests/test_model_precalc.py +121 -0
- hugpy_utilities-0.1.0/tests/test_pass_on.py +122 -0
- hugpy_utilities-0.1.0/tests/test_pipeline_columns.py +53 -0
- hugpy_utilities-0.1.0/tests/test_placement_space.py +82 -0
- hugpy_utilities-0.1.0/tests/test_progressive_expert.py +143 -0
- hugpy_utilities-0.1.0/tests/test_safe_endpoint.py +9 -0
- hugpy_utilities-0.1.0/tests/test_saved_weight_plans.py +359 -0
- hugpy_utilities-0.1.0/tests/test_spill_vector.py +87 -0
- hugpy_utilities-0.1.0/tests/test_split_files.py +29 -0
- hugpy_utilities-0.1.0/tests/test_tensor_modules.py +90 -0
- hugpy_utilities-0.1.0/tests/test_unrouted.py +35 -0
- hugpy_utilities-0.1.0/tests/test_vacancy_lineage.py +110 -0
- hugpy_utilities-0.1.0/tests/test_wan_original.py +27 -0
- hugpy_utilities-0.1.0/tests/test_weights_kind.py +32 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: hugpy-utilities
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Shared generic utilities, file inspection and model resource evidence contracts
|
|
5
|
+
Requires-Python: >=3.9
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: abstract_essentials>=0.0.0.31
|
|
8
|
+
Requires-Dist: abstract_search>=0.1.9
|
|
9
|
+
Provides-Extra: inspection
|
|
10
|
+
Requires-Dist: sentencepiece>=0.2; extra == "inspection"
|
|
11
|
+
Requires-Dist: protobuf>=4; extra == "inspection"
|
|
12
|
+
Provides-Extra: progressive
|
|
13
|
+
Requires-Dist: numpy>=1.22; extra == "progressive"
|
|
14
|
+
Provides-Extra: yaml
|
|
15
|
+
Requires-Dist: PyYAML; extra == "yaml"
|
|
16
|
+
|
|
17
|
+
# hugpy-utilities
|
|
18
|
+
|
|
19
|
+
Hugpy Utilities is the shared function library used by Discovery, Wrapper, Core and other Hugpy packages. It supplies the vocabulary and calculations that let a model record, a memory estimate and a placement decision use the same units and definitions.
|
|
20
|
+
|
|
21
|
+
## Installation
|
|
22
|
+
|
|
23
|
+
Install the base distribution for the shared functions. The `inspection` extra adds tokenizer inspection dependencies. The `yaml` extra adds YAML support.
|
|
24
|
+
|
|
25
|
+
```sh
|
|
26
|
+
python -m pip install hugpy-utilities
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Quick start
|
|
30
|
+
|
|
31
|
+
Calculate the stored payload of a dense tensor from its shape and element width.
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
from hugpy_utilities.imports import tensor_bytes
|
|
35
|
+
|
|
36
|
+
payload = tensor_bytes((32, 128), 2)
|
|
37
|
+
print(payload) # 8192 bytes
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Working with resource evidence
|
|
41
|
+
|
|
42
|
+
| Task | What the library supplies |
|
|
43
|
+
| --- | --- |
|
|
44
|
+
| Inspect a model directory | Readers for GGUF and safetensors headers, model configuration, tensor shapes and stored types |
|
|
45
|
+
| Estimate a placement | Tensor and KV-cache sizing, device budgets, layer allocation and resource bounds |
|
|
46
|
+
| Read or publish state | Filesystem, hashing, SQLite, settings and HTTP functions shared by the services |
|
|
47
|
+
| Inspect a fleet | `compute_snapshot` joins Core’s worker feed with its serving catalog. `compute_action` sends a worker or model operation through the caller’s authenticated connection. |
|
|
48
|
+
| Interpret a record | Typed terms, units, domain settings and human-readable definitions |
|
|
49
|
+
|
|
50
|
+
A tensor payload accounts for stored elements. A runtime peak also depends on context, representation, allocator overhead and backend workspaces. Keep missing bounds explicit when deciding whether a model fits.
|
|
51
|
+
|
|
52
|
+
## Integration
|
|
53
|
+
|
|
54
|
+
Import individual names from `hugpy_utilities.imports`. In a Hugpy service, expose the names once in the service’s `imports/module_imports.py`. Consumers can then use the same implementation through their package’s import boundary. Source contributors can find the term definitions under `src/hugpy_utilities/imports/TERMS/`.
|
|
55
|
+
|
|
56
|
+
## Shared imports
|
|
57
|
+
|
|
58
|
+
Service packages expose the functions they use through their own imports module. This keeps model inspection, hashing and placement calculations consistent across producers and consumers. For example, Discovery records evidence from model files, Wrapper uses those facts when selecting a placement, and Core reads the worker’s published results. Callers that need to distinguish a missing measurement from a measured zero should preserve that distinction throughout.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# hugpy-utilities
|
|
2
|
+
|
|
3
|
+
Hugpy Utilities is the shared function library used by Discovery, Wrapper, Core and other Hugpy packages. It supplies the vocabulary and calculations that let a model record, a memory estimate and a placement decision use the same units and definitions.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Install the base distribution for the shared functions. The `inspection` extra adds tokenizer inspection dependencies. The `yaml` extra adds YAML support.
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
python -m pip install hugpy-utilities
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Quick start
|
|
14
|
+
|
|
15
|
+
Calculate the stored payload of a dense tensor from its shape and element width.
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
from hugpy_utilities.imports import tensor_bytes
|
|
19
|
+
|
|
20
|
+
payload = tensor_bytes((32, 128), 2)
|
|
21
|
+
print(payload) # 8192 bytes
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Working with resource evidence
|
|
25
|
+
|
|
26
|
+
| Task | What the library supplies |
|
|
27
|
+
| --- | --- |
|
|
28
|
+
| Inspect a model directory | Readers for GGUF and safetensors headers, model configuration, tensor shapes and stored types |
|
|
29
|
+
| Estimate a placement | Tensor and KV-cache sizing, device budgets, layer allocation and resource bounds |
|
|
30
|
+
| Read or publish state | Filesystem, hashing, SQLite, settings and HTTP functions shared by the services |
|
|
31
|
+
| Inspect a fleet | `compute_snapshot` joins Core’s worker feed with its serving catalog. `compute_action` sends a worker or model operation through the caller’s authenticated connection. |
|
|
32
|
+
| Interpret a record | Typed terms, units, domain settings and human-readable definitions |
|
|
33
|
+
|
|
34
|
+
A tensor payload accounts for stored elements. A runtime peak also depends on context, representation, allocator overhead and backend workspaces. Keep missing bounds explicit when deciding whether a model fits.
|
|
35
|
+
|
|
36
|
+
## Integration
|
|
37
|
+
|
|
38
|
+
Import individual names from `hugpy_utilities.imports`. In a Hugpy service, expose the names once in the service’s `imports/module_imports.py`. Consumers can then use the same implementation through their package’s import boundary. Source contributors can find the term definitions under `src/hugpy_utilities/imports/TERMS/`.
|
|
39
|
+
|
|
40
|
+
## Shared imports
|
|
41
|
+
|
|
42
|
+
Service packages expose the functions they use through their own imports module. This keeps model inspection, hashing and placement calculations consistent across producers and consumers. For example, Discovery records evidence from model files, Wrapper uses those facts when selecting a placement, and Core reads the worker’s published results. Callers that need to distinguish a missing measurement from a measured zero should preserve that distinction throughout.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "hugpy-utilities"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Shared generic utilities, file inspection and model resource evidence contracts"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
dependencies = ["abstract_essentials>=0.0.0.31", "abstract_search>=0.1.9"]
|
|
12
|
+
|
|
13
|
+
[tool.setuptools.packages.find]
|
|
14
|
+
where = ["src"]
|
|
15
|
+
|
|
16
|
+
[project.optional-dependencies]
|
|
17
|
+
inspection = ["sentencepiece>=0.2", "protobuf>=4"]
|
|
18
|
+
progressive = ["numpy>=1.22"]
|
|
19
|
+
yaml = ["PyYAML"]
|
|
20
|
+
|
|
21
|
+
[tool.setuptools.package-data]
|
|
22
|
+
"hugpy_utilities.imports" = ["*.json", "TERMS/*.json", "TERMS/**/*.json"]
|
|
23
|
+
"hugpy_utilities.imports.functions" = ["native/*.cpp"]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Public exports for the hugpy-utilities package."""
|
|
2
|
+
|
|
3
|
+
from . import imports as _imports
|
|
4
|
+
|
|
5
|
+
__all__ = list(_imports.__all__)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def __getattr__(name):
|
|
9
|
+
return getattr(_imports, name)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def __dir__():
|
|
13
|
+
return sorted(set(globals()) | set(__all__))
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"max_wait_s": {
|
|
3
|
+
"label": "Max wait (seconds)",
|
|
4
|
+
"type": "int",
|
|
5
|
+
"min": 1,
|
|
6
|
+
"max": 86400,
|
|
7
|
+
"group": "admission",
|
|
8
|
+
"help": "Maximum time in seconds a queued model call may wait for admission."
|
|
9
|
+
},
|
|
10
|
+
"residency": {
|
|
11
|
+
"label": "Residency",
|
|
12
|
+
"type": "select",
|
|
13
|
+
"options": {
|
|
14
|
+
"$type": "list",
|
|
15
|
+
"items": {
|
|
16
|
+
"$ref": "admission:residency_modes"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"group": "admission",
|
|
20
|
+
"help": "static = never evicted once loaded."
|
|
21
|
+
},
|
|
22
|
+
"blocked": {
|
|
23
|
+
"label": "Blocked",
|
|
24
|
+
"type": "bool",
|
|
25
|
+
"group": "admission",
|
|
26
|
+
"help": "Refuse calls for this model on this worker."
|
|
27
|
+
},
|
|
28
|
+
"wait_before_quality": {
|
|
29
|
+
"label": "Wait before a quality change",
|
|
30
|
+
"type": "bool",
|
|
31
|
+
"group": "admission",
|
|
32
|
+
"help": "Wait (within max wait) for expected room — a call in flight finishing — before stepping to an approved alternative."
|
|
33
|
+
},
|
|
34
|
+
"fit_order": {
|
|
35
|
+
"label": "Fit order",
|
|
36
|
+
"type": "list",
|
|
37
|
+
"group": "admission",
|
|
38
|
+
"help": "Comma-separated steps for @fit: gpu-only, moe, max-gpu, 4bit-gpu-only, 4bit-max-gpu, ram-only."
|
|
39
|
+
},
|
|
40
|
+
"resident_priority": {
|
|
41
|
+
"label": "Resident priority",
|
|
42
|
+
"type": "int",
|
|
43
|
+
"min": 0,
|
|
44
|
+
"max": 1000,
|
|
45
|
+
"step": 1,
|
|
46
|
+
"widget": "slider",
|
|
47
|
+
"default": 0,
|
|
48
|
+
"group": "admission",
|
|
49
|
+
"help": "Eviction band: a higher priority resident is evicted after every lower one."
|
|
50
|
+
},
|
|
51
|
+
"latency_target_s": {
|
|
52
|
+
"label": "Latency target (s)",
|
|
53
|
+
"type": "number",
|
|
54
|
+
"min": 0,
|
|
55
|
+
"group": "admission",
|
|
56
|
+
"help": "An admission preference: a measured response estimate above it ranks after every plan within it."
|
|
57
|
+
},
|
|
58
|
+
"priority": {
|
|
59
|
+
"label": "Priority",
|
|
60
|
+
"type": "number",
|
|
61
|
+
"min": 0,
|
|
62
|
+
"group": "admission",
|
|
63
|
+
"help": "Relative admission priority for this model on the worker."
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
{
|
|
2
|
+
"transformers_gated_delta": {
|
|
3
|
+
"label": "Transformers Gated Delta",
|
|
4
|
+
"definition": "Transformers classes whose recurrent attention uses gated-delta state.",
|
|
5
|
+
"value": {
|
|
6
|
+
"$type": "tuple",
|
|
7
|
+
"items": [
|
|
8
|
+
"Qwen3_5ForCausalLM",
|
|
9
|
+
"Qwen3_5ForConditionalGeneration",
|
|
10
|
+
"Qwen3_5MoeForCausalLM",
|
|
11
|
+
"Qwen3_5MoeForConditionalGeneration",
|
|
12
|
+
"Qwen3NextForCausalLM"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"no_context_heads": {
|
|
17
|
+
"label": "No Context Heads",
|
|
18
|
+
"definition": "Transformers model-class suffixes that do not allocate autoregressive decoder context.",
|
|
19
|
+
"value": {
|
|
20
|
+
"$type": "tuple",
|
|
21
|
+
"items": [
|
|
22
|
+
"ForImageClassification",
|
|
23
|
+
"ForSemanticSegmentation",
|
|
24
|
+
"ForInstanceSegmentation",
|
|
25
|
+
"ForUniversalSegmentation",
|
|
26
|
+
"ForImageSegmentation",
|
|
27
|
+
"ForObjectDetection",
|
|
28
|
+
"ForZeroShotObjectDetection",
|
|
29
|
+
"ForDepthEstimation",
|
|
30
|
+
"ForMaskedImageModeling",
|
|
31
|
+
"ForVideoClassification",
|
|
32
|
+
"ForKeypointDetection",
|
|
33
|
+
"ForZeroShotImageClassification",
|
|
34
|
+
"ForImageTextRetrieval",
|
|
35
|
+
"ForAudioClassification",
|
|
36
|
+
"ForAudioFrameClassification",
|
|
37
|
+
"ForXVector",
|
|
38
|
+
"ForCTC",
|
|
39
|
+
"ForSequenceClassification",
|
|
40
|
+
"ForTokenClassification",
|
|
41
|
+
"ForQuestionAnswering",
|
|
42
|
+
"ForMaskedLM",
|
|
43
|
+
"ForNextSentencePrediction",
|
|
44
|
+
"ForMultipleChoice"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"dense_decoders": {
|
|
49
|
+
"label": "Dense Decoders",
|
|
50
|
+
"definition": "Recognized dense autoregressive decoder model classes.",
|
|
51
|
+
"value": {
|
|
52
|
+
"$type": "tuple",
|
|
53
|
+
"items": [
|
|
54
|
+
"LlamaForCausalLM",
|
|
55
|
+
"MistralForCausalLM",
|
|
56
|
+
"Qwen2ForCausalLM",
|
|
57
|
+
"Qwen3ForCausalLM"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"moe_decoders": {
|
|
62
|
+
"label": "Moe Decoders",
|
|
63
|
+
"definition": "MoE model classes mapped to routed/shared expert intermediate-size configuration fields.",
|
|
64
|
+
"value": {
|
|
65
|
+
"MixtralForCausalLM": {
|
|
66
|
+
"$type": "tuple",
|
|
67
|
+
"items": [
|
|
68
|
+
"intermediate_size",
|
|
69
|
+
null
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"Qwen2MoeForCausalLM": {
|
|
73
|
+
"$type": "tuple",
|
|
74
|
+
"items": [
|
|
75
|
+
"moe_intermediate_size",
|
|
76
|
+
"shared_expert_intermediate_size"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"Qwen3MoeForCausalLM": {
|
|
80
|
+
"$type": "tuple",
|
|
81
|
+
"items": [
|
|
82
|
+
"moe_intermediate_size",
|
|
83
|
+
null
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"recurrent_count_fields": {
|
|
89
|
+
"label": "Recurrent Count Fields",
|
|
90
|
+
"definition": "Model configuration lookup and architecture classification: recurrent count fields.",
|
|
91
|
+
"value": {
|
|
92
|
+
"$type": "set",
|
|
93
|
+
"items": [
|
|
94
|
+
"layers",
|
|
95
|
+
"sequences",
|
|
96
|
+
"conv_history"
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"text_config_keys": {
|
|
101
|
+
"label": "Text Config Keys",
|
|
102
|
+
"definition": "Model configuration lookup and architecture classification: text config keys.",
|
|
103
|
+
"value": {
|
|
104
|
+
"$type": "tuple",
|
|
105
|
+
"items": [
|
|
106
|
+
"text_config",
|
|
107
|
+
"llm_config",
|
|
108
|
+
"language_config",
|
|
109
|
+
"decoder_config",
|
|
110
|
+
"decoder"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"decoder_layer_keys": {
|
|
115
|
+
"label": "Decoder Layer Keys",
|
|
116
|
+
"definition": "Model configuration lookup and architecture classification: decoder layer keys.",
|
|
117
|
+
"value": {
|
|
118
|
+
"$type": "tuple",
|
|
119
|
+
"items": [
|
|
120
|
+
"num_decoder_layers",
|
|
121
|
+
"decoder_layers",
|
|
122
|
+
"num_hidden_layers",
|
|
123
|
+
"num_layers",
|
|
124
|
+
"n_layer"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"model_layer_keys": {
|
|
129
|
+
"label": "Model Layer Keys",
|
|
130
|
+
"definition": "Model configuration lookup and architecture classification: model layer keys.",
|
|
131
|
+
"value": {
|
|
132
|
+
"$type": "tuple",
|
|
133
|
+
"items": [
|
|
134
|
+
"num_hidden_layers",
|
|
135
|
+
"num_decoder_layers",
|
|
136
|
+
"decoder_layers",
|
|
137
|
+
"num_layers",
|
|
138
|
+
"n_layer"
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"decoder_attention_head_keys": {
|
|
143
|
+
"label": "Decoder Attention Head Keys",
|
|
144
|
+
"definition": "Model configuration lookup and architecture classification: decoder attention head keys.",
|
|
145
|
+
"value": {
|
|
146
|
+
"$type": "tuple",
|
|
147
|
+
"items": [
|
|
148
|
+
"decoder_attention_heads",
|
|
149
|
+
"num_attention_heads",
|
|
150
|
+
"num_heads",
|
|
151
|
+
"n_head"
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"attention_head_keys": {
|
|
156
|
+
"label": "Attention Head Keys",
|
|
157
|
+
"definition": "Model configuration lookup and architecture classification: attention head keys.",
|
|
158
|
+
"value": {
|
|
159
|
+
"$type": "tuple",
|
|
160
|
+
"items": [
|
|
161
|
+
"num_attention_heads",
|
|
162
|
+
"decoder_attention_heads",
|
|
163
|
+
"num_heads",
|
|
164
|
+
"n_head"
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"kv_head_keys": {
|
|
169
|
+
"label": "Kv Head Keys",
|
|
170
|
+
"definition": "Model configuration lookup and architecture classification: kv head keys.",
|
|
171
|
+
"value": {
|
|
172
|
+
"$type": "tuple",
|
|
173
|
+
"items": [
|
|
174
|
+
"num_key_value_heads",
|
|
175
|
+
"num_kv_heads"
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"head_dim_keys": {
|
|
180
|
+
"label": "Head Dim Keys",
|
|
181
|
+
"definition": "Model configuration lookup and architecture classification: head dim keys.",
|
|
182
|
+
"value": {
|
|
183
|
+
"$type": "tuple",
|
|
184
|
+
"items": [
|
|
185
|
+
"head_dim",
|
|
186
|
+
"d_kv"
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"hidden_size_keys": {
|
|
191
|
+
"label": "Hidden Size Keys",
|
|
192
|
+
"definition": "Model configuration lookup and architecture classification: hidden size keys.",
|
|
193
|
+
"value": {
|
|
194
|
+
"$type": "tuple",
|
|
195
|
+
"items": [
|
|
196
|
+
"hidden_size",
|
|
197
|
+
"d_model",
|
|
198
|
+
"n_embd"
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"attention_layer_types": {
|
|
203
|
+
"label": "Attention Layer Types",
|
|
204
|
+
"definition": "Model configuration lookup and architecture classification: attention layer types.",
|
|
205
|
+
"value": {
|
|
206
|
+
"$type": "set",
|
|
207
|
+
"items": [
|
|
208
|
+
"full_attention",
|
|
209
|
+
"attention",
|
|
210
|
+
"sliding_attention"
|
|
211
|
+
]
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"recurrent_layer_types": {
|
|
215
|
+
"label": "Recurrent Layer Types",
|
|
216
|
+
"definition": "Model configuration lookup and architecture classification: recurrent layer types.",
|
|
217
|
+
"value": {
|
|
218
|
+
"$type": "set",
|
|
219
|
+
"items": [
|
|
220
|
+
"linear_attention",
|
|
221
|
+
"mamba"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
"recurrent_model_types": {
|
|
226
|
+
"label": "Recurrent Model Types",
|
|
227
|
+
"definition": "Model configuration lookup and architecture classification: recurrent model types.",
|
|
228
|
+
"value": {
|
|
229
|
+
"$type": "tuple",
|
|
230
|
+
"items": [
|
|
231
|
+
"mamba",
|
|
232
|
+
"qwen3_next",
|
|
233
|
+
"qwen3next",
|
|
234
|
+
"qwen3_5",
|
|
235
|
+
"qwen3_6"
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"context_length_keys": {
|
|
240
|
+
"label": "Context Length Keys",
|
|
241
|
+
"definition": "Model configuration lookup and architecture classification: context length keys.",
|
|
242
|
+
"value": {
|
|
243
|
+
"$type": "tuple",
|
|
244
|
+
"items": [
|
|
245
|
+
"max_position_embeddings",
|
|
246
|
+
"max_target_positions",
|
|
247
|
+
"n_positions"
|
|
248
|
+
]
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"linear_state_keys": {
|
|
252
|
+
"label": "Linear State Keys",
|
|
253
|
+
"definition": "Model configuration lookup and architecture classification: linear state keys.",
|
|
254
|
+
"value": {
|
|
255
|
+
"$type": "tuple",
|
|
256
|
+
"items": [
|
|
257
|
+
"linear_num_value_heads",
|
|
258
|
+
"linear_num_key_heads",
|
|
259
|
+
"linear_key_head_dim",
|
|
260
|
+
"linear_value_head_dim",
|
|
261
|
+
"linear_conv_kernel_dim"
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"unsupported_output_flags": {
|
|
266
|
+
"label": "Unsupported Output Flags",
|
|
267
|
+
"definition": "Model configuration lookup and architecture classification: unsupported output flags.",
|
|
268
|
+
"value": {
|
|
269
|
+
"$type": "tuple",
|
|
270
|
+
"items": [
|
|
271
|
+
"output_attentions",
|
|
272
|
+
"output_hidden_states"
|
|
273
|
+
]
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"expert_count_keys": {
|
|
277
|
+
"label": "Expert Count Keys",
|
|
278
|
+
"definition": "Model configuration lookup and architecture classification: expert count keys.",
|
|
279
|
+
"value": {
|
|
280
|
+
"$type": "tuple",
|
|
281
|
+
"items": [
|
|
282
|
+
"num_experts",
|
|
283
|
+
"num_local_experts",
|
|
284
|
+
"n_routed_experts"
|
|
285
|
+
]
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"runtime_dense_geometry_fields": {
|
|
289
|
+
"label": "Runtime Dense Geometry Fields",
|
|
290
|
+
"definition": "Model configuration lookup and architecture classification: runtime dense geometry fields.",
|
|
291
|
+
"value": {
|
|
292
|
+
"$type": "tuple",
|
|
293
|
+
"items": [
|
|
294
|
+
"hidden_size",
|
|
295
|
+
"attention_heads",
|
|
296
|
+
"kv_heads",
|
|
297
|
+
"key_dim",
|
|
298
|
+
"value_dim",
|
|
299
|
+
"vocab_size",
|
|
300
|
+
"layers"
|
|
301
|
+
]
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"runtime_expert_geometry_fields": {
|
|
305
|
+
"label": "Runtime Expert Geometry Fields",
|
|
306
|
+
"definition": "Model configuration lookup and architecture classification: runtime expert geometry fields.",
|
|
307
|
+
"value": {
|
|
308
|
+
"$type": "tuple",
|
|
309
|
+
"items": [
|
|
310
|
+
"experts",
|
|
311
|
+
"experts_per_token",
|
|
312
|
+
"expert_intermediate_size"
|
|
313
|
+
]
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"runtime_dense_dtypes": {
|
|
317
|
+
"label": "Runtime Dense Dtypes",
|
|
318
|
+
"definition": "Model configuration lookup and architecture classification: runtime dense dtypes.",
|
|
319
|
+
"value": {
|
|
320
|
+
"$type": "tuple",
|
|
321
|
+
"items": [
|
|
322
|
+
"f16",
|
|
323
|
+
"bf16"
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"n_params": {
|
|
328
|
+
"definition": "Total model parameter count, from the tensor inventory or the provider safetensors metadata."
|
|
329
|
+
},
|
|
330
|
+
"has_chat_template": {
|
|
331
|
+
"definition": "Whether the model ships a chat template (tokenizer_config/chat_template), so it can be prompted as a chat model."
|
|
332
|
+
},
|
|
333
|
+
"has_tools": {
|
|
334
|
+
"definition": "Whether the model advertises tool/function-calling support in its chat template."
|
|
335
|
+
},
|
|
336
|
+
"has_reasoning": {
|
|
337
|
+
"definition": "Whether the model advertises a reasoning/thinking mode in its chat template."
|
|
338
|
+
}
|
|
339
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"history_table": {
|
|
3
|
+
"label": "History table",
|
|
4
|
+
"definition": "SQLite table storing prior row versions for row history triggers.",
|
|
5
|
+
"value": "record_history"
|
|
6
|
+
},
|
|
7
|
+
"history_volatile_columns": {
|
|
8
|
+
"label": "Volatile history columns",
|
|
9
|
+
"definition": "Bookkeeping timestamp columns ignored when deciding whether a row materially changed.",
|
|
10
|
+
"value": {
|
|
11
|
+
"$type": "frozenset",
|
|
12
|
+
"items": [
|
|
13
|
+
"derived_at",
|
|
14
|
+
"derived_at_local",
|
|
15
|
+
"updated_at",
|
|
16
|
+
"seen_at",
|
|
17
|
+
"observed_at",
|
|
18
|
+
"fetched_at"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"history_chunk": {
|
|
23
|
+
"label": "History JSON chunk",
|
|
24
|
+
"definition": "Maximum columns per json_object call for SQLite compatibility.",
|
|
25
|
+
"value": 60
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"true": {
|
|
3
|
+
"label": "True",
|
|
4
|
+
"definition": "The words read as true in typed input, saved settings and environment values.",
|
|
5
|
+
"value": {
|
|
6
|
+
"$type": "tuple",
|
|
7
|
+
"items": [
|
|
8
|
+
"1",
|
|
9
|
+
"true",
|
|
10
|
+
"yes",
|
|
11
|
+
"on"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"false": {
|
|
16
|
+
"label": "False",
|
|
17
|
+
"definition": "The words read as false in typed input, saved settings and environment values.",
|
|
18
|
+
"value": {
|
|
19
|
+
"$type": "tuple",
|
|
20
|
+
"items": [
|
|
21
|
+
"0",
|
|
22
|
+
"false",
|
|
23
|
+
"no",
|
|
24
|
+
"off"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|