Skip to content

Potential REL sharding issue #450

Open
@peter-axion

Description

@peter-axion

I use spacy-llm for RAG, so I have integrated pretty deeply into it and 0.7.0 broke my method of prompt generation. In the process of fixing it, I've noticed something that may be a more general bug.

The REL shard reducer unpacks RelationItem objects from each shard into a single vector.

The comment in the code says this is fine, but RelationItem objects include the entity index of the dep/dest of the relationship. I think that's going to be 0-based for each shard, so the unpacked list will not have the right relationships for all shards after the first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeat/shardingEverything related to sharding/map-reduce.feat/taskFeature: tasks

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions