Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .env.validator.template
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ GENERATION_BATCH_SIZE=3
DEVICE=cuda

# Other
LOGLEVEL=info
LOGLEVEL=INFO
AUTO_UPDATE=true
10 changes: 6 additions & 4 deletions docs/Discriminative-Mining.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ Follow the [Installation Guide](Installation.md) to set up your environment befo

## Model Preparation

Discriminative miners can submit models in two formats:
- **ONNX Format** - Traditional ONNX Runtime models (single .onnx file)
- **Safetensors Format** - Custom PyTorch architectures with native weights
> **⚠️ Important**: Competition submissions now require **safetensors format**. ONNX is no longer accepted.

**📖 [How to Create ONNX Models](ONNX.md)** - Guide for creating compatible ONNX models
Discriminative miners must submit models in **safetensors format**:
- Directory containing: `model_config.yaml`, `model.py`, `*.safetensors`
- ZIP archive of the directory for upload

**📖 [Safetensors Model Specification](https://github.com/bitmind-ai/gasbench/blob/main/docs/Safetensors.md)** - Requirements for model submission

You can submit models for any combination of modalities:
- `image_detector.zip` - Image classification model
Expand Down
5 changes: 5 additions & 0 deletions docs/ONNX.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ONNX Model Creation Guide

> **⚠️ DEPRECATED**: ONNX format is no longer accepted for Subnet 34 competition submissions.
> Please use **safetensors format** instead. See the [Safetensors Guide](https://github.com/bitmind-ai/gasbench/blob/main/docs/Safetensors.md) for requirements.

---

This guide explains how to create ONNX models for discriminative mining using the example scripts in `neurons/discriminator/onnx_examples`.

## Key Requirements
Expand Down
2 changes: 1 addition & 1 deletion docs/Validating.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ GENERATION_BATCH_SIZE=3
DEVICE=cuda

# Other
LOGLEVEL=info
LOGLEVEL=INFO
AUTO_UPDATE=true
```

Expand Down
2 changes: 1 addition & 1 deletion neurons/discriminator/push_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Style:
from gas.protocol.model_uploads import upload_single_modality


MODEL_UPLOAD_ENDPOINT = "https://onnx-models-worker.bitmind.workers.dev/upload"
MODEL_UPLOAD_ENDPOINT = "https://upload.bitmind.ai/upload"


def print_success(message: str):
Expand Down