






__lowerCamelCase :      Dict										=				tuple[float, float, float]
__lowerCamelCase :      str										=				tuple[float, float, float]







def 					SCREAMING_SNAKE_CASE    (			snake_case_ :							Pointad					,  snake_case_ :							Pointad       ):
	snake_case__			:				str       =  end_pointa[0] - end_pointa[0]
	snake_case__			:				List[Any]       =  end_pointa[1] - end_pointa[1]
	snake_case__			:				List[str]       =  end_pointa[2] - end_pointa[2]
	return (x, y, z)







def 					SCREAMING_SNAKE_CASE    (			snake_case_ :							Vectorad					,  snake_case_ :							Vectorad       ):
	snake_case__			:				int       =  ab[1] * ac[2] - ab[2] * ac[1]  # *i
	snake_case__			:				List[str]       =  (ab[0] * ac[2] - ab[2] * ac[0]) * -1  # *j
	snake_case__			:				Tuple       =  ab[0] * ac[1] - ab[1] * ac[0]  # *k
	return (x, y, z)







def 					SCREAMING_SNAKE_CASE    (			snake_case_ :							Vectorad					,  snake_case_ :							int       ):
	return tuple(round(snake_case_					,  snake_case_       ) for x in vector       ) == (0, 0, 0)







def 					SCREAMING_SNAKE_CASE    (			snake_case_ :							Pointad					,  snake_case_ :							Pointad					,  snake_case_ :							Pointad					,  snake_case_ :							int = 10       ):
	snake_case__			:				Optional[Any]       =  create_vector(snake_case_					,  snake_case_       )
	snake_case__			:				int       =  create_vector(snake_case_					,  snake_case_       )
	return is_zero_vector(get_ad_vectors_cross(snake_case_					,  snake_case_       )					,  snake_case_       )











from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


__lowerCamelCase :      Any										=				{
    """configuration_instructblip""": [
        """INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """InstructBlipConfig""",
        """InstructBlipQFormerConfig""",
        """InstructBlipVisionConfig""",
    ],
    """processing_instructblip""": ["""InstructBlipProcessor"""],
}

try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	__lowerCamelCase :      List[Any]										=				[
	    """INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST""",
	    """InstructBlipQFormerModel""",
	    """InstructBlipPreTrainedModel""",
	    """InstructBlipForConditionalGeneration""",
	    """InstructBlipVisionModel""",
	]

if TYPE_CHECKING:
	from .configuration_instructblip import (
	    INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP,
	    InstructBlipConfig,
	    InstructBlipQFormerConfig,
	    InstructBlipVisionConfig,
	)
	from .processing_instructblip import InstructBlipProcessor

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_instructblip import (
		    INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST,
		    InstructBlipForConditionalGeneration,
		    InstructBlipPreTrainedModel,
		    InstructBlipQFormerModel,
		    InstructBlipVisionModel,
		)

else:
	import sys

	__lowerCamelCase :      Any										=				_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)



