Soulknife is available as a rogue subclass in Unearthed Arcana: Psionic Options Revisited. One of its 3rd-level features is Psychic Blades, which states:
When you are about to make a melee or ranged weapon attack against a creature, you can manifest a psychic blade from your free hand and make the attack with that blade. This magic blade is a simple melee weapon with the finesse and thrown properties.
This appears to be a one-handed weapon (as "free hand" is singular), which means it qualifies for the +2 damage from the Dueling fighting style (assuming your other hand is not holding a weapon). In this case, assume the rogue took one level of fighter for Dueling. After this psychic blade attack:
The blade vanishes immediately after it hits or misses its target
Psychic Blades also allows for a bonus action attack:
After you attack with the blade, you can make a melee or ranged weapon attack with a second psychic blade as a bonus action on the same turn, provided your other hand is free to create it.
Assuming you started your attacks with both hands free: can both the normal and bonus action Psychic Blades attacks qualify for the Dueling fighting style?