Armed militias are threatening the security and stability of Libya, Amnesty International has warned.
The human rights group says at least 12 detainees held by militias have died after being tortured since September.
The report is being released to coincide with the one-year anniversary on Friday of the revolt that toppled Libyan leader Muammar Gaddafi.
Last month, the UN said about 8,000 pro-Gaddafi supporters were being held by militia groups.
The interim government has said it is trying to reassert authority, but correspondents say it has largely failed to rein in the groups.'Nobody responsible'According to Amnesty, some groups of former rebels are committing human rights violations with impunity, unchecked by the interim government.
"Nobody is holding these militias responsible," Donatella Rovera, senior crisis response adviser at Amnesty International, told AP news agency.
The report cites detainees who said they been suspended in contorted positions, beaten for hours with whips, cables, plastic hoses, metal chains and bars, and given electric shocks with live wires and taser-like electroshock weapons.
In one detention centre, in Tripoli, investigators found severely tortured detainees who interrogators tried to conceal, Amnesty said. The report is based on research conducted in Libya in January and February.
The group noted that African migrants and refugees - who were accused during the conflict of being "mercenaries" for Muammar Gaddafi - were among those being abused.
Militias have also been responsible for fatal clashes in Tripoli and fighting in other towns in recent months.
On Tuesday, thousands of fighters from across western Libya held a parade in the capital, displaying heavy machine guns and rocket launchers, and firing rifles in the air.
In the past month, the BBC has seen corroborating evidence of torture in Misrata, Libya's third city, as well as the town of Gharyan, south of the capital Tripoli.
In January, the BBC saw the corpse of a man whose body bore the marks of torture, including beating and electric shocks.
On Friday, there will be celebrations across the country to mark the one-year anniversary of the start of the revolution that - it was hoped - would usher in a new era.
There is now a real fear that some of the very men who - with the support of Nato - fought the battle to topple the old regime, are now jeopardising the country's future.