Replies: 10 comments 18 replies
-
|
AI4C的样本需要基于DimensionGeneralizationSource和DataTypeGeneralizationSource这两个表格。具体来说,我们把源自于同一个original_graph_uuid的多个generalized_graph_uuid聚合成一个ai4c样本。 |
Beta Was this translation helpful? Give feedback.
-
|
GraphSample(里面把整图和子图全部放在一起了)下分了sample_type,路径上应该也要体现出来还是拼接路径(这些不同类型的子图应该分不同文件夹) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Repo :=
DataBaseRecord
* $repo_uid str # 不是uuid,当前简单地设置为offical就行
* $repo_type str # github, huggingface
* $repo_name str # GraphNet, ...
* $repo_url str #
GraphSample :=
DataBaseRecord
* $uuid str
* $repo_uid str
* $relative_model_path str # indexing
* $sample_type str # full_graph, typical_graph, fusible_graph, sole_op_graph
* $num_ops int
* $graph_hash str # indexing
* $order_value int # indexing
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
SubgraphSource :=
DataBaseRecord
* $subgraph_uuid str # indexing
* $full_graph_uuid str # indexing
* $range_start int
* $range_end int
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
DimensionGeneralizationSource :=
DataBaseRecord
* $generalized_graph_uuid str # indexing
* $original_graph_uuid str # indexing
* $order_value int
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
DataTypeGeneralizationSource :=
DataBaseRecord
* $generalized_graph_uuid str # indexing
* $original_graph_uuid str # indexing
* $data_type str # float16, bfloat16
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
这里把repo信息单独提出来了。 |
Beta Was this translation helpful? Give feedback.
-
Repo :=
DataBaseRecord
* $repo_uid str # 不是uuid
* $repo_type str # github, huggingface
* $repo_name str # GraphNet, ...
* $repo_url str #
GraphSample :=
DataBaseRecord
* $uuid str
* $repo_uid str
* $relative_model_path str # indexing
* $sample_type str # full_graph, typical_graph, fusible_graph, sole_op_graph
* $is_subgraph bool
* $num_ops int
* $graph_hash str # indexing
* $order_value int # indexing
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
SubgraphSource :=
DataBaseRecord
* $subgraph_uuid str # indexing
* $full_graph_uuid str # indexing
* $range_start int
* $range_end int
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
DimensionGeneralizationSource :=
DataBaseRecord
* $generalized_graph_uuid str # indexing
* $original_graph_uuid str # indexing
* $order_value int
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
DataTypeGeneralizationSource :=
DataBaseRecord
* $generalized_graph_uuid str # indexing
* $original_graph_uuid str # indexing
* $data_type str # float16, bfloat16
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
|
Beta Was this translation helpful? Give feedback.
-
Repo :=
DataBaseRecord
* $repo_uid str # 不是uuid
* $repo_type str # github, huggingface
* $repo_name str # GraphNet, ...
* $repo_url str #
GraphSample :=
DataBaseRecord
* $uuid str
* $repo_uid str
* $relative_model_path str # indexing
* $sample_type str # full_graph, typical_graph, fusible_graph, sole_op_graph
* $is_subgraph bool
* $num_ops int
* $graph_hash str # indexing
* $order_value int # indexing
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
SubgraphSource :=
DataBaseRecord
* $subgraph_uuid str # indexing
* $full_graph_uuid str # indexing
* $range_start int
* $range_end int
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
DimensionGeneralizationSource :=
DataBaseRecord
* $generalized_graph_uuid str # indexing
* $original_graph_uuid str # indexing
* $total_element_size int64 # indexing
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
DataTypeGeneralizationSource :=
DataBaseRecord
* $generalized_graph_uuid str # indexing
* $original_graph_uuid str # indexing
* $data_type str # float16, bfloat16
* $create_at datatime
* $deleted bool # default False
* $delete_at datatime
|
Beta Was this translation helpful? Give feedback.
-
|
schema迁移管理 Migrate :=
DataBaseRecord
* $id (AUTO_INCREMENT int)
* $script_name str # 对应GraphNet/sqlite/migrates/$script_name.py脚本
* $apply_at datatime
* $applied bool # default false
* $create_at datetime
* $deleted bool |
Beta Was this translation helpful? Give feedback.
-
MigrateSchema :=
void
<- $script_name str
<- $modify_tables (void <- $script_name str)
<- $is_applied (bool <- $script_name str)
<- $update_migrate_table (void <- $script_name str) |
Beta Was this translation helpful? Give feedback.
-
|
反向图关联表,反向图可以和整图,经典子图,可融合子图,单算子子图一一对应,产出对应的样本为前向 + 反向 BackwardGraphSource :=
DataBaseRecord
* $forward_graph_uuid str # indexing, GraphSample (Fwd)
* $backward_graph_uuid str # indexing, GraphSample (Bwd)
* $original_graph_uuid str # indexing, GraphSample(original)
* $create_at datetime
* $deleted bool # default False
* $delete_at datetime |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions