Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat(tf2): support spin models or add backend-aware validation

オープン
#5,876 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python, tensorflow

調査の方向性

spin が現在 NotImplementedError を発生させる TF2 モデル構築から始め、関連する backend 対応の検証、トレーニング、シリアライズ、推論の各パスを追跡します。spin の完全サポートと早期検証による拒否のいずれかを選択して文書化し、最小限の spin ケースと spin を使用しない回帰で受け入れ基準を検証します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

Summary

The common schema accepts model.spin, while TF2 model construction currently raises NotImplementedError. This creates a late backend-specific failure for a schema-valid configuration.

Scope

Choose and implement one explicit TF2 contract:

  1. support spin-aware model construction, data requirements, losses, training, serialization, and inference; or
  2. reject spin during backend-aware validation and document the limitation.

If implementation is selected, preserve the shared spin conventions for atom types, labels, forces, model outputs, and checkpoint formats.

Acceptance criteria

  • TF2 spin configurations either train/infer correctly or fail during backend-aware validation.
  • The current late NotImplementedError is no longer the first user-visible validation.
  • Serialization and configuration round-trips preserve the selected contract.
  • Tests cover a minimal spin configuration or explicit rejection, plus a non-spin regression.
  • Documentation clearly distinguishes TF2 from legacy TensorFlow support.

Refs #5757.

Coding agent: Codex
Codex version: codex-cli 0.144.4
Model: gpt-5.6-sol
Reasoning effort: xhigh

主要言語
Python
スター
2.1k
フォーク
661
平均マージ
5日 13時間
マージ済み PR(30日)
11

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

deepmodeling/deepmd-kit のほかの issue

deepmodeling/deepmd-kit の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。