Skip to content

Commit

Permalink
fixed mypy ignore for some strange linux issue
Browse files Browse the repository at this point in the history
  • Loading branch information
RichJackson committed Oct 24, 2024
1 parent 64c9ffb commit 2efd307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/examples/annotate_with_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def instantiate_workers(self) -> List[ObjectRef]: # type: ignore[type-arg]

def _instantiate_worker(self) -> ObjectRef: # type: ignore[type-arg]
PipelineQueueWorkerActor = ray.remote(RayPipelineQueueWorker)
PipelineQueueWorkerActor.options(num_cpus=1) # type: ignore[attr-defined]
PipelineQueueWorkerActor.options(num_cpus=1) # type: ignore[attr-defined,unused-ignore]

worker: ObjectRef = PipelineQueueWorkerActor.remote(self.cfg) # type: ignore[type-arg]
worker.set_queues.remote(self.in_queue, self.out_queue) # type: ignore[attr-defined]
Expand Down

0 comments on commit 2efd307

Please sign in to comment.