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 AI/microsoft_phi-silica-3.6_v1/azure_foundry_deploy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""
r"""
Azure AI Foundry (Managed Online Endpoint) deployment for Phi-3.x + LoRA adapter.
- Registers LoRA adapter as a model asset (if given a local path)
- Creates a managed online endpoint and GPU deployment
Expand Down
1 change: 0 additions & 1 deletion AI/microsoft_phi-silica-3.6_v1/python mcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def __init__(self):
endpoint = "https://models.github.ai/inference",
credential = AzureKeyCredential(os.environ["GITHUB_TOKEN"]),
api_version = "2024-12-01-preview",
api_version = "2024-08-01-preview",
)

async def connect_stdio_server(self, server_id: str, command: str, args: list[str], env: Dict[str, str]):
Expand Down
2 changes: 2 additions & 0 deletions AI/microsoft_phi-silica-3.6_v1/scripts/train_lora.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,8 @@ def on_evaluate(self, args, state, control, metrics=None, **kwargs):
pass
except Exception:
# Swallow unexpected callback errors
pass

is_streaming = is_iterable_dataset(train_ds)
# Remove 'messages' column so only tokenized output is kept
# Note: IterableDataset.map() has limited parameter support compared to Dataset.map()
Expand Down
Loading
Loading